General information
Category:
COM/DCOM and OLE Automation
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only