Click here to Skip to main content
15,910,872 members
Home / Discussions / C#
   

C#

 
GeneralRe: Timer Pin
Ravenet9-Mar-08 16:33
Ravenet9-Mar-08 16:33 
QuestionDictionary Reset? Pin
Jammer9-Mar-08 13:43
Jammer9-Mar-08 13:43 
GeneralRe: Dictionary Reset? Pin
Christian Graus9-Mar-08 15:01
protectorChristian Graus9-Mar-08 15:01 
GeneralRe: Dictionary Reset? Pin
Jammer9-Mar-08 15:27
Jammer9-Mar-08 15:27 
GeneralRe: Dictionary Reset? Pin
Christian Graus9-Mar-08 15:52
protectorChristian Graus9-Mar-08 15:52 
GeneralRe: Dictionary Reset? Pin
Jammer10-Mar-08 6:14
Jammer10-Mar-08 6:14 
GeneralRe: Dictionary Reset? Pin
Jammer10-Mar-08 9:40
Jammer10-Mar-08 9:40 
GeneralStrange XmlDocument.Save() behaviour when using openfiledialog in Windows Forms Pin
turkel9-Mar-08 12:22
turkel9-Mar-08 12:22 
Hi,

I encounter a very strange (at least to my understanding) behavior.
I have a Windows Forms program. In the program I use openfiledialog to choose some file.
Later on I save some data to an XML file using XmlDocument.Save().
When I write in the Save a specified path, e.g. "c:\\folder\\bin\\debug\\config.xml" it works fine.
But, when I write only a relative path: 'doc.Save("config.xml");' I get the strange behavior:
The config.xml file is save in the last folder the I visited when I used the openfiledialog control.
Wherever I visit with that control - the xml file is save into that folder.
I can't believe that this is the inteded behavior.
Did anyone encounter that?
Can it be something wrong in my code? If so - what king of possible mistake?
If it a bug of XmlDocument.Save() - how can I work around it?

Thanks in advance,
Itzik
GeneralRe: Strange XmlDocument.Save() behaviour when using openfiledialog in Windows Forms Pin
Christian Graus9-Mar-08 12:34
protectorChristian Graus9-Mar-08 12:34 
GeneralRe: Strange XmlDocument.Save() behaviour when using openfiledialog in Windows Forms Pin
Lutosław9-Mar-08 12:39
Lutosław9-Mar-08 12:39 
GeneralRe: Strange XmlDocument.Save() behaviour when using openfiledialog in Windows Forms Pin
turkel9-Mar-08 13:57
turkel9-Mar-08 13:57 
GeneralNTDVM.EXE stopped working while using gacutil.exe Pin
Cherkez9-Mar-08 11:30
Cherkez9-Mar-08 11:30 
QuestionHow to create Choose date dialog. .. .. .. Pin
Yanshof9-Mar-08 11:22
Yanshof9-Mar-08 11:22 
AnswerRe: How to create Choose date dialog. .. .. .. Pin
buchstaben9-Mar-08 11:32
buchstaben9-Mar-08 11:32 
QuestionC# code SQL connection Pin
Knowledgestudent9-Mar-08 11:17
Knowledgestudent9-Mar-08 11:17 
GeneralRe: C# code SQL connection Pin
Christian Graus9-Mar-08 11:38
protectorChristian Graus9-Mar-08 11:38 
GeneralRe: C# code SQL connection Pin
Ravenet9-Mar-08 16:35
Ravenet9-Mar-08 16:35 
QuestionSimple way to round a decimal? Pin
Joplinazz9-Mar-08 10:23
Joplinazz9-Mar-08 10:23 
AnswerRe: Simple way to round a decimal? Pin
Christian Graus9-Mar-08 10:58
protectorChristian Graus9-Mar-08 10:58 
GeneralHelp with printDocument and printPreviewControl Pin
Jacob Dixon9-Mar-08 8:09
Jacob Dixon9-Mar-08 8:09 
GeneralRe: Help with printDocument and printPreviewControl Pin
Jacob Dixon9-Mar-08 9:28
Jacob Dixon9-Mar-08 9:28 
GeneralRe: Help with printDocument and printPreviewControl Pin
Christian Graus9-Mar-08 11:04
protectorChristian Graus9-Mar-08 11:04 
GeneralRe: Help with printDocument and printPreviewControl Pin
Jacob Dixon9-Mar-08 11:21
Jacob Dixon9-Mar-08 11:21 
GeneralRe: Help with printDocument and printPreviewControl Pin
Christian Graus9-Mar-08 11:43
protectorChristian Graus9-Mar-08 11:43 
GeneralRe: Help with printDocument and printPreviewControl Pin
Jacob Dixon9-Mar-08 11:51
Jacob Dixon9-Mar-08 11:51 

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.