kengkit
asked on
How do i open a speficic folder through vb.net
how do i open a folder "c:\photo" by clicking a button in vb.net 2005?
* without prompt any dialog.. juz directly open the specific folder will do
* without prompt any dialog.. juz directly open the specific folder will do
Shell("explorer C:\photo", AppWinStyle.NormalFocus)
ShellEx "C:\My Documents\Music", , , , "Open", Me.hWnd
In vb.net 2005 you should use process to do that
Process.Start("explorer"," c:\photo")
Process.Start("explorer","
ASKER
to Rimvis
how do i handle a situation if the folder is no longer exited?
and the following coding seem not working.. how to solve it?
Dim path as string = "c:\photo\" & member.Text
Shell("explorer" & path, AppWinStyle.NormalFocus)
how do i handle a situation if the folder is no longer exited?
and the following coding seem not working.. how to solve it?
Dim path as string = "c:\photo\" & member.Text
Shell("explorer" & path, AppWinStyle.NormalFocus)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.