Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Programming / October 2005

Tip: Looking for answers? Try searching our database.

pdf or word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alex - 03 Oct 2005 22:05 GMT
I've created a hyperkink to open a pdf file that is working good (thanks this
newsgroup).

Can I insert some code in the VB Publisher to recognize whether a user can
open the pdf file and in case he/she cannot (no Acrobat, etc.) do this then
to open the word .doc file. If the user cannot open pdf and word to provide
the user with a message to install pdf or word?

Thanks
Brian Kvalheim [MSFT MVP] - 03 Oct 2005 23:48 GMT
> I've created a hyperkink to open a pdf file that is working good
> (thanks this newsgroup).
[quoted text clipped - 6 lines]
>
> Thanks

I don't know the answer to this question, but supplying two links and
designating the file type to the consumer offering them a choice seems
feasible.

Signature

Brian Kvalheim
Microsoft Publisher MVP
http://www.publishermvps.com

This posting is provided "AS IS" with no warranties, and
confers no rights.

Alex - 04 Oct 2005 00:34 GMT
Thanks for your reply, Brian.
But, actually it's not about a choice. It's about if there is no any choice.
If Acrobat reader is not installed on the user machine so instead of the
error generating the word document could be opened. If there are no MS Word
or Acrobat on the computer there will be a message "Please, install  ...".

But, I don't know how to generate a click event on the object with the
hyperlink and whether it's enough to catch an error after the click on pdf
openning (On Error GoTo Next) to go the next row to open the Word and if
there is an error again then to show the MsgBox.

> > I've created a hyperkink to open a pdf file that is working good
> > (thanks this newsgroup).
[quoted text clipped - 10 lines]
> designating the file type to the consumer offering them a choice seems
> feasible.
Ed Bennett - 05 Oct 2005 22:10 GMT
Alex <Alex@discussions.microsoft.com> was very recently heard to utter:
> hyperkink

Oops.

> Can I insert some code in the VB Publisher to recognize whether a
> user can open the pdf file and in case he/she cannot (no Acrobat,
> etc.) do this then to open the word .doc file. If the user cannot
> open pdf and word to provide the user with a message to install pdf
> or word?

This is not possible, sorry.

Signature

Ed Bennett - MVP Microsoft Publisher

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.