p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

pro_vb thread: Re: VB6 SHELL command

Message #1 by <kk8877@y...> on Wed, 25 Apr 2001 10:25:26 +0530
This is a multi-part message in MIME format.

Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable

Hi Bill,

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?


  Return to Index