How to disable print function at toolbar.
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 35
- Joined: Thu Nov 26, 2009 3:14 am
How to disable print function at toolbar.
How to disable the print or other function at toolbar?
How the disable commanline work in VB6?
I face some run time error and setproperty of object failed
How the disable commanline work in VB6?
I face some run time error and setproperty of object failed
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: How to disable print function at toolbar.
Are you using the developers SDK ?
If so please see the help file provided, page 241 and the examples provided :
Also there is a forum specifically for developers here:
https://forum.pdf-xchange.com/ ... m.php?f=36
Also please specofy what runtime errors you are receiving - and do view the examples as this may well assist in resolving.
If so please see the help file provided, page 241 and the examples provided :
Also there is a forum specifically for developers here:
https://forum.pdf-xchange.com/ ... m.php?f=36
Also please specofy what runtime errors you are receiving - and do view the examples as this may well assist in resolving.
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: 35
- Joined: Thu Nov 26, 2009 3:14 am
Re: How to disable print function at toolbar.
I found out something very funny.
I had customize my own toolbar called File
File had: Save Function, Print Function and Email Function
Problem i face:
1: Open any PDF file
2: Loadsetting of my customize setting
then what i saw was the email function button on my toolbar was OFF.... why?
If i do as below then email function button was ON
1. Open any PDF File
2. Call frmMain.PDFXCview1.setProperty("View.Bars[#32908].Visible", 1)
How come, email function it didn't work in my customize setting?
I also face some bug. If i selected the last page in thumbnail and use via code to delete the last page will crash the PDFXChange.
I had customize my own toolbar called File
File had: Save Function, Print Function and Email Function
Problem i face:
1: Open any PDF file
2: Loadsetting of my customize setting
then what i saw was the email function button on my toolbar was OFF.... why?
If i do as below then email function button was ON
1. Open any PDF File
2. Call frmMain.PDFXCview1.setProperty("View.Bars[#32908].Visible", 1)
How come, email function it didn't work in my customize setting?
I also face some bug. If i selected the last page in thumbnail and use via code to delete the last page will crash the PDFXChange.
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: How to disable print function at toolbar.
You really, really need to provide the requested information in my previous post - if you want us to help.
Please also advise your email client, and zip and supply a small example application (source code and compiled) showing the problem - please remove any license information in your code.
We will then be able to assist.
Please also advise your email client, and zip and supply a small example application (source code and compiled) showing the problem - please remove any license information in your code.
We will then be able to assist.
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: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: How to disable print function at toolbar.
Hi johnnyjoe,
I cannot reproduce your problems with email toolbar button and deleting of last page here. So maybe you can send us your test project so we can look at it?
I cannot reproduce your problems with email toolbar button and deleting of last page here. So maybe you can send us your test project so we can look at it?
-
- User
- Posts: 35
- Joined: Thu Nov 26, 2009 3:14 am
Re: How to disable print function at toolbar.
At here i attached the project (VB6) that im doing poc.
Hope that you can help me. Im using PDFXChange Viewer SDK version 2.0 Build 43
How to use:
1. Press the open button. Select the How.pdf from folder in the project
2. Press the View Only button. (Will show the customize toolbar and the other setting by via code)
Problem:
1. The send by email button at toolbar is not ON
2. The snaptool button at toolbar is not ON
(If im not using load setting for my customize toolbar the No.1 - 2 will be ON)
3. Select the last page from thumbnail and then press the delete button will had error.
4. Press print button, loading to show the screen of print was so slow, take more then 30 second.(event just 6 page?)
5. Page 2 was not in correct annotation, can i just press a button and it will auto rotate for me? Mean I no need to set it rotate 90 degree or 270 degree.
6. Can i scan by twain by using this SDK?
Thank for the help! We really appreciate the help that you had given, and we are prepare to buy the product in next week. Hope all this problem can be solved.
Hope that you can help me. Im using PDFXChange Viewer SDK version 2.0 Build 43
How to use:
1. Press the open button. Select the How.pdf from folder in the project
2. Press the View Only button. (Will show the customize toolbar and the other setting by via code)
Problem:
1. The send by email button at toolbar is not ON
2. The snaptool button at toolbar is not ON
(If im not using load setting for my customize toolbar the No.1 - 2 will be ON)
3. Select the last page from thumbnail and then press the delete button will had error.
4. Press print button, loading to show the screen of print was so slow, take more then 30 second.(event just 6 page?)
5. Page 2 was not in correct annotation, can i just press a button and it will auto rotate for me? Mean I no need to set it rotate 90 degree or 270 degree.
6. Can i scan by twain by using this SDK?
Thank for the help! We really appreciate the help that you had given, and we are prepare to buy the product in next week. Hope all this problem can be solved.
You do not have the required permissions to view the files attached to this post.
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: How to disable print function at toolbar.
the Problem is in your "Test.dat" file. You have disabled these commands before exporting the settings to a file, so you will need to make new settings file (please, at this time be more careful of what settings you are exporting).1. The send by email button at toolbar is not ON
2. The snaptool button at toolbar is not ON
(If im not using load setting for my customize toolbar the No.1 - 2 will be ON)
Cannot reproduce these problems on my side. Please, update your PDF-XChange Viewer SDK to the latest version and report back if this problems still exists.3. Select the last page from thumbnail and then press the delete button will had error.
4. Press print button, loading to show the screen of print was so slow, take more then 30 second.(event just 6 page?)
This page is rotated in the PDF document. The Viewer Ax doesn't have relation to this. To place this page in he correct position you can rotate it in Viewer and then save document.5. Page 2 was not in correct annotation, can i just press a button and it will auto rotate for me? Mean I no need to set it rotate 90 degree or 270 degree.
You can do this only by using Viewer UI. For now we don't have any functions that allow to do this programmatically, as has already been explained to you in previous messages(and our answers to them) you have sent.6. Can i scan by twain by using this SDK?
-
- User
- Posts: 35
- Joined: Thu Nov 26, 2009 3:14 am
Re: How to disable print function at toolbar.
Thank! for the help.
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: How to disable print function at toolbar.
Pleasure 

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: 35
- Joined: Thu Nov 26, 2009 3:14 am
Re: How to disable print function at toolbar.
I face a new problem here.
I open a pdf file and then add some comment.
then when i go to open other file for sure PDFXChange Viewer will prompt a message box.
Now what i want to know is... how i able to track the file need to save by using via code.
So that i will prompt my own message box to ask user to save.
I really hope you can help about this....
Thank!
I open a pdf file and then add some comment.
then when i go to open other file for sure PDFXChange Viewer will prompt a message box.
Now what i want to know is... how i able to track the file need to save by using via code.
So that i will prompt my own message box to ask user to save.
I really hope you can help about this....
Thank!
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: How to disable print function at toolbar.
1. You may read "Modified" flag for any document and show your own save dialog if document was modified.
2. You may get event about showing "save changes" message box, and modify (or deny) this message. For more information, please see Help: "Objects::Prompts.ConfirmDocumentSave" topic.
HTH.
2. You may get event about showing "save changes" message box, and modify (or deny) this message. For more information, please see Help: "Objects::Prompts.ConfirmDocumentSave" topic.
HTH.
-
- User
- Posts: 35
- Joined: Thu Nov 26, 2009 3:14 am
Re: How to disable print function at toolbar.
Thank! You really help me alots.


-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: How to disable print function at toolbar.

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