Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML Pin
Heath Stewart20-Jan-04 8:34
protectorHeath Stewart20-Jan-04 8:34 
GeneralRe: XML Pin
Gary Kirkham20-Jan-04 8:56
Gary Kirkham20-Jan-04 8:56 
GeneralPopUp Menu Pin
Inam20-Jan-04 7:33
Inam20-Jan-04 7:33 
GeneralRe: PopUp Menu Pin
Mazdak20-Jan-04 7:46
Mazdak20-Jan-04 7:46 
GeneralImportant !! Download and cookies Pin
bsargos20-Jan-04 7:20
bsargos20-Jan-04 7:20 
GeneralRe: Important !! Download and cookies Pin
Heath Stewart20-Jan-04 8:29
protectorHeath Stewart20-Jan-04 8:29 
GeneralRe: Important !! Download and cookies Pin
bsargos20-Jan-04 12:28
bsargos20-Jan-04 12:28 
GeneralOpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 7:11
Radoslav Bielik20-Jan-04 7:11 
Hi everyone,

I'm trying to set the initial directory of the OpenFileDialog to the "My Documents" directory - is there a simple way to achieve this? Is there a system variable like %SYSTEMROOT% which allows you to set the initial directory to the windows install directory?
<br />
OpenFileDialog ofd = new OpenFileDialog();<br />
ofd.InitialDirectory = "%SYSTEMROOT%";<br />


I tried to google this and perhaps I'm using wrong keywords, but I didn't find anything Frown | :(

Thanks in advance,
Rado




Radoslav Bielik
http://www.neomyz.com/poll [^] - Get your own web poll

GeneralRe: OpenFileDialog initial directory Pin
Mazdak20-Jan-04 7:42
Mazdak20-Jan-04 7:42 
GeneralRe: OpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 7:51
Radoslav Bielik20-Jan-04 7:51 
QuestionHow to make Combinations Pin
jacal9920-Jan-04 7:02
jacal9920-Jan-04 7:02 
AnswerRe: How to make Combinations Pin
MaxGuernsey20-Jan-04 8:42
MaxGuernsey20-Jan-04 8:42 
AnswerRe: How to make Combinations Pin
leppie21-Jan-04 6:17
leppie21-Jan-04 6:17 
Generalconvert textstring to html Pin
Herman<T>.Instance20-Jan-04 5:26
Herman<T>.Instance20-Jan-04 5:26 
GeneralRe: convert textstring to html Pin
Heath Stewart20-Jan-04 5:39
protectorHeath Stewart20-Jan-04 5:39 
GeneralProperties Page Pin
Jose Fco Bonnin20-Jan-04 5:17
Jose Fco Bonnin20-Jan-04 5:17 
GeneralRe: Properties Page Pin
Heath Stewart20-Jan-04 5:30
protectorHeath Stewart20-Jan-04 5:30 
GeneralSystem.Diagnostics.Process.Start Pin
elena1234520-Jan-04 4:22
elena1234520-Jan-04 4:22 
GeneralRe: System.Diagnostics.Process.Start Pin
Heath Stewart20-Jan-04 4:36
protectorHeath Stewart20-Jan-04 4:36 
GeneralCOM Interop Pin
Ungi.20-Jan-04 3:47
Ungi.20-Jan-04 3:47 
GeneralRe: COM Interop Pin
Heath Stewart20-Jan-04 4:24
protectorHeath Stewart20-Jan-04 4:24 
GeneralRe: COM Interop Pin
Ungi.20-Jan-04 18:04
Ungi.20-Jan-04 18:04 
GeneralRe: COM Interop Pin
Heath Stewart21-Jan-04 3:42
protectorHeath Stewart21-Jan-04 3:42 
GeneralRe: COM Interop Pin
Ungi.21-Jan-04 20:23
Ungi.21-Jan-04 20:23 
GeneralGOT IT!!!! Pin
Ungi.28-Jan-04 2:14
Ungi.28-Jan-04 2:14 

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.