Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to wait till word finishes?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00724707
Message ID:
00725087
Vues:
25
>>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,

I did try replacing the wait window with a DOEVENTS but the crash still occurred.
The "Server too busy" error is what Fox is reporting after the Word exception. I suspect that you may be right and this is only happening in my development environment as no one has reported it as a problem, but that doesn't mean it not happening to them you know what users are like :-).

I'll try reinstalling Word on my machine and see is that solves it.

Thanks for all your help.
Caroline
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform