Solved

How to retrieve shared resources ??

Posted on 2000-02-28
2
153 Views
Last Modified: 2010-04-04
How can I retrieve all shared resources (disks & printers) on
my local computer. As far as I know I have to use WNetOpenEnum and WNetEnumResource, but I didn't get any further than this.
Please give me an example on how to use them.

Tulip
0
Comment
Question by:Tulip
2 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 2565929
hi Tulip,
there a great example here:

http://www.delphifreestuff.com/examples/wnetexmp.zip

Regards Barry
0
 

Author Comment

by:Tulip
ID: 2575884
Great! That's what I wanted.
Thanks Barry
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now