Solved

Domains and WorkGroups

Posted on 2000-05-16
3
188 Views
Last Modified: 2010-05-02
I am currently using the API call 'WNetEnumResource' to return a list of Domains on my NT Network.

Unfortunately, I also get Workgroup names in the list.

My Question is how can I distinguish between Workgroup names and actual Domain Names in the returned list?

Windows NT User Manager does it, so there must be a way.

Grade A for the correct answer.

0
Comment
Question by:Ibs
3 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2814299
you may find these samples useful:

http://ds.dial.pipex.com/town/estate/aw83/VBStuff.htm
0
 
LVL 9

Accepted Solution

by:
Ruchi earned 100 total points
ID: 2814461
0
 

Author Comment

by:Ibs
ID: 2836758
Thanks. Nail on the Head.

0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question