|
-
Jan 28th, 2003, 03:40 PM
#1
Thread Starter
New Member
Opening a pdf with adobe 4.0 problem
Some of the users I support use adobe 5.0 and others have adobe 4.0. I am trying to shell adobe to open a file through vb6 with the following code:
for adobe 5.0 users:
Shell "C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe P:\archives\" & JobNo & "\Plan Rack\Archived Plans\PDF_Files\" & PDFName, vbNormalFocus
for adobe 4.0 users:
Shell "C:\Program Files\Adobe\Acrobat 4.0\Reader\AcroRd32.exe P:\archives\" & JobNo & "\Plan Rack\Archived Plans\PDF_Files\" & PDFName, vbNormalFocus
the adobe 5.0 users this works fine but for the adoe 4.0 users I get errors that say the document does not exist.
My variables JobNo and PDFName are correct and exist
I know I can just updgrade everyone to adobe 5.0 but some of my users are not allowing me to upgrade them.
Does anyone know what I could be doing wrong.
Thanks for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|