Thank you for the reply smartchap. That works perfectly. If there is anyone else interested in doing the entire code is below. Cut and Paste at will.
1. Private Declare Function ShellExecute Lib "shell32.dl l" Alias "ShellExecu teA (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
2. Private...
User Profile
Collapse
-
Opening a .pdf file from a VB6 .exe
Total noobie here, so spoon feed and speak slowly (and with code bytes) please.
What I am trying to accomplish is a VB6 .exe menu program that will be set to autostart on a info CD. If you click on a button on the menu it will open a file from the CD. Easier said than done. The problem I ran into right off is Adobe Reader versions, directory differences, drive letter differences, etc...
So I need the .exe to work without... -
Ok, first please forgive me for being a noobie. I am working on a VB6 program to be included in a business CD. The goal is to burn it and the related .pdf files to a CD to be able to distribute to vendors and clients. Basically a autostart CD menu. VB6 is what I have to work with, not by choice.
The code lines above will open a specific version of A.R. if installed into a specific place. I need one that will open the AcroRd32 file...Leave a comment:
No activity results to display
Show More
Leave a comment: