display a pdf file while in Word

T

tmk

I am trying to add a command button that will display a .pdf file while I am
in Word.

I would also like to be able to use a command button to start a Flash
application.
 
J

Jonathan West

tmk said:
I am trying to add a command button that will display a .pdf file while I
am
in Word.

I would also like to be able to use a command button to start a Flash
application.

Go to http://vb.mvps.org/samples/ and download the HyperJmp sample. Import
the code into your project.

The OpenDoc subroutine can be used to open any file in its parent
application. Just call it with the full pathname of the file you want to
open. Windows will automatically work out the appropriate application to
use.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top