This is a multi-part message in MIME format.
I know Im late by many days on this reply (I was going thru all the
mails on this list!)
You might be interested in using some windows functions like opening an
explorer window, minimizing all windows, etc (unless you are
specifically interested in using DOS commands only)
You can use the Microsoft Shell Controls and Automation library -
available through the VB 6 project references dialog box.
----- Original Message -----
From: bill salkin
To: professional vb
Sent: Wednesday, February 28, 2001 7:05 PM
Subject: [pro_vb] VB6 SHELL command
1. When I run SHELL (under VB 6) as folows:
RetVal =3D Shell ("dir c:\")
I get a file-not-found error. How do I issue intrinsic DOS commands?
2. I want to SHELL to a custom math routine. I want SHELL to return a
value but NOT to open a DOS window. How can I do this with SHELL?