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

Running app from within VB

Status
Not open for further replies.

tbuch

Programmer
Oct 17, 2000
80
US
I am developing an interface from which to call up other applications. Can someone please tell me the code to run an application from within VB program? I need the VB program to remain open while other app runs.
Thanx -- tbuch
 
have a look at the vb keyword 'Shell()'
Mike
michael.j.lacey@ntlworld.com
 
You can just set it as a component as in :

set wd=New Word.Application
wd.visible=true
wd.documents.add
wd.selection.typetext "This is text in a word document"

This opens a document in word and writes the text to it.



PK Odendaal
pko@mweb.co.za

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top