|
-
Jul 6th, 2004, 08:25 PM
#1
Thread Starter
Junior Member
Initial Directory
hey
Anyone knows how to set the initial directory to desktop or mydocuments in a save file dialog box?
Like this
Code:
MySaveDialog.InitialDirectory = something.Desktop;
thanks
-
Jul 6th, 2004, 09:08 PM
#2
Sleep mode
Use SpecialFolder Enum .
PHP Code:
MySaveDialog.InitialDirectory = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop);
-
Jul 6th, 2004, 09:50 PM
#3
Thread Starter
Junior Member
Big thanks PIRATE!!!! You really rule!!!
One correction though
Code:
System.Environment.SpecialFolder.DesktopDirectory
Again thanks!!!!
-
Jul 6th, 2004, 09:59 PM
#4
Sleep mode
You're welcome . I just knew the difference between the two members .
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
|