PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________


>I want ot be able to right click on the document and convert that file to PDF format.
>Is ther anyway to call Acobats's 'Open Web Page..' dialog box using Visual Basic?

Sure thing -- use the openURL() method in the Acrobat JavaScript object. All the 
objects and their properties and methods can be accessed from VB via the JSObject/IAC 
bridge. I'd suggest you download the Acrobat JavaScript Reference, and the JSObject 
bridging reference. You can download these from the Adobe site here:
http://partners.adobe.com/asn/acrobat/docs.jsp (you will have to create a free web 
account to access these).

However, you can only use the above if it's a client-side application you're using. If 
it's server, you're going to have to look at using a 3rd party component, as Acrobat 
is not licensed to run in an unattended server environment. If it is a server-based 
solution, check out activePDF's WebGrabber ActiveX component. If you do end up using 
this, just a tip, make sure you test the EngineToUse property, as it comes with two 
engines to grab the HTML page/s. These are, the native WebGrabber engine, and the IE 
engine. I wasn't getting good enough quality output using the native engine, but 
changed to using the IE engine, and it worked a treat.

Good luck,
Chris.
___________________________________

Chris Dahl - CTO
ARTS PDF Solutions 
[EMAIL PROTECTED]
http://www.aroundtablesolution.com/
ARTS - A Round Table Solution 

-----Original Message-----
From: Daniel Conter [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 8:09 AM
To: [EMAIL PROTECTED]
Subject: [PDFdev] How do I convert HTM to PDF using Visual Basic?


I have a program that displays Html documents in a webrowser.  I want ot be able to 
right click on the document and convert that file to PDF format.
Is ther anyway to call Acobats's 'Open Web Page..' dialog box using Visual Basic?  
This would give the user some control whether or not they want to include different 
levels of linked documents.
Of is there an ActiveX control that I can interface to get to the different 
methods/properties of converting html to pdf format?

Thanks 
Dan Conter


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to