SETP
asked on
Open Folder
How can I open a folder in VB.NET 2003? More specifically, I want to launch Windows Explorer and make it open a specific folder on the harddrive (sort of like clicking on My Documents in the Start menu)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Isn't that because your sPicPath also includes the name of the picture file
if sPicpath also includes the name of the picture file and you want only the directory, than do this
System.Diagnostics.Process .Start(Sys tem.IO.Pat h.GetDirec toryName(s picpath))
System.Diagnostics.Process
ASKER
Ofcourse!!! Sorry - still half asleep :) Thanks
ASKER
System.Diagnostics.Process
But it just opens up the picture in the associated picture viewer (Windows Picture and Fax Viewer by default)