Hi!
In VFP 6 it will not hang up server. Take a look to the SYS(2335) function.
If unattended mode is enabled, it will throw error #2031 User-interface operation not allowed at this time. That is why I suggested that this workaround might be used in your case.
>>As expected. After Retry COUNT command has no alias, so it pops up the open dialog box. Cancel on that open dialog box will cause error again and that time it will return correctly. I assume you write this for WWC, so open dialog box will not appear but error will be generated because no output is allowed in the COM server.
>
>To my knowledge, whenever a table is not opened and that we make reference to it, a dialog will popup and that will hang the server under COM.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.