| What is the difference between a Thread Priority and Thread Priority Level? (2 replies) |
| microsoft.public.dotnet.general |
| Dear all: What exactly is the difference between Thread Priorities and Thread Priority Levels? They seems to mean the same thing to me, except that Thread Priority Levels have 2 extra values: Idle and TimeCritical. Also, why can the Thread Priority Levels be "independent" of the associted Thread Priority? Does it mean the thread priority levels are the fine grade of thread priorities? Thanks very ... |
|
| Download CSV file as Recordset (2 replies) |
| microsoft.public.dotnet.general |
| Hello all, I would like to connect to a .CSV file as datasource and open it as a recordset. I know its possible but havent found any proper way in C# to do it. What provider do I need to use? Regards Fredrik |
|
| using xml config file for a library project (dll) (2 replies) |
| microsoft.public.dotnet.general |
| As it is not possilbe to use the .Net Configuration framework to have a configuration file for a dll, I would like to know about what would be the best way to read an XML file that would be my config file for my library I assume that the file would be read at startup time and that the values could be stored in proterties. But maybe you get a better idea or even code already written for this? I ass... |
|
| PostMessage in DOTNET threading (2 replies) |
| microsoft.public.dotnet.general |
| Does anyone know the equivalent of PostMessage(win32) in .NET? I need that for checking the thread states and the thread communication... Any advice would be greatly appreciated... thanks, ken |
|
| Creating a new ASP .Net project fails (2 replies) |
| microsoft.public.dotnet.general |
| Hi, When I create a new ASP.NET project, it fails and gives me a "Web Access Fail" error. and I get this: Unable to create Web project 'CC.CNET.Web.WebServices'. The file path 'D:\Projects\WebApplication' does not correspond to the URL 'http://localhost/WebApplication'. The two need to map to the same server location. HTTP Error 404: Object Not Found I am running this on windows 2003 .net .... hel... |
|
| Save graphics object to image file? (2 replies) |
| microsoft.public.dotnet.general |
| Is there an easy way to save the contents of a graphics object to an image file? Scenario: I created a graph using rectangles and lines and now I want to make a .gif file out of it. How would I accomplish this? Thanks, |
|
| .net Enterprise RC2 (2 replies) |
| microsoft.public.dotnet.general |
| I've had good results in a testing environment with the .net system and wish to go live and test it there. My question is, what should I expect to do with RC2 as an RC3 or the released version becomes available? Will I be OK with updates or should I expect to wipe the HDD and install again with the latest and greatest? IT Certification is greatly needed as I've not worked with RC versions before. An upfro... |
|
| DataGrid on a Web Form in Unbound Mode (2 replies) |
| microsoft.public.dotnet.general |
| Ok here is what I am trying to do. I have my data component and my business component. My data component grabs data from a SQL Datbase using datasets, datatables, dataadapters, etc. Then I use my business object to grab the data and apply the values to their various properties in the business object. My business object does not use datasets or anything like that it is totally disconnected from any... |
|
| Standby on .Net Server 2003 RC2 (2 replies) |
| microsoft.public.dotnet.general |
| I can't get standby or hibernate to work on .Net Server 2003 RC2 for the life of me. I tried disabling the terminal services mouse driver, even though it was not spitting that specific error at me. I know my machine is ACPI compliant and that my bios supports it. When i go to enter Standby, the machine cuts off for 1 second, then comes right back on. I also disabled the ability for the network car... |
|
| Dotnet: Deader than Xbox? (15 replies) |
| microsoft.public.dotnet.general |
| Just like I predicted, the Xbox is quickly turning into a dead duck: Xbox Sales Worse than Expected "In a statement issued Friday, Microsoft revealed what the rest of the industry had already suspected: Sales of the software giant's powerful video game system, the Xbox, are much slower than previously thought. Microsoft said that sales barely hit the bottom end of its previous forecast, and the co... |
|
| Calendar WebControl Problem ? (2 replies) |
| microsoft.public.dotnet.general |
| Hi everybody, I was just wondering if someone can tell me to what the configuration of a web control calendar is based. I thought it was based on the regional settings of my server, but I still get a damned Calendar in German With an incorrect date format but my regional settings on the server is in english.. Any idea ?? Thanks.. Fabrice |
|
| Microsoft .NET Framwork Configuration will not run (2 replies) |
| microsoft.public.dotnet.general |
| Runninn Win2k Pro SP3. When I try to run mscorcfg.msc from the menu or the command line it does not run. No error message is displayed. The Microsoft .NET Framework Wizards do work correctly. This system had the .NET runtime installed and I later installed Visual Studio .NET (C# and Crystal Reports only). Any help getting the configuration program to run would be appreciated. Bill |
|
| COM Automation (Word) object Quit (3 replies) |
| microsoft.public.dotnet.general |
| Hi there, WinXP, OfficeXP and DOTNET 7.0.9466 Why doesn't the 4th line of this sequence pass the debugger? Dim mApp As New Word.Application Dim oDoc As Word.Document mApp.Documents.Open("c:\temp\test.doc") other code mApp.Quit() Krgrds, Perry |
|
| NetworkStream writing problems (2 replies) |
| microsoft.public.dotnet.general |
| I have spent many many hours trying to get a TcpClient class to write to the network stream and nothing seems to happen. The flush command does not work and I cannot type cast the network stream to a stream writer (VB.NET). the only way to get the data out over the socket is to close the socket. If I write a.NET listener for a different port, it works fine, but when trying to write to port 25 on a... |
|
| Custom Datagrid Column (2 replies) |
| microsoft.public.dotnet.general |
| I am working on a C# ASP.NET project in which I am creating a datagrid in code behind. My datagrid has a hyperlink column, four bound columns, a simple template column and all is well so far. I now have a new requirement which I am looking for some help on. My stored proc that populates the datagrid also returns a value that I have not yet bound anywhere. The reason for this is that I don't want t... |
|
| Rename Module1 giving me an error (2 replies) |
| microsoft.public.dotnet.general |
| hi: When I renamed "Module1" to "VbCnn" and Press F5 to debug. I am getting 'Sub Main' was not found in VbCnn.Module1 in Build Error task List. What Do I need to do? Module VbCnn Sub Main() Console.WriteLine("hello") Console.ReadLine() End Sub End Module Thanks |
|
| Saving and restoring a thread' state in C# (6 replies) |
| microsoft.public.dotnet.general |
| Hi Can anyone tell me if there is any way to save the state of a suspended thread in C# and later to restore it and resume it? I think .NET does not provide any way to serialize a running thread (this would be the ideal)... I am quite desperate... Thanx in advance Nuno Santos |
|
| Eval() in VB.NET ? (2 replies) |
| microsoft.public.dotnet.general |
| Can any one please tell me, How can i Evaluate an object at runtime in VB like JScript with EVAL(). I using the following code: thumb.Save("C:\abc.gif", ImageFormat.Png) I want it: to be like thumb.Save("C:\abc.gif", Eval("ImageFormat." & varExtension) Other wise i am using Select Case for every type of File Extension. TIA NMS |
|
| Grid Component (3 replies) |
| microsoft.public.dotnet.general |
| Hi Whats the best way to implement a Grid in a .NET application? I don't neccesarily wish to bind it to any data source though, in VS6 the flexgrid was a nice control which enable this, when I try to use the FlexGrid in the .NET environment it tells me I'm not licensed to use that control? Any ideas? Thanks in advance Andy |
|
| accessing a datagrid (4 replies) |
| microsoft.public.dotnet.general |
| I'm populating a datagrid programmatically rather than having the dataadapter on the page. When I page or sort the grid, do I need to run all the code in the page load (create the SqlDataAdapter, create the dataset) again? Or could I use a dataview and reference the previously created dataset? Just wondering if the SQL server has to take a hit each time the user pages or sorts. Thanks, Dave Privat... |
|
| data set problems (2 replies) |
| microsoft.public.dotnet.general |
| I am working on creating an insurance application for my company. The user can enter the buildings that he/she owns. I am keeping all the buildings in a dataset so that they can add as many as they want. Once this is finished I am running a for loop to enter everything is a database. I set my dataset up manually as seen below: I have Dim ds as new Dataset() then ds.Tables.Add("Buildings") 'Add a n... |
|
| reflecting class name from a static method (3 replies) |
| microsoft.public.dotnet.general |
| I'm trying to get a class to tell me its name from a static method. In the trivial case, the following works: public class BaseClass { public static string GetInfo() { return System.Reflection.MethodInfo.GetCurrentMethod().DeclaringType.Name; } } Calling BaseClass.GetInfo() returns "BaseClass", as expected. But now suppose that I derive a class off of BaseClass: public class Test : BaseClass { } C... |
|
| Am I attempting the impossible? overloading property modifiers... (5 replies) |
| microsoft.public.dotnet.general |
| My class will have some properties that are enumerated types. I'd like to be able to set/read the property as usual, but also allow the calling code to set/read the propery by sending the underlying value of the type, e.g.: class Class1 { [STAThread] static void Main(string[] args) { Console.WriteLine("START:"); DoobieDoo scooby new DoobieDoo(); scooby.Side enTypes.Buy; Console.WriteLine((char)(in... |
|
| newbie question: which way to go ... (2 replies) |
| microsoft.public.dotnet.general |
| Hi all .. I've been an asp web developer for four years now and have been coding soley in VBScript ... so .Net and VB.Net is something to get used to but I am getting there! I develop Intranet applications and all of them have a drop down box that is populated with Office codes from a SQL database Locations table. So for every intranet app I create, where I need to provide the employee with a drop... |
|
| performance of .NET binary stream IO (3 replies) |
| microsoft.public.dotnet.general |
| Hello, I have an application required to read large amount of sequential binary data off a disc file in real time. After converting the application to C# with .NET. The read IO becomes intolerably slow as compared to original MFC implementation. I tried changing buffer size in FileStream with no noticeble improvement. Is there any way to improve IO performance of a .NET program? Or I have to use P... |
|