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:
00725079
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform