Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Msagent, how do I wait till its done
Message
From
04/04/2003 12:23:16
 
 
To
04/04/2003 09:14:53
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00773778
Message ID:
00774095
Views:
14
>Couldnt get that to work However,
>Finally found something in the MSDN. Works good.
>
>
.speak("Say something.\mrk=1\")
>
>note the \mrk=1\
>
>Then the _agent.bookmark event fires and passes the parameter 1, the event only fires after the mrk is encountered.

you have to check for 2 numers:
DO WHILE inlist(loRequest.Status, 2, 4)
   wait wind 'agent is talking - wait' nowait
   DOEVENTS
ENDdo
wait wind "he's finsished - go ahead" nowait
* *** 0 Request successfully completed.  
* *** 1 Request failed.  
* *** 2 Request pending (in the queue, but not complete).  
* *** 3 Request interrupted.  
* *** 4 Request in progress.  
hope this helps.

my problem is i can not get the agent to show, it shows only the message baloon
Previous
Reply
Map
View

Click here to load this message in the networking platform