•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 429,777 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,881 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 349 | Replies: 0
![]() |
•
•
Join Date: Jul 2008
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Hi guys
Im trying to get a pdf file (I'm using as a help file in an app)
to open up when the help button is clicked.
This is the code i am currently using:
This works all fine on my dev machine, but when i compile an run on other machines it does nothing when i try to run. I have installed acrobat reader on the machines that i want this to work on and the pdf file is located in the appropriate directory. I've also tried using app.path in the pdfFile path but same result. Any help would be greatly appreciated.
Thanks
Im trying to get a pdf file (I'm using as a help file in an app)
to open up when the help button is clicked.
This is the code i am currently using:
Private Sub DisplayInstructionManual() Dim AcrobatReader as String Dim pdfFile as String AcrobatReader = "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32" pdfFile = "file path here" Shell AcrobatReader & "" & pdfFile, vbMaximizedFocus End Sub
Thanks
Last edited by Tekmaven : Jul 17th, 2008 at 4:25 am. Reason: Code tags
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Extracting strings from a multi-byte string
- Next Thread: What version of access???


Linear Mode