Click here to Skip to main content
15,914,013 members
Home / Discussions / C#
   

C#

 
GeneralRe: checklistbox Pin
ian mariano8-May-04 6:40
ian mariano8-May-04 6:40 
GeneralClosing an open Task Manager window Pin
Nagendra Kamath K8-May-04 5:00
Nagendra Kamath K8-May-04 5:00 
GeneralRe: Closing an open Task Manager window Pin
ian mariano8-May-04 6:42
ian mariano8-May-04 6:42 
GeneralRe: Closing an open Task Manager window Pin
Heath Stewart8-May-04 20:04
protectorHeath Stewart8-May-04 20:04 
GeneralRe: Closing an open Task Manager window Pin
ian mariano13-May-04 18:42
ian mariano13-May-04 18:42 
GeneralRe: Closing an open Task Manager window Pin
Heath Stewart14-May-04 2:03
protectorHeath Stewart14-May-04 2:03 
GeneralRe: Closing an open Task Manager window Pin
ian mariano14-May-04 3:36
ian mariano14-May-04 3:36 
GeneralUnRegister a Service Process Pin
Nagendra Kamath K8-May-04 4:58
Nagendra Kamath K8-May-04 4:58 
GeneralRe: UnRegister a Service Process Pin
ian mariano13-May-04 18:57
ian mariano13-May-04 18:57 
GeneralUsing outlook to send messages. Pin
mpalle8-May-04 4:35
mpalle8-May-04 4:35 
GeneralRe: Using outlook to send messages. Pin
Heath Stewart8-May-04 20:01
protectorHeath Stewart8-May-04 20:01 
GeneralRe: Using outlook to send messages. Pin
mpalle8-May-04 22:24
mpalle8-May-04 22:24 
GeneralRe: Using outlook to send messages. Pin
Heath Stewart9-May-04 2:23
protectorHeath Stewart9-May-04 2:23 
GeneralRe: Using outlook to send messages. Pin
mpalle9-May-04 2:39
mpalle9-May-04 2:39 
GeneralGet name of variable Pin
Stefan Troschuetz8-May-04 4:06
Stefan Troschuetz8-May-04 4:06 
GeneralRe: Get name of variable Pin
Hesham Amin8-May-04 4:13
Hesham Amin8-May-04 4:13 
GeneralRe: Get name of variable Pin
Stefan Troschuetz8-May-04 4:22
Stefan Troschuetz8-May-04 4:22 
I'm storing some data of my class in a XML file that I read out later.
<br />
XmlTextWriter writer = new XmlTextWriter(this.configFilePath, this.configFileEncoding);<br />
writer.WriteStartDocument();<br />
writer.WriteStartElement("Configuration");<br />
writer.WriteElementString("Duration",		this.duration.ToString());<br />
writer.WriteEndElement();//Configuration<br />
writer.WriteEndDocument();<br />

Thought it would be nice to get the string for the localName param by determining the name of the variable instead of hardcoding it.
GeneralRe: Get name of variable Pin
kayhustle8-May-04 16:03
kayhustle8-May-04 16:03 
GeneralRe: Get name of variable Pin
Stefan Troschuetz9-May-04 0:51
Stefan Troschuetz9-May-04 0:51 
GeneralRe: Get name of variable Pin
Heath Stewart8-May-04 19:29
protectorHeath Stewart8-May-04 19:29 
GeneralRe: Get name of variable Pin
Stefan Troschuetz9-May-04 0:42
Stefan Troschuetz9-May-04 0:42 
GeneralRe: Get name of variable Pin
Heath Stewart9-May-04 2:51
protectorHeath Stewart9-May-04 2:51 
Generaladd a property Pin
cristina_tudor8-May-04 2:48
cristina_tudor8-May-04 2:48 
GeneralRe: add a property Pin
Dave Kreskowiak8-May-04 3:17
mveDave Kreskowiak8-May-04 3:17 
GeneralC# Questions relating to TextBox Pin
Member 6910898-May-04 0:33
Member 6910898-May-04 0:33 

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.