|
-
Jan 30th, 2002, 06:23 AM
#1
Thread Starter
New Member
VBcode
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!
-
Jan 30th, 2002, 08:07 AM
#2
Good Ol' Platypus
You can use the ShellExecute API. For example...
VB Code:
ShellExecute Screen.ActiveForm.hWnd, "Open", "C:\MyDir", "", "C:\", vbNormalFocus
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jan 31st, 2002, 02:35 PM
#3
Thread Starter
New Member
Shellexecute
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
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
|