Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP as COM server
Message
From
16/10/2001 04:53:24
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00568893
Message ID:
00568894
Views:
25
This message has been marked as the solution to the initial question of the thread.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform