Does anyone have any sample code, on how to open and view pdf files, that were created with CutePDF? I have some code for using adobe acrobat, but CutePDF doesn't seem to work in the same way. Thanks for any help
VB6 and CutePDF
Collapse
X
-
Tags: None
-
hi
use following function to open any file with its default application
ShellExecute Me.hwnd, "Open", FilePath, "", "", vbNormalFocus
before using declare shellexecute in a module as follows
Public 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
regards
Manpreet Singh Dhillon Hoshiarpur
Comment