| Thread | Last Post | Replies |
|
| double string convert | 06 Jul 2007 10:05 GMT | 2 |
When i try it like you say, he ignores the dot. For example s = "12.45"; d = double.Parse(s);
|
| .tmp is not a valid win32 resource file | 06 Jul 2007 07:15 GMT | 2 |
I am unable to compile a windows application. I am using .Net 2003.I get the error "F:\....\obj\Debug\CSC15.tmp' is not a valid Win32 resource file". I have stuck with this problem. Even when i open a new application it throws the similar error.
|
| Question about comparing comma separated lists | 06 Jul 2007 03:33 GMT | 8 |
Thought of several ways to accomplish what I want to do, but I'm asking to see if perhaps there a preferred method or super efficient way. Say I've got 2 strings which are comma separated lists: "1,2,3,4,5"
|
| Why am I printing blank pages in RichTextBox when I use the MS co | 06 Jul 2007 00:22 GMT | 8 |
Hi, I use the code I found at http://support.microsoft.com/kb/812425/ I follow all instruction there except I dind't create a new project, instead I just use the customised richtextbox in my own project. Also, my form that uses the new customized contorol is not named as form 1. ...
|
| whats faster, initialize component, or form load? | 05 Jul 2007 22:52 GMT | 22 |
hey, I have some preliminary code in my program (check for a certain file, define a like 15 variables) and I put it in the form load. I recently got the idea to make a method for it, and do it in the constructor method instead. would this make the load time of the program faster? ...
|
| double arithmetic question...why? | 05 Jul 2007 22:35 GMT | 4 |
This may be a dumb question but... When running the following code: //... int price = 57;
|
| How do I manually create an icon in the system tray? | 05 Jul 2007 22:17 GMT | 6 |
The conventional approach is easy enough; drop a NotifyIcon onto a Form. When the form is loaded - bingo - the icon appears in the System Tray. I can't use this approach though. I'm writing a service. But I'd like my service to install an icon on the System Tray so that the user ...
|
| single byte characters ? how many bytes for 37 characters ? | 05 Jul 2007 21:22 GMT | 4 |
Im pulling a string out of a text field in sql and into a byte array in my C# code. Help frefresh my memory here, a single asci character is 1 byte correct ? So why is a string that is 37 characters long, result in a byte array that is 2224 elements in length ?
|
| Giving focus to radio button without selecting it? | 05 Jul 2007 20:41 GMT | 1 |
Hi i've a keyboard based UI that needs to give focus to a radio button but not select it until the user presses a key (Enter most likely). But unfortunately Focus and Selecting are bound together... how can I fix this issue?
|
| C# + BackButton + Session = Dang! I'm Lost! | 05 Jul 2007 20:08 GMT | 4 |
We're using C# & VS 2005. In our app ... someone is "logged-in" if Session("companyID") exists and is non-zero. How do we implement a "Logout" button that signs off session, sets
|
| pls explain fault Type.IsGenericParameter | 05 Jul 2007 19:32 GMT | 2 |
base {System.SystemException} = {"Method may only be called on a Type for which Type.IsGenericParameter is true."} I have created a simple DLL. using System.Collections.Generic;
|
| Communicating Between Threads | 05 Jul 2007 19:10 GMT | 5 |
I want to have a class that sends messages to a textbox. However, I want the message sender to be in a different thread than the message displayer, so users can scroll through the messages. How do I communicate between these threads?
|
| Use [,][] as parameter | 05 Jul 2007 18:32 GMT | 5 |
hi i am a newbie of C# can i use [,][] as a ref parameter? like this main...
|
| Accessing classB from ClassA property. (Sort of Nested Class) | 05 Jul 2007 18:01 GMT | 5 |
What i'm trying to do is assign a class (i.e. UKPostCode) to a propety of the UKAddress Class. So for example: class UKAddress
|
| Free memory allocated by dll | 05 Jul 2007 17:46 GMT | 5 |
I am calling a delphi .dll that returns a pchar (pointer to char array). I use this as a string - however when done I believe that i need to free the memory that the pchar resided in. 1) Do I need to do this
|