Web Connection
Wait '' timeout 5
Rick,
Since wait is a ui function in vfp and that's a no no in com, what is the right way to have a function wait a few seconds?
Thanks!

Wait Window
actually works I believe as it's non-modal and not a dialog. If you use no prompt there's no UI...
INKEY()
works, or you can use WinApi_Sleep()
.
+++ Rick ---
Wait with '' actually does not work in COM which is what I was trying to say. I guess the framework looks for the word wait and errors out by design. Inkey(5) is working just fine, thanks!