Yes, it is a problem of Printer.KillDoc. Even the sample code from VB 6 (listed below) results in the same problem when running the Printer.KillDoc routine. If nothing being printed the KillDoc routine works well otherwise the application will be hooked. I don't know if it is a problem of VB...
Yes, it is a problem of Printer.KillDoc. Even the sample code from VB 6 (listed below) results in the same problem when running the Printer.KillDoc routine. If nothing being printed the KillDoc routine works well otherwise the application will be hooked. I don't know if it is a problem of VB...
When I use the Print.KillDoc routine to quit the printing job the application will be hooked. How can I do if I want to cancel the printing job?
Thanks.
Onrdbandit,
Thanks for your help. I tried the method you mentioned. It really change the speed bar. But the main menu back color keeps the way as before.
As Wings said changing the xp scheme to standard will solve the problem.
Thanks again.
Shouxi
Thanks for your suggestion.
Following code will help me to state the question. After printing something a message box will be shown asking if continue the printing. There is no problem for vbOK button (Continue the printing). But if I want to cancel the printing job and select vbCancel the...
I got the problem of discarding the printing job in VB. When I stop the printing job by Printer.KillDoc and Printer.EndDoc the program lock-up. How can I solve it?
Thanks ahead.
Shouxi Wang
Gas Liquids Engineering
Hi,
I compiled an application with C++ Builder 6 but the back color of the main menu is white when running it in Windows XP. How can I solve this problem? Thanks.
Regards,
Hi,
I opened a Excel work sheet using TExcelApplication->Connect method in C++ Builder 6.0. When I tried to disconnect it by the TExcelApplication->Disconnect method it always closes the Excel and shows the Save As dialog. How can I keep the opened Excel still open without the Save As dialog...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.