Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP exe running from SQL Server
Message
De
23/09/1999 13:46:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
VFP exe running from SQL Server
Divers
Thread ID:
00268093
Message ID:
00268093
Vues:
61
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform