Solved

How to invoke User Browse dlg (as seen in DCOMCNFG)

Posted on 1998-10-26
3
342 Views
Last Modified: 2013-12-03
Hi all...

I'd like to invoke that handy user browse dialog in NT, as seen in DCOMCNFG (Run DCOMCNFG, click Properties, select Identity tab, select "This User", click Browse) and in general on NT when you want to browse for users (share a drive and select the permissions button).

Running Depends on DCOMCNFG shows that it links to NETUI2.DLL, which exports among other things: OpenUserBrowser, EnumUserBrowserSelection, and CloseUserBrowser.  Searching MSDN and the net have turned up nil, and I'd hate to waste the time coding this dialog when NT so thoughtfully included one.

Has anyone figured out how to call this dialog, or how I might find out how to call this dialog?  Thanks in advance...
0
Comment
Question by:tsollas
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 200 total points
Comment Utility
The dialog provided by Windows NT is not reusable. For now, you need to write your own.

B ekiM
0
 

Author Comment

by:tsollas
Comment Utility
Thanks for the reply, Mike.  My continuing searches have been fruitless.

I don't know if MS plans to include this type of functionality in the future, but it would be nice if they did.  I'll tell you why: DCOMCNFG is not an install friendly tool.  I'm configuring a COM server to "RunAs" a specific user (which I can already do progmatically), but I'd like to give the installer a nice UI.  It'd be nice to have one...
0
 

Author Comment

by:tsollas
Comment Utility
Thanks for the reply, Mike.  My continuing searches have been fruitless.

I don't know if MS plans to include this type of functionality in the future, but it would be nice if they did.  I'll tell you why: DCOMCNFG is not an install friendly tool.  I'm configuring a COM server to "RunAs" a specific user (which I can already do progmatically), but I'd like to give the installer a nice UI.  It'd be nice to have one...
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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

12 Experts available now in Live!

Get 1:1 Help Now