simple link to a folder

i need to make a simple link from a command button so that a folder (such as: C:\Documents and Settings\Owner\My Documents\Nics Folder) opens up just like a normal folder would when the command button is pressed.
Cheers,
Pratty
prattyAsked:
Who is Participating?
 
TimCotteeConnect With a Mentor Commented:
Hi pratty,

Just use :

Private Sub Command1_Click()
    Shell "Explorer C:\Documents and Settings\Owner\My Documents\Nics Folder", vbNormalFocus
End Sub


Tim Cottee MCSD, MCDBA, CPIM
http://www.timcottee.tk 

Brainbench MVP for Visual Basic
http://www.brainbench.com
0
All Courses

From novice to tech pro — start learning today.