Problems with v4
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 3
- Joined: Mon Dec 10, 2007 11:18 am
Problems with v4
Hello,
I was wondering if anybody has problems using the v4 SDK. BTW I'm using build 1046. My problems:
- The OnFileSaved is not always being fired whereas the OnEndDoc always is being fired
- sometimes the ShowSaveDialog is being displayed even when I have the option .Option("Save.ShowSaveDialog") = False.
BTW I'm using a VBA Class to trap events from PDF-X-Change:
Private PDFPFactory As New PXCComLib.CPXCControlEx
Private WithEvents pdfx As PXCComLib.CPXCPrinter
And I'm using an Access Report in Design-mode to print to PDF-X-Change by using DoCmd.PrintOut.
Thanks in advance,
Herold Winter
I was wondering if anybody has problems using the v4 SDK. BTW I'm using build 1046. My problems:
- The OnFileSaved is not always being fired whereas the OnEndDoc always is being fired
- sometimes the ShowSaveDialog is being displayed even when I have the option .Option("Save.ShowSaveDialog") = False.
BTW I'm using a VBA Class to trap events from PDF-X-Change:
Private PDFPFactory As New PXCComLib.CPXCControlEx
Private WithEvents pdfx As PXCComLib.CPXCPrinter
And I'm using an Access Report in Design-mode to print to PDF-X-Change by using DoCmd.PrintOut.
Thanks in advance,
Herold Winter
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Hi Herold,
could you please provide a larger code snippet or preferably a small sample app showing the problem - and also please advise your Windows OS?
Please zip any files posted.
thanks
could you please provide a larger code snippet or preferably a small sample app showing the problem - and also please advise your Windows OS?
Please zip any files posted.
thanks
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
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 3
- Joined: Mon Dec 10, 2007 11:18 am
Hello,
Thanks for your reply. I've attached a simple Access database with some code in it. When you run the VBA-command 'PrintSampleReport', a contained report is opened in Design-mode, and printed out to the standard-printing device.
I've tested this with PDF-X-Change standard edition 4, build 0146 (which is the most recent version) on Windows Vista Enterprise Edition x64 (Dutch) on a Dual-Core processor with all the latest Windows updates, but not Vista service pack 1.
Thanks in advance,
Greetings,
Herold Winter
Thanks for your reply. I've attached a simple Access database with some code in it. When you run the VBA-command 'PrintSampleReport', a contained report is opened in Design-mode, and printed out to the standard-printing device.
I've tested this with PDF-X-Change standard edition 4, build 0146 (which is the most recent version) on Windows Vista Enterprise Edition x64 (Dutch) on a Dual-Core processor with all the latest Windows updates, but not Vista service pack 1.
Thanks in advance,
Greetings,
Herold Winter
- Ivan - Tracker Software
- Site Admin
- Posts: 3550
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Please check your Public Sub Start() method where options are set and use correct names of options (please note names are different into V3 and V4).
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Also - please never post any project that contains your serial number.
Thanks
Thanks
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
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 3
- Joined: Mon Dec 10, 2007 11:18 am
Hello,
First of all my honoust apologies...
I recoded the properties according to the SDK and found out this really helps. It is much more stable now. It is however strange that coding properties that do not exist makes the driver unstable. Maybe that is something you guys could work on.
Now the only urge is to get a new v4 serial. I've just emailed you this request.
Greetings,
Herold Winter
First of all my honoust apologies...
I recoded the properties according to the SDK and found out this really helps. It is much more stable now. It is however strange that coding properties that do not exist makes the driver unstable. Maybe that is something you guys could work on.
Now the only urge is to get a new v4 serial. I've just emailed you this request.
Greetings,
Herold Winter
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Hi Herold,
Does not appear we have your email - can you send again please and please make sure 'PDF-XChange' appears in the subject line to 'beat' our filters.
thanks
Does not appear we have your email - can you send again please and please make sure 'PDF-XChange' appears in the subject line to 'beat' our filters.
thanks
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
Best regards
Tracker Support
http://www.tracker-software.com
Hello,
Seems that after a few other tests the driver/ActiveX isn't working like it should. I've coded the properties according the API-docs (which contains a minor error : it states a subsection Comression.Index...
My problem : the OnFileSaved event isn't fired and sometimes the SaveAs dialog appears while it is propertized it shouldn't. What can be the cause? Is it Access not trapping the events out of the PDFXchange drivers because it is printing?
Please see attached demo-app and run (in VBA) the call 'PrintSampleReport'
Thanks in advance,
Ernstjan Freriks (collegue of Herold)
Seems that after a few other tests the driver/ActiveX isn't working like it should. I've coded the properties according the API-docs (which contains a minor error : it states a subsection Comression.Index...
My problem : the OnFileSaved event isn't fired and sometimes the SaveAs dialog appears while it is propertized it shouldn't. What can be the cause? Is it Access not trapping the events out of the PDFXchange drivers because it is printing?
Please see attached demo-app and run (in VBA) the call 'PrintSampleReport'
Thanks in advance,
Ernstjan Freriks (collegue of Herold)
- Attachments
-
- trackersoftware.zip
- Sample Access Database
- (36.11 KiB) Downloaded 215 times
- Ivan - Tracker Software
- Site Admin
- Posts: 3550
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
The trouble occurs because the pdfx object is being destroyed before the event occured.
I'm not so familiar with Access and cannot say where this object is destroyed, but that is the cause.
I'm not so familiar with Access and cannot say where this object is destroyed, but that is the cause.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Excellent - thanks Ernstjan
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
Best regards
Tracker Support
http://www.tracker-software.com