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

Opening other applications in vb window

Status
Not open for further replies.

shavon

Programmer
Jun 18, 2001
102
CA
Hello:

Happy Wednesday.

Is it possible to open an application such as Word or Excel in a form within
my VB App? Like how PDF files open in the Internet Explorer window with the
ability to use the Acrobat tool bar. Is there some control that will give
me this ability? Please lead me in the right direction and provide an
example is possible. Thank you.
 
Assuming that you've got a full version of Word on the tartget machine, just set a reference to Microsoft Word 10.0 Object library (or whichever version you're running).

Same applies to Excel.

Then you can set up object variables for Word.Application, Word.Document etc.

See VBHelp for more details. This has also been covered in this forum several times, so you might try a search on "Word" to get you started Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
What you are talking about is an insertable object. You can also do it with OLE Container.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top