![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2005
Posts: 1
OS: xp
|
Help on VB6 - open .pdf with wildcard!?
Hi there, i hope someone can help!!!?
I'm using the below code to open a Adobe Acrobat reader file (.pdf), but i don't want to specify the location as when the .exe is created and put on CD i won't know which drive the file is located on (e.g. c:, d:, e: etc.?)! (hope that make sense) so basically i need a working wild card for the file location! Private Sub Label2_Click() Dim App, Doc As Object Set App = CreateObject("AcroExch.App") Set Doc = CreateObject("AcroExch.AVDoc") App.Show Doc.Open "C:\folder1\folder2\file1.pdf", "file1.pdf" End Sub Any help is appreciated. Thanks Andy |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|