Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User-interface operation not allowed at this time. Why?
Message
 
 
To
21/11/2000 06:31:45
Wouter Schut
Www.Selectif.Nl/Www.Seweso-Systems.Com
Andelst, Netherlands
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00443995
Message ID:
00444196
Views:
19
Wouter,

Nick is probably right, you have a DLL that's trying to put up a VFP error dialog and it can't since it's a DLL. You must take extraordinary care in a DLL and do things like check FILE() before you try to open a file. You also need to put an error handler in place that will log the error to a .txt file(s) so that you can easily go in and post-mortem the crash.

>Why do I get this error:
>
>Error:2031
>Error message: User-interface operation not allowed at this time.
>Line of code with error: 600
>Line number of error: 9
>Program with error: DOS.SELECTIONEXISTS
>
>In this line:
>
>USE (THIS.SelDir + '\S_Seldef') IN 0 AGAIN ALIAS SelectionExists_Tmp
>
>Does it look I want any user interface here? What do I do wrong?
>
>The error above was catched with an error handler, so the line of code above does not want to display an error.....
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform