New Forum | Previous | Next | (P-PDF) Developers
Topic: Converting word2000 to PDF inside activeX componen
Conf: (P-PDF) Developers, Msg: 67728
Date: 6/27/2002 07:38 PM
Iam converting word2000 to PDF inside the activeX component.The Cilent(Browser) machine in which the activeX runs has word2000 and abobe acrobat 5.0 installed.
Iam using the followig vb code inside the activeX
Dim msWord As Word.Application
Set msWord = GetObject(Class:="Word.Application.9")
msWord.ActivePrinter = "Acrobat Distiller"
when the line msWord.ActiveDocument.PrintOut is executed the 'save PDF file as' dialog box is shown. On providing the path and the filename the PDF document is save.
Can we set the destination path and file name programmatically thereby avoiding the file save as dialog box.