open My Documents in explorer window when a button is click
Share your completed scripts.
1 post • Page 1 of 1
haiya guys! lately i was trying to find out how to open My Documents or other folder in an explorer window if I clicked a button in a vb form. And here's the code that I got. Just want to share it with you.
- Code: Select all
lngReturnValue = shell("explorer.exe ""C:\Documents and Settings\Administrator\My Documents""", vbNormalfocus)
"Failure is the key to success, so try and try until you succeed."
- Reputation: 0
- Posts: 104
- Joined: Wed Jul 30, 2008 11:48 pm
- Location: Marikina City, Philippines
- Highscores: 0
- Arcade winning challenges: 0