Is there someone out there who can tell me how to open a directory (for example "c:\mydir") by using vbcode, instead of using a windows shortcut
It would be of great help for me to be able to do this!
Please reply to me!
Printable View
Is there someone out there who can tell me how to open a directory (for example "c:\mydir") by using vbcode, instead of using a windows shortcut
It would be of great help for me to be able to do this!
Please reply to me!
You can use the ShellExecute API. For example...VB Code:
ShellExecute Screen.ActiveForm.hWnd, "Open", "C:\MyDir", "", "C:\", vbNormalFocus
Thank You so much for your exellent suggestion!
It solved my problem of how to open a specific folder.
As being a beginner in Vb it's sometimes difficult where to find the appropriate information.
with best regards
Henk from the Netherlands