Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please, help... How to call Procom

Status
Not open for further replies.

vovan1415

Programmer
Dec 6, 2001
50
US
Please, help...
How to call Procomm from VIsual Basic?

Thank You .
 
I may be wrong because VB may be different from VBA, but I think you use the shell command. VBA will return a double that represents Procomm's task ID.

Dim PWTASKS

PWTASKS = Shell("C:\Program Files\Procomm Plus\programs\PW5.EXE", 1)

You can probably include other arguments as you would from the command line. Robert Harris
Communications Advantage
 
vovan
Robert is correct. The shell command is used in VB to launch an executable file. But if you need your VB app to wait on the shelled app to finish executing...well that's a whole other ballgame.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top