Used to use version 2.5 (214.1) and everything is fine.
Just updated to the latest version 2.5 351 and the following items related to annotation stopped working:
1. Ctrl-C, Ctrl-V, Del keys are no longer working
Use annotation tools to draw a few things and try to copy and paste or delete using the keyboard input. Doesn't work as if the ActiveX control is not getting them. However, using mouse right click and select from pop-up is working.
2. Using the DoVerb command with "ExecuteCommand", "Paste" also failed to paste the bitmap from the clipboard to the pdf (it used to work.)
Did I miss something in the new version?
Thanks for your help.
upgraded latest viewer and things stopped working
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 2
- Joined: Wed Nov 20, 2013 11:20 pm
-
- Site Admin
- Posts: 17949
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: upgraded latest viewer and things stopped working
Hello raymond ho,
There should not be any significant changes between these builds. Could it be that you've implemented some code in the mean time that is e.g. trying to intercept shortcut commands and instead pass them to your main application to handle them?
Regards,
Stefan
There should not be any significant changes between these builds. Could it be that you've implemented some code in the mean time that is e.g. trying to intercept shortcut commands and instead pass them to your main application to handle them?
Regards,
Stefan
-
- User
- Posts: 2
- Joined: Wed Nov 20, 2013 11:20 pm
Re: upgraded latest viewer and things stopped working
The same codes react differently between the older and latest version.
e.g. executing the following codes in vb6 to paste an image from a picture box to the pdf
...
Clipboard.Clear
Clipboard.SetData Picture1.Picture, vbCFBitmap
Dim vDataIn As Variant, vDataOut As Variant
pdf1.DoVerb "", "ExecuteCommand", "Paste", vDataOut, 0
...
where Picture1 is a standard vb6 PictureBox with an image loaded and pdf1 is the PDFXchange ActiveX control.
The old version works as expected pasting the image on the PDF, but the new version won't.
e.g. executing the following codes in vb6 to paste an image from a picture box to the pdf
...
Clipboard.Clear
Clipboard.SetData Picture1.Picture, vbCFBitmap
Dim vDataIn As Variant, vDataOut As Variant
pdf1.DoVerb "", "ExecuteCommand", "Paste", vDataOut, 0
...
where Picture1 is a standard vb6 PictureBox with an image loaded and pdf1 is the PDFXchange ActiveX control.
The old version works as expected pasting the image on the PDF, but the new version won't.
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: upgraded latest viewer and things stopped working
Hi, Raymond.
I just checked the latest 2.5.315 build couldn't reproduce any problem with copy/paste features. Please check: may be you forgot turn on the handling of keyboard shorts by
pdfViewer.SetProperty("General.AllowAllAccelerators", true);
Also I tested the ExecuteCommand with "Paste" - and it works too..
Please check again your code or provide simple sample to reproduce your problems..
Cheers.
I just checked the latest 2.5.315 build couldn't reproduce any problem with copy/paste features. Please check: may be you forgot turn on the handling of keyboard shorts by
pdfViewer.SetProperty("General.AllowAllAccelerators", true);
Also I tested the ExecuteCommand with "Paste" - and it works too..
Please check again your code or provide simple sample to reproduce your problems..
Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.