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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening a pdf?

Status
Not open for further replies.

99mel

Programmer
Oct 18, 1999
379
GB
Is it possible to open a pdf save it and close it all in the background?

I'm using a dll which I can create an fdf file which holds data. When my code opens this fdf file using the ShellExecute command it then opens the pdf template with the data which i then want to save!

Simply all i'm wanting to do is open a file save it then close it without the user doing it?

Any help much appreciated


 
Hi,
Look in your system, normally, Program Files\Adobe\Acrobat\Reader\Ocx and you should see pdf.ocx

Add this control to your VB project, place it on the form, look at the events and you can load / save / print pdf files.

Nick W
 
hey,
you can try out my code at the FAQ here. faq222-1228, under the category: File Conversions, title: Converting Your Words to PDF file format..., submitted: JasonLiew

PLease vote for it.
THank you

regards,
Jason
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top