Link to home
Start Free TrialLog in
Avatar of lbussey
lbussey

asked on

View and Edit PDF Files in VB6

I am looking for a solution in VB6 that would allow me to view existing PDF files, as well as convert MS Word files to PDF. I'm able to automate MS Word to view/edit .DOC files by adding a reference to Microsoft Word 11.0 Object Library, however, when trying to do the same thing with Adobe Acrobat 7.0 Type Library it appears that Acrobat is severely limited in the same functionality.

I don't require the file to be viewing within my application itself. I would like to open in Acrobat (or Acrobat Reader) just like Word files do in MS Word when being called from my application.

I would also like to avoid any 3rd party DLL's or ActiveX controls. If there is one that is high-quality then I might consider it.

Thank you in advance for any suggestions you might have. This question will be worth the maximum points available due to my limited time available to find a solution.

Luke
Avatar of cool12399
cool12399

Take a look here, it gives you VB6 source code w/the purchase ($99 i guess):
http://www.p3ptools.com/index.php?category=libpdfx
ASKER CERTIFIED SOLUTION
Avatar of cool12399
cool12399

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
Avatar of lbussey

ASKER

Thanks cool12399.

I actually got some of the code for the Acrobat Type lib working after find a few source code snippets for Java and ASP. After some monkeying around it now displays the PDF file. My next step is to get it to convert Word to PDF but from what I've been seeing all that requires is to use the Distiller printer.

Thanks again. I'll reward you full points, but I haven't yet had time to review either website fully to see if they contain any useful information. I'll report back here when I get things working a little more so that others can see some specifics.

Luke
Sure, thanks, np.

PS, wouldn't mind seeing some of the code you come up with after (I might be interested in creating PDFs down the road, but not sure how
easy/complicated it is... If I could simply take regular printer output and output it to a PDF, that might be useful...)