[dba-VB] VB6 Shell

bkollodge at parkindustries.com bkollodge at parkindustries.com
Tue Nov 16 15:42:31 CST 2004


Do any VB6 programmers know how to use the shell to run a systems app
such as explorer?  The "target" was copied from my desktop shortcut but
doesn't work - I must be missing some syntax???

Private Sub Command1_Click()
   RetVal = Shell("%SystemRoot%\explorer.exe", vbMaximizedFocus)
End Sub

Thanks,
Bill Kollodge
Electrical Engineering / CNC Products
Park Industries
St. Cloud, MN  56303
bkollodge at parkindustries.com




More information about the dba-VB mailing list