Click here to Skip to main content
15,917,618 members
Home / Discussions / C#
   

C#

 
GeneralRe: Data type conflict from C++ to C# Pin
CodingLover2-Mar-08 21:42
CodingLover2-Mar-08 21:42 
QuestionPrinting panel control along with other control in image format? Pin
D i x y2-Mar-08 18:09
D i x y2-Mar-08 18:09 
AnswerRe: Printing panel control along with other control in image format? Pin
Ajay.k_Singh2-Mar-08 19:32
Ajay.k_Singh2-Mar-08 19:32 
GeneralUSB Port Communication using C# Pin
Prajin2-Mar-08 17:53
Prajin2-Mar-08 17:53 
GeneralRe: USB Port Communication using C# Pin
Laubi2-Mar-08 20:12
Laubi2-Mar-08 20:12 
GeneralRe: USB Port Communication using C# Pin
Giorgi Dalakishvili2-Mar-08 20:37
mentorGiorgi Dalakishvili2-Mar-08 20:37 
GeneralSet the text on a textbox in form load with registry values. Pin
CodingLover2-Mar-08 15:36
CodingLover2-Mar-08 15:36 
GeneralRe: Set the text on a textbox in form load with registry values. Pin
CodingLover2-Mar-08 16:57
CodingLover2-Mar-08 16:57 
Ok, I found where I'm going wrong with my code. I have to use them as a string.

So,

this.textBox1.Text = regKey.GetValue("server").ToString();


This works for me fine, in form load the correct value is displayed on the text box. But gives a warning says

The variable 'regKey' is either undeclared or was never assigned.


And also I found one funny thing. Suddenly after doing some design modification, the textBox1 text set to empty as

this.textBox1.Text = "";


This is happened automatically. Why is that. In compile time I don't get any error at all. I'm really worried about it.... Frown | :(

I appreciate your help all the time...
Eranga Smile | :)

AnswerRe: Set the text on a textbox in form load with registry values. Pin
dipak.dipak2-Mar-08 17:31
dipak.dipak2-Mar-08 17:31 
GeneralRe: Set the text on a textbox in form load with registry values. Pin
CodingLover2-Mar-08 17:54
CodingLover2-Mar-08 17:54 
GeneralRe: Set the text on a textbox in form load with registry values. Pin
dipak.dipak2-Mar-08 19:01
dipak.dipak2-Mar-08 19:01 
GeneralRe: Set the text on a textbox in form load with registry values. Pin
CodingLover2-Mar-08 19:58
CodingLover2-Mar-08 19:58 
GeneralRe: Set the text on a textbox in form load with registry values. Pin
DaveyM692-Mar-08 23:20
professionalDaveyM692-Mar-08 23:20 
GeneralRe: Set the text on a textbox in form load with registry values. Pin
CodingLover2-Mar-08 23:34
CodingLover2-Mar-08 23:34 
GeneralRe: Set the text on a textbox in form load with registry values. Pin
DaveyM693-Mar-08 1:06
professionalDaveyM693-Mar-08 1:06 
GeneralMonitoring Internet Traffic Pin
aj.esler2-Mar-08 15:31
aj.esler2-Mar-08 15:31 
GeneralRe: Monitoring Internet Traffic Pin
Laubi2-Mar-08 20:16
Laubi2-Mar-08 20:16 
QuestionHow Pinged me??? Pin
nelsonpaixao2-Mar-08 14:57
nelsonpaixao2-Mar-08 14:57 
GeneralRe: How Pinged me??? Pin
Laubi2-Mar-08 20:18
Laubi2-Mar-08 20:18 
GeneralListboxes ... finding certain numbers Pin
Jacob Dixon2-Mar-08 14:32
Jacob Dixon2-Mar-08 14:32 
GeneralRe: Listboxes ... finding certain numbers Pin
Anthony Mushrow2-Mar-08 14:40
professionalAnthony Mushrow2-Mar-08 14:40 
GeneralRe: Listboxes ... finding certain numbers Pin
Jacob Dixon2-Mar-08 14:47
Jacob Dixon2-Mar-08 14:47 
GeneralRe: Listboxes ... finding certain numbers Pin
Luc Pattyn2-Mar-08 15:20
sitebuilderLuc Pattyn2-Mar-08 15:20 
GeneralRe: Listboxes ... finding certain numbers Pin
aj.esler2-Mar-08 14:49
aj.esler2-Mar-08 14:49 
GeneralRe: Listboxes ... finding certain numbers Pin
Jacob Dixon2-Mar-08 14:54
Jacob Dixon2-Mar-08 14:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.