Hi,
Version 1.1.1544.23908
Quite a simple problem really.
Steps to reproduce: -
Create a new windows project.
Add a teechart control (tchart1).
Add a teechart commander control (commander1).
Set the 'Chart' property of commander1 to tchart1.
Compile the application.
UNINSTALL all printers from the machine the application will run.
Run the application on that machine.
Finally, press the "PRINT" button on the commander or the bring up the Teechart Editor (press "Edit" on the commander) and press the "Print" tab.
/*-----------------------------------------------------------------------*/
I have just downloaded version 1.1.1769.19457.
In the release notes for this version it clearly states:
18) Opening the Print Preview with no Printer installed produced an untrapped error. Fixed.
This error still seems to exist?
Thanks
Open the Print Preview, no Printer installed produced error
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi ..
We worked around this problem by not adding a PrintPreviewControl to the form when there was no printer installed, but it seems that it has slipped back into the form at designtime so giving the error.
This problem will not occur again in future versions. Apologies for the slip-up.
This seems to be a generic issue with the .NET framework's PrintPreviewControl in that it throws an exception when there's no printer installed.This error still seems to exist?
We worked around this problem by not adding a PrintPreviewControl to the form when there was no printer installed, but it seems that it has slipped back into the form at designtime so giving the error.
This problem will not occur again in future versions. Apologies for the slip-up.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/