Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to retrieve shared resources ??

Posted on 2000-02-28
2
Medium Priority
?
163 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 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

885 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