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
Printable View
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
Use SpecialFolder Enum .
PHP Code:MySaveDialog.InitialDirectory = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop);
Big thanks PIRATE!!!! You really rule!!!
One correction though
Code:
System.Environment.SpecialFolder.DesktopDirectory
Again thanks!!!!
You're welcome . I just knew the difference between the two members .:ehh: