Solved

WNetEnumResource Function not working in windows 2003 and Xp

Posted on 2004-10-14
4
348 Views
Last Modified: 2008-02-26
I am using WNetEnumResource Function for accessing domain  and workgroup name.
Its working fine on win2k but not returning anything in windows2003 and xp.
Is there any other equivalent function in windows 2003 and xp

0
Comment
Question by:leork2004
[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
4 Comments
 
LVL 32

Accepted Solution

by:
Erick37 earned 500 total points
ID: 12308705
I just tested the sample "Enumerating Local Network Resources via WNetEnumResource" at
http://vbnet.mvps.org/index.html?code/network/wnetenumresource.htm
on Win XP Pro, and it seems to be working fine.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

717 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