| Thread | Last Post | Replies |
|
| Calling FileStream.Create after File.Move gets old file handle | 13 Jul 2006 12:28 GMT | 4 |
Greetings all, Have a question regarding File.Move / FileStreams My steps, 1. Create file1 demo.log [FileMode.CreateNew]
|
| Debug conditional code in class that implements an interface... does it work? | 13 Jul 2006 06:45 GMT | 1 |
I'm creating some logging code, and each one of my classes has an internal static readonly instance of the logger which various methods use, e.g.: interface ILogger
|
| Using WMI to start Remote Command File | 13 Jul 2006 03:16 GMT | 3 |
I am trying to use the System.Mangement class within a c-sharp application for the purpose of starting a simple batch file on a remote machine. The error I receive is this: 1) Exception Information
|
| XmlDocument | 13 Jul 2006 03:11 GMT | 4 |
I am using an XmlDocument to save an data object hirachy to an Xml file. When I rebuild the data object hirachy, I walk through the xml node in XmlDocument and recreate the objects. How do I know the original data types for each node. Can XmlDocument associates with a schema so ...
|
| Conversion from 1.1 to 2.0 and Warnings | 13 Jul 2006 00:08 GMT | 2 |
I've converted a large .NET 1.1 app to .NET 2.0. I allowed the IDE to to the conversion, and had basically no problems at all. However, the VB.NET compiler give me several hundred Warnings, and most refer to a variable being used before it is assigned a value. I have tons of ...
|
| CPU by thread | 12 Jul 2006 22:32 GMT | 12 |
There are many examples of how to get the elapsed time for a method but I can't find any example of how to measure the amount of CPU consumed by my thread in a method. Elapsed time in a multithreaded application particularly on a single processor CPU is not very useful.
|
| Reading Application Settings using C# VS 2005 | 12 Jul 2006 17:57 GMT | 2 |
In Properties / Settings, I've got a setting (say "ExportPath") with a value (say "C:\\Tmp"). Using C#, how do you get the setting value? string settingValue = SomeNETWhatever["ExportPath"];
|
| Installing an assembly in GAC without strong name | 12 Jul 2006 17:51 GMT | 1 |
Is it possbile to install the assembly in GAC without signing it and creating the strong name? If i direclty register an assembly using gacutil /i <assembly>, it give me an error saying cannot install the assembly as it is not given a
|
| Data Reader Problem | 12 Jul 2006 17:05 GMT | 2 |
Please, anyone already see this problem ? [NullReferenceException: Object reference not set to an instance of an object.] System.Data.SqlClient.SqlDataReader.PrepareSQLRecord(Int32 i) +159
|
| Custom error message | 12 Jul 2006 17:01 GMT | 3 |
I have a singleton-class with private constructor and Instance property. It's clear that access to this class should be got by using this property. "new Class()" construction is incorrect and throws an error "can't access due to its protection level".
|
| Windows authentication over remoting... possible? | 12 Jul 2006 16:31 GMT | 14 |
I have to develop an application that will consist of a service and a windows forms application... the service could be on a distant server but I need to authenticate the user as being part of the same domain. so when the application starts, I can send something to the remote ...
|
| Passing Parameters to VB.net Application From VBScript in VSA engine- reg | 12 Jul 2006 16:01 GMT | 1 |
Dear friends, I have written a sample VB.Net application using VSA Engine Scripting . I could pass parameters from Vbscript to VB.Net application. Now all I need is to pass parameter from vb.net application to
|
| Versions of .net + visual studio | 12 Jul 2006 15:33 GMT | 5 |
I have vs2003 + framework v1.1. I would like to use the new serialport class that comes with v2.0 but just can't find a definitive explanation of visual studio and .net versions. Can I install v2.0 for use with my vs2003 or must I / should I upgrade to
|
| Assembly initializer. | 12 Jul 2006 14:12 GMT | 2 |
Is there anyway to write an assembly DLL that has an initializer that is automatically called before any other methods in the assembly? I am thinking along the lines of a DllMain similar to that which is in standard C++ DLLs.
|
| Question about Value Types | 12 Jul 2006 09:15 GMT | 5 |
Suppose I have a Value Type, implemented as a struct. Example: struct MyValueType { int Field1;
|