Discussion Locked
0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a vb6 application that uses microsoft word to print a document. The first time I run the app, it works fine. On the second time, I get the following error:"Problem getting printer information from the printer"-(error 484). The printer properties can no longer be accessed immediately after Word writes the document. I've seen the standard error information from MSDN. None of these are the problem. (printer is installed, no paper jam, etc.). When I reboot, the problem is corrected. Any help would greatly appreciated. Thanks.
2 replies
by mjtechrep
Point value changed by question poster.
Hi:
It seems like your VB6 routine doesn't close properly all (COM) objects after printing. Because this, it might be happening that one of these errant objects keeps an open handle to the printer and locks all further access to it. When you reboot your computer, all COM objects are destroyed, and with it, the open handle to the printer is freed as well as the access to the printer.
You should ?close? and destroy all objects in the closing section of your VB6 routine. Based on your description, this is my best educated guess on how to solve your problem.
Good luck!
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Question Unanswered
Best Way to Make Long WordPress Location Guides Mobile Friendly
0 helpful
0 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies