2 Replies Latest reply on Dec 11, 2008 9:15 PM by hm_arul

    Save as PDF to html Acrobat6

    hm_arul Level 1
      Hi scripters,

      I am working with Acrobat6, windows XP, I want to saveAs the current document to htm. How I can do this via VB6.0

      Set gApp = CreateObject("AcroExch.App")
      gApp.Show

      'Set AVDoc object
      Set gAvDoc = CreateObject("AcroExch.AVDoc")

      ' open the PDF
      If gAvDoc.Open(objFile, "") Then
      MsgBox ("a")
      End If

      Set gPDDoc = gAvDoc.GetPDDoc()

      Set jso = gPDDoc.GetJSObject

      jso.saveAs ("D:\1\2\1.pdf")

      only .PDF save option is working good not .rtf, .htm, .jpg

      Please guide me

      thanks in advance

      regards
      a r u l
      vpublish.net