Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLStringConnect() - working as .app, not as .exe
Message
De
04/07/2009 06:33:40
 
 
À
04/07/2009 05:30:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01410028
Message ID:
01410030
Vues:
53
>I've been testing an application that involves connectivity to SQL Server. When the application is compiled as an .app file and run inside VFP, connections initiated by SQLStringConnect() work just fine. However, when the application is compiled as an .exe file and run independently, after stalling for a long time, the attempt to connect fails.
>
>I'm stymied...

I agree with Cetin's comment. FWIW, you can use AError() to determine error numbers/messages when any Vfp SQL*() function fails, it's useful for unsuccessful SqlExec() lines as well as failing SQLStringConnect() etc.


hth
-Stefan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform