CompuServe Thread

#Network Connects

4 messages in this thread
#3255From: Thomas B. SimpsonOct 15, 1991 3:39 PM
Is there an API service that retrieves and sets network connections? I would like to write a VB routine for our company that retrieves the current network drives (connections), and then lets the user delete/add connections. This is identical to the Connect/Disconnect Net drive option in File Manager – except I would like to write a program that I can run without getting into file manager (besides, I use NDW and it doesn't have a network connections option). I looked in my Windows API book, but I didn't see any network related functions. ANy help would be greatly appreciated. /Tom There is 1 Reply.
#3335From: Jonathan Zuck (UFI)Oct 15, 1991 11:09 PM
Tom, The netword functions are documented in the DDK, unfortunately. However, the good news is that there is a sample in DL5 that uses these "undocumented" functions to accomplish just what you are after! -=- Jonathan There is 1 Reply.
#3420From: jeff verraOct 16, 1991 2:19 PM
Hi Jon, I'm looking for a NETAPI call to identify available SQL servers on my LAN. Is it possible to be incorporated into my VB application? Will this work for Novell or LAN Manager? Thanks – Rob There is 1 Reply.
#3450From: Jonathan Zuck (UFI)Oct 16, 1991 5:20 PM
Jeff, Unfortunately, you are going to need to detect which network and access different DLLs for LanMan and Novell for most purposes. You can get some basic info about drives, etc. from the generic network driver but that's about it. -=- Jonathan