Hi Einar use SYS(2335, 0) This will generate an error if any user interface like the open of a window or a messagebox occurs.
>Hello,
>
>We are working with reprogramming av Clipper system using Delphi 5 and Apollo to access DBF/FPT/CDX-tables. After learning about using VFP as a COM-server, I found using SQL is very fast and convenient and that it also don't care about our modified index collation.
>
>But when I have a SQL statement trying to do select from a nonexisting dbf, VFP will open a dialog asking for selection. If I run this with application.visible=.F. the calling program will hang while the com-program is not displaying anything. Is there a workaround here?
Alexandre Palma
Senior Application Architect