| Thread | Last Post | Replies |
|
| Decimal.TryParse failed in da-DK culture. | 27 Feb 2007 22:45 GMT | 1 |
I have this code that always return zero whenever i passed 1,000,00 in a da-DK culture or en-US culture. It works with amount less that 1000 like 99,99. but always returns 0 when greater than or equal to 1000. Decimal separator is ",". I suspect its because the decimal and
|
| c# cannot change registry value | 27 Feb 2007 22:30 GMT | 4 |
I have Visual Studio 2005 Express Edition. I am trying to change registry value by: RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\My_app"); key.SetValue(name_of_value, new_value_string);
|
| Dll Path | 27 Feb 2007 22:09 GMT | 4 |
How can I find the path in which a dll is executing from? I do not want the Exe path. Is there a way to get the dll path in C# - something like the output of GetModuleFileName API ?
|
| Trying to Create a Test Class for System.Data.SqlClient | 27 Feb 2007 21:52 GMT | 5 |
I have been trying to create a class similar to SqlClient but one that prints sql statements instead of running them on the database. This way when I want to go into test mode I comment out the SqlClient class and comment in the test class.
|
| Do local references destruct on method exit? | 27 Feb 2007 20:59 GMT | 4 |
(Sorry, I accidentally posted this to microsoft.public.dotnet.csharp.general, and I didn't mean to!) In the following method, a byte array is made, and then passed to Socket.BeginReceive. The byte array is local. But, presumably,
|
| Passing an Object when including a class | 27 Feb 2007 20:43 GMT | 1 |
Is there a way to pass an object when including a class? For example... namespace testclass {
|
| Visual Studio 2005 Standard Hangs with 50% CPU time. | 27 Feb 2007 20:30 GMT | 3 |
I have a 2 form project in VS2005 that now hangs whenever I try to do anything with the second form. This seems to have started when I added some SQL tables from a Pervasive v.9 database using the Pervasive ODBC driver. The devenv.exe process hangs and will not respond with about ...
|
| "Logon failure" using Invoke("SetPassword"... | 27 Feb 2007 20:28 GMT | 3 |
I know that I have posted this question before, but it is still unresolved and I don't know where to turn to next. I have code that is creating a user (works fine), then sets the account flags (works fine) and then sets the password (fails).
|
| dynamic length arrays | 27 Feb 2007 20:13 GMT | 10 |
This article: http://www.c-sharpcorner.com/UploadFile/mahesh/WorkingWithArrays11142005060354AM /WorkingWithArrays.aspx claims that "In C#, arrays can be declared as fixed length or dynamic".
|
| Trying to get a name from Active Directory with DirectoryServices | 27 Feb 2007 20:02 GMT | 4 |
Can someone tell me why I get this error? System.DirectoryServices.DirectoryServicesCOMException was unhandled Message="An operations error occurred.\r\n" Source="System.DirectoryServices"
|
| an easy install wizard for my new c# app... | 27 Feb 2007 18:30 GMT | 3 |
Anyone know the best way for me to offer an installation process for my c# app that I just completed? I need for it to install into the / program files directory and it would be nice for it to be zipped up into one executable.
|
| How do a loop this program? Learning CSharp | 27 Feb 2007 18:20 GMT | 3 |
I'm learning C# and trying to write the program below, everything works fine until the last section: Console.Write("Would you like to play again y/n: "); again = Console.ReadLine();
|
| how to scroll a webbrowser control down a page, e.g. the same as if a user hit page-down? | 27 Feb 2007 16:45 GMT | 1 |
how to scroll a webbrowser control down a page, e.g. the same as if a user hit page-down?
|
| Xml Read Single Line at a time using C# | 27 Feb 2007 16:34 GMT | 2 |
I have to extract a xml file line by line. Here is my xml Step1: <category name= "name" guid="{guid}"state="enabled"> Step2: <rules> Step3: <rule name="rule name" guid="{guid}"
|
| Looking for some sample codes in C# | 27 Feb 2007 16:22 GMT | 1 |
I am looking for some sample codes in C#, in which, it can read a schema xsd file and use it to validate an xml stream or file. Ideally the sample will use XmlValidatingReader. TIA,
|