Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP exe running from SQL Server
Message
From
23/09/1999 13:46:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
VFP exe running from SQL Server
Miscellaneous
Thread ID:
00268093
Message ID:
00268093
Views:
62
I can very easily create a vfp executable, and run it from sql server using the xp_cmdshell stored procedure.

I am trying to write one which opens up a dde connection to another app which is always running in the backround (A zip+4 address verification program).

As a standalone exe, it works fine. When I call it from the xp_cmdshell in SQL, it hangs or won't connect to the other app. I've already made sure that no user dialog, wait windows, or messageboxs are present, and set the DDESETOPTION Safety to .f.

Any suggestions? Ultimately, I want to create a trigger on an sql data entry table which will call a foxpro exe on each insert to verify and correct the records as they are inserted. Data entry into the table will come from both a VFP application directly, and from forms on a web page.
Next
Reply
Map
View

Click here to load this message in the networking platform