Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP as COM server
Message
From
16/10/2001 09:34:15
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00568893
Message ID:
00568977
Views:
15
>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?

An alternative would be to check for the existence of the file before doing a select. In that way your COM server can keep running without error, if it can adjust.
Previous
Reply
Map
View

Click here to load this message in the networking platform