Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically determine Server and database
Message
 
 
To
06/09/2006 14:23:44
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01151434
Message ID:
01151458
Views:
42
See Re: How get list of available SQL servers? Message #1096090 and Re: List of Servers Message #936587

>I'll see if I can get one of those to work. I like the idea of using the Windows API, but I'm not sure how I would call it after defining it like this:
>
>DECLARE INTEGER NetServerEnum IN netapi32;
>	INTEGER servername, INTEGER level,;
>	INTEGER @bufptr, INTEGER prefmaxlen,;
>	INTEGER @entriesread, INTEGER @totalentries,;
>	INTEGER servertype, INTEGER domain,;
>	INTEGER resume_handle
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform