|
-
Sep 20th, 2007, 12:16 PM
#1
Thread Starter
Hyperactive Member
[2.0] Setting the initial directory of OpenFileDialog to the desktop
Hi everyone!
I trying to set the initial directory of the open file dialog to the desktop could anyone help me?
OpenFileDialog fdlg = new OpenFileDialog();
fdlg.InitialDirectory = @"c:\";
How do I set it to the desktop without doing something like this:
fdlg.InitialDirectory = @"C:\Documents and Settings\Jennifer\Desktop";
Jennifer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|