Re: VB6 Word Automation Printing Problem Vista Op system
- From: "Jonathan West" <jwest@xxxxxxxx>
- Date: Fri, 30 Mar 2007 10:54:34 +0100
"AWIcurrent" <AWIcurrent@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:9285B04D-3B83-4052-8FEE-FAE0C0686931@xxxxxxxxxxxxxxxx
We have code that works great with prior op systems to Vista.
It works great up to the point of printing in Vista with Word 2002, but then
fails on printing. Word then hangs and gives the following error messages:
Apphang XprocB1 WinWord.exe
ApVersion 10.0.2627.0
Time stamp 3a9cdde7
Hang Signature da7d
Hang type 32
Waiting on Application SynTpenh.exe
working on version 9.0.1.3
OSversion 6.0.6000.2.0.0.768.2
Local ID = 1033
Additional Hang Signature 1 8587b7f81573386cf647caf99ca5062
Signature 2 6e25
signature 3 1103dde0f71578f9e76a161eee793227
Signature 4 da7d
Signature 5 same as signature 1
Signature 6 6e25
signature 7 same as signature 3
The printer is a network printer on an ip address that works fine with Word.
The automation was working. Maybe the issue is caused by laptop time outs,
I do not know what to make of this.
Without knowing more about your code, it is almost impossible to diagnose the problem. Since it appears to occur only on a specific configuration, even if we know about the code it will be almost impossible to reproduce the problem on a different system.
As far as I can see, all you can do is produce a debug version of your VB6 program that spits out log messages at regular intervals, and see if you can identify where exactly the problem lies. Then it will probably be a matter of inserting a pause or two so that Vista can catch up with itself.
By the way, when you use the PrintOut method, do you set the Background parameter to False? If you don't, I would strongly recommend that you do, so that each print job is fully sent to the print spooler before you start on the next. otherwise, Word can find itself attempting simultaneously to print multiple documents, and eventually expires from exhaustion at the effort.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
.
- Prev by Date: Re: User Form
- Next by Date: Re: Public combobox on user form initialization?
- Previous by thread: Re: How do I auto populate a field based off of my list selection
- Next by thread: Re: Public combobox on user form initialization?
- Index(es):
Relevant Pages
|