Click here to Skip to main content
15,792,842 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML Pin
Heath Stewart20-Jan-04 9:34
protectorHeath Stewart20-Jan-04 9:34 
GeneralRe: XML Pin
Gary Kirkham20-Jan-04 9:56
Gary Kirkham20-Jan-04 9:56 
GeneralPopUp Menu Pin
Inam20-Jan-04 8:33
Inam20-Jan-04 8:33 
GeneralRe: PopUp Menu Pin
Mazdak20-Jan-04 8:46
Mazdak20-Jan-04 8:46 
GeneralImportant !! Download and cookies Pin
bsargos20-Jan-04 8:20
bsargos20-Jan-04 8:20 
GeneralRe: Important !! Download and cookies Pin
Heath Stewart20-Jan-04 9:29
protectorHeath Stewart20-Jan-04 9:29 
GeneralRe: Important !! Download and cookies Pin
bsargos20-Jan-04 13:28
bsargos20-Jan-04 13:28 
GeneralOpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 8:11
Radoslav Bielik20-Jan-04 8: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 8:42
Mazdak20-Jan-04 8:42 
GeneralRe: OpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 8:51
Radoslav Bielik20-Jan-04 8:51 
QuestionHow to make Combinations Pin
jacal9920-Jan-04 8:02
jacal9920-Jan-04 8:02 
AnswerRe: How to make Combinations Pin
MaxGuernsey20-Jan-04 9:42
MaxGuernsey20-Jan-04 9:42 
AnswerRe: How to make Combinations Pin
leppie21-Jan-04 7:17
leppie21-Jan-04 7:17 
Generalconvert textstring to html Pin
Herman<T>.Instance20-Jan-04 6:26
Herman<T>.Instance20-Jan-04 6:26 
GeneralRe: convert textstring to html Pin
Heath Stewart20-Jan-04 6:39
protectorHeath Stewart20-Jan-04 6:39 
GeneralProperties Page Pin
Jose Fco Bonnin20-Jan-04 6:17
Jose Fco Bonnin20-Jan-04 6:17 
GeneralRe: Properties Page Pin
Heath Stewart20-Jan-04 6:30
protectorHeath Stewart20-Jan-04 6:30 
GeneralSystem.Diagnostics.Process.Start Pin
elena1234520-Jan-04 5:22
elena1234520-Jan-04 5:22 
GeneralRe: System.Diagnostics.Process.Start Pin
Heath Stewart20-Jan-04 5:36
protectorHeath Stewart20-Jan-04 5:36 
GeneralCOM Interop Pin
Ungi.20-Jan-04 4:47
Ungi.20-Jan-04 4:47 
GeneralRe: COM Interop Pin
Heath Stewart20-Jan-04 5:24
protectorHeath Stewart20-Jan-04 5:24 
GeneralRe: COM Interop Pin
Ungi.20-Jan-04 19:04
Ungi.20-Jan-04 19:04 
GeneralRe: COM Interop Pin
Heath Stewart21-Jan-04 4:42
protectorHeath Stewart21-Jan-04 4:42 
GeneralRe: COM Interop Pin
Ungi.21-Jan-04 21:23
Ungi.21-Jan-04 21:23 
GeneralGOT IT!!!! Pin
Ungi.28-Jan-04 3:14
Ungi.28-Jan-04 3: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.