![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am using the DirectoryEntry class to enumerate all the workgroups on a network (there are only two). Pretty simple VB code. Dim de_domain As New DirectoryEntry() de_domain.Path = \"WinNT:\" For Each domain As DirectoryEntry In de_domain.Children() ..... Next It works well. In the future I will be taking this program into a network environment using a domain server, rather than workgroups. I want to be prepared for that. My question is: will the same code enumerate the computers on a domain server network? According to Microsoft documentation the Path property is useful to: "Discover all domains on the network. For example, 'WinNT:' The domains can be found by enumerating the children of this entry." But networking has never been my strong suit and I am not sure if I should take that statement at face value. WinNT: is not a codename for Workgroups is it? -- DreamU |