Solved

Domains and WorkGroups

Posted on 2000-05-16
3
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

691 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