VB6 and CutePDF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kimmelsd33
    New Member
    • Dec 2009
    • 29

    VB6 and CutePDF

    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
  • 9815402440
    New Member
    • Oct 2007
    • 180

    #2
    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

    Working...