Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enumerating SQL Servers in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01384624
Message ID:
01384638
Vues:
93
>Menachem,
>
>Check SQLSMO for SQL server 2005 Message #1162881
>
>>Yeah, I know. I am going to assume that the server is browseable and the documentation will just state that if you are installed 2k5 express on a server you have to make sure it is browseable. I need to enumerate the servers properly so the user can select which server they need to connect to.
>>
>>OSQL.EXE was one solution suggested in the past and that works. Only problem with that is:
>>
>>1) It is installed with a SQL Server component (and I do not think it is installed with the native client but rather the server)
>>2) Given 1), I doubt I can distribute OSQL.EXE with my app to do the test
>>3) OSQL runs in DOS so that would cause a DOS window to flash while it's doing its thing...
>>

Nope... doesn't work. Gives me the same results I got from the 2004 solution... Funny this is OSQL gives me what I want... I just wish there was a way to do that within VFP...
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform