Home > Programming > vb 6.0 pdf

vb 6.0 pdf

January 13th, 2010 admin Leave a comment Go to comments

vb 6.0 pdf
Can you get me the code in VB 6.0 to convert an Word doc to PDF format.?

Private oAcrobat As ACRODISTXLib.PdfDistiller
Private pOption As AdobePDFMakerForOffice.ISettings

oWord.Documents.Open(Me.ficWord, , , , , , , , , , , True, , , )

Me.pOption =oWord.Application.COMAddIns.Item(Me.addInIndex).Object.GetCurrentConversionSettings()

Me.pOption.AddTags = False
Me.pOption.AddLinks = True
Me.pOption.OutputPDFFileName = Me.ficPdf
Me.pOption.ViewPDFFile = False
oWord.COMAddIns.Item(Me.addInIndex).Object.CreatePDFEx(pOption)
Dim nom_pdf As String = Me.nom_court & “.PDF”

marche en VB.net et vba .
par contre il y a d autre methodes

R4R Spring 6

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
Categories: Programming Tags:
  1. No comments yet.
  1. No trackbacks yet.