VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Show all Domains and Computers in LAN

Mark van Renswoude  (6 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

After searching for this without results for about a year, I put all little bits of code I have found together and created these two Class Modules. One Class Module handles the enumeration of the Domains / Workgroups in your LAN, the other handles the enumeration of the Computers available in a specific domain. Included is a small demonstration program (as shown in the screenshot). Because of the Class Modules, you can easily add this functionality to any other program. This has only been tested on Win98 SE (so it does work on Win98, not like most other examples I have found, they only worked on WinNT). If anyone has problems with the enumeration on certain systems, please let me know so I can work it out. As usual, please leave comments, and vote if you like.

API Declarations
All in the class modules.

Rate Show all Domains and Computers in LAN (17(17 Vote))

Download Show all Domains and Computers in LAN

Show all Domains and Computers in LAN Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters