Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Display of PDF inside AX2009

395 views
Skip to first unread message

Morten Lehrmann

unread,
Apr 15, 2010, 10:36:16 AM4/15/10
to
Can you display a PDF file inside an AX2009 tabpage (i.e., not open an
external viewer). Today we do this for TIFF images with an ActiveX component
- can we do the same for PDFs?

TIA.

--
Kind regards,
Morten Jes Lehrmann
Technical Architect
Danske Bank Group, Denmark

Willy

unread,
Apr 15, 2010, 1:16:01 PM4/15/10
to
Hi Morten,

Yes you can.

The Adobe PDF reader comes with an ActiveX you can use for this. (Adobe PDF
reader). You can use the following syntax to navigate to the file

PDFActiveX.LoadFile(@"C:\yourfilename.PDF");

As an alternative, you can use the Microsoft Web Browser ActiveX. This way
you can use more different file formats in your tab page.

MSWebActiveX.Navigate(@"C:\yourfilename.PDF");


Good luck,


Willy (blog at http://dynamics-ax-live.blogspot.com)

Glibs

unread,
Jun 24, 2010, 6:18:01 PM6/24/10
to
Overview of possible solution and example of code can be taken in standard
functionality of document handling.


0 new messages