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

    Save as PDF to html Acrobat6

      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")

      '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

      a r u l