I'm trying to render a PDF on a VB form using the technique advanced by Adobe, ie NOT using the PDF.ocx that has served me so well over the years but using the OpenInWindowEx method of the AcroExch.AVDoc object. I am attempting to encapsulate this code in an ActiveX control. I am but I'm finding the IAC documentation a bit light on for details. It's all meant to happen with the following line of code:
 
ret = AcroExchAVDoc.OpenInWindowEx(stFilePath, hwnd, AV_DOC_VIEW, True, 0, PDUseNone, AVZoomFitPage, 0, 0, 0)
hwnd is a pointer to a VB.UserControl. That is the only thing that is different to the example in the SDK.
 
Any suggestions?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


IMPORTANT -

This email and any attachments are confidential and may be privileged in which case neither is intended to be waived. If you have received this message in error, please notify us and remove it from your system. It is your responsibility to check any attachments for viruses and defects before opening or sending them on. Where applicable, liability is limited by the Solicitors Scheme approved under the Professional Standards Act 1994 (NSW). Minter Ellison collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at www.minterellison.com.

Reply via email to