Opening PDFxcview from Access 2007

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

dpavao
User
Posts: 4
Joined: Mon Nov 08, 2010 6:02 pm

Opening PDFxcview from Access 2007

Post by dpavao »

Hello, I've assigned references within my database which should allow me to use the opendocument command but it comes back with "No object found". I'm sort of new to this. Could anyone give me some pointers at what I might be doing wrong?
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Opening PDFxcview from Access 2007

Post by Corwin - Tracker Sup »

Hi dpavao,

I have tried to use Viewer Active X in MS Access 2007 according to this article:
http://support.microsoft.com/kb/209919
and all works fine. My sample data base is attached to this message.
You do not have the required permissions to view the files attached to this post.
dpavao
User
Posts: 4
Joined: Mon Nov 08, 2010 6:02 pm

Re: Opening PDFxcview from Access 2007

Post by dpavao »

Thanks for your reply. Yours is working perfectly so this gives me something to work from. Ultimately, I want the user to be able to click on the document and open pdfxcviewer. I'll work on this and see if I can make it happen. Thanks again!
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Opening PDFxcview from Access 2007

Post by John - Tracker Supp »

Pleasure and hope all goes well :)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
dpavao
User
Posts: 4
Joined: Mon Nov 08, 2010 6:02 pm

Re: Opening PDFxcview from Access 2007

Post by dpavao »

Well this is frustrating. Our two databases have the same referenced libraries, the same OLE object inserted in the form, the same table structure, and I've copied the event code behind your button control in to my database and mine still says "no object found". Any ideas? I'm including a copy of my database with this post.
You do not have the required permissions to view the files attached to this post.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Opening PDFxcview from Access 2007

Post by Corwin - Tracker Sup »

Hello dpavao,

As I can see - component on your form is named "CoPDFXCview3". But in your code you try to call "CoPDFXCview2" which doesn't exists.

HTH.
dpavao
User
Posts: 4
Joined: Mon Nov 08, 2010 6:02 pm

Re: Opening PDFxcview from Access 2007

Post by dpavao »

Ahhh, the simple solutions are the best. Works now. Thanks alot.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: Opening PDFxcview from Access 2007

Post by Stefan - PDF-XChange »

:)

Kudos to Sasha (Corwin) and have a great weekend dpavao.

Regards,
Stefan