Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to wait till word finishes?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00724707
Message ID:
00725079
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>If I place a wait window nowait after the Update it consistently works, otherwise Word throws an exception "The instruction at 0x.... referenced memory at 0x... The memory could not be read". Now as this is not a Fox error I didn't think I can trap it - is that correct?
>

You are right, but that's an entirely different error than the "Server too busy", and shouldn't happen at all unless something's wrong with the hardware/software installation on that particular machine...

The fact that a "wait window nowait" solves the problem makes me think it's something about the OS needing a break for processing pending messages; that's what any console output or input does. Try replacing it with a DOEVENTS, which is supposed to do right that in an explicit way.

Regards,
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform