Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check from client if ORACLE service is running
Message
 
 
À
27/02/2002 01:51:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00623554
Message ID:
00625814
Vues:
13
To set the default to NEVER PROMPT for any future attempt to create a connection, use 0 as the ConnectionHandle:

? SQLSetProp(0, 'DispLogin', 3)

>Thanks guys,
>
>This will do the trick. One more thing how do i disable the ODBC Login Dialog.
>If ORACLE SERVICE or TNS Listener are not running then before i display user with my messagebox, ODBC login prompt comes up. I know i can disable this but only if connection is established.
>expl. SQLSETPROP(cConnectionHandle, 'DispLogin', 3)
>Any ideas how to avoid this?
>
>Thanks
>
>Dejan
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform