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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a program through VB

Status
Not open for further replies.

bradth

IS-IT--Management
Feb 18, 2005
142
CA
I have a program that was written, that when executed brings up a print interface that prints barcodes. I have a custom form with a button on it in VBA. What I would like to do is when this button is clicked, it will open the barcode.exe file and bring up that program. Is this possible? Thanks.

Brad [spidey]
 
Hi bradth,
I have good news and bad news.
The good news is yes, this is possible.
The bad news is that I don't know the exact code at this moment.
I think it might be the Shell command. Look that up.
-hth
Jeff
 
as jgillin suggested look up the "SHELL" command in the help files.

Also, don't forget at this juncture it will require a static path.

--MiggyD

--> It's a bird! It's a plane! No, it's an OS update patch! Ahh!! <--
 
Ya, I used the shell command and it works good. Thanks.

Brad [spidey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top