Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX object convert Word .DOC to a .PDF

Status
Not open for further replies.

wijnand

Programmer
Nov 1, 2001
1
NL
Hi,

I'm searching for a ActiveX object what can convert a Word document to a PDF.

I'm working with Visual Basic 6.0.
for example:
Dim strWordFileName As String
Dim strPDFFileName As String
Dim objPDFConvert As New PDFObject

strWordFileName = "C:\Temp\In\Hello.doc"
strPDFFileName = "C:\Temp\Out\Hello.pdf"

If objPDFConvert.DocToPDF(strWordFileName, strPDFFileName) Then
MsgBox "OK"
Else
MsgBox "Not OK"
End If

Regards,

Wijnand Nagelhout
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top