Link to home
Start Free TrialLog in
Avatar of nitin_hbtik
nitin_hbtik

asked on

write a pdf using vb6.0

I got a task to write  a pdf file using Adobe 5.0 writer in visual basic 6.0.   In this plz tell me what code i should write for generating the shape ,gif , and data value. in vb
ASKER CERTIFIED SOLUTION
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can write pdffiles from VB6 with Adobe Acrobat PDFWriter and throughout a third app. This really exists. As in Acrobat 4 it was standard installed but from Acrobat 5 and up, u have to do a custom install. The code use got to use, by example from excel, is the following:

ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"Acrobat PDFWriter", PrToFileName:=yourfilename

But to instantly write to a pdf from VB6, is indeed from a plugin as khkremer said.
It's a long way, but usefull if u dont have the plugin and want to use a lot of excell functionality.