Solved

Setting print share permissions

Posted on 2001-08-13
4
208 Views
Last Modified: 2012-08-14
i like to manage printer share permissions using vb. no user interface needed.
input parameters are: username, printer name, allow/deny

thanks for your advise
0
Comment
Question by:meos
4 Comments
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 6379210
Hi meos,

Take a look on: Several routines to connect and disconnect drives and printers.
http://www.mvps.org/vbnet/code/network/netconnect.htm

and

http://www.mvps.org/vbnet/index.html?code/network/index.html

'Hope will help.
0
 
LVL 3

Author Comment

by:meos
ID: 6379233
ryancys:
clients have connected to printers they use. i like only manage their permissions ALLOW or DENY. it's a question about using ACE, ACL, ChangePermission etc.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7199921
meos, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Refund points and save as a 0-pt PAQ.

DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 7213402
Per recommendation, points refunded and question closed.

Netminder
CS Moderator
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

758 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

20 Experts available now in Live!

Get 1:1 Help Now