473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Domain search like setting file permissions

I would like to create the shell dialog box that opens the search box that
allows a user to search for groups, users and or computers on a local
machine of on a domain (Like choosing domain users when setting file
permissions). Does anyone have a nice .Net wrapper that I can use to
accomplish this or know where I can find it online?

Thanks Much!!

Scott

Mar 16 '06 #1
6 1128
Hi Scott,

Based on my research, here is a sample on codeproject for your referecne.
Using the Windows 2000/XP Object Selection Dialog
http://www.thecodeproject.com/w2k/Bf...Selection2.asp

We have unmanaged C++ Document about using the dialog, but we did not
provide an official dotnet Wrap.
Directory Object Picker
http://windowssdk.msdn.microsoft.com...p?url=/library...
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.

Mar 17 '06 #2
That looks like exactly like what I need!!!

Is there a way I could get rid of that COM wrapper class?

""Peter Huang" [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Jy**************@TK2MSFTNGXA03.phx.gbl...
Hi Scott,

Based on my research, here is a sample on codeproject for your referecne.
Using the Windows 2000/XP Object Selection Dialog
http://www.thecodeproject.com/w2k/Bf...Selection2.asp

We have unmanaged C++ Document about using the dialog, but we did not
provide an official dotnet Wrap.
Directory Object Picker
http://windowssdk.msdn.microsoft.com...p?url=/library...
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.

This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or
information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software
from
the Internet.


Apr 4 '06 #3
Would I need to use PInvoke to port the Unmanaged C++ example into a .net
language?

""Peter Huang" [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Jy**************@TK2MSFTNGXA03.phx.gbl...
Hi Scott,

Based on my research, here is a sample on codeproject for your referecne.
Using the Windows 2000/XP Object Selection Dialog
http://www.thecodeproject.com/w2k/Bf...Selection2.asp

We have unmanaged C++ Document about using the dialog, but we did not
provide an official dotnet Wrap.
Directory Object Picker
http://windowssdk.msdn.microsoft.com...p?url=/library...
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.

This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or
information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software
from
the Internet.


Apr 5 '06 #4
Hi Scott,

To use unmanaged code, we do need a .NET managed Wrapper.
It seems that the link in codeproject has do some job.

If you do not want to use the Wrap, I think you may try to use unmanaged
code only.
Because to communicate between managed code and unmanaged code, we need a
wrapper to do the marshalling between managed code and unmanaged code.
Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 5 '06 #5
My only issue is that I would prefer to not to have to register a COM
component to run the application.

""Peter Huang" [MSFT]" <v-******@online.microsoft.com> wrote in message
news:3M**************@TK2MSFTNGXA01.phx.gbl...
Hi Scott,

To use unmanaged code, we do need a .NET managed Wrapper.
It seems that the link in codeproject has do some job.

If you do not want to use the Wrap, I think you may try to use unmanaged
code only.
Because to communicate between managed code and unmanaged code, we need a
wrapper to do the marshalling between managed code and unmanaged code.
Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.


Apr 21 '06 #6
Hi Scott,

Thanks for your response.
I do understanding your concern, that you do not want to register the COM
so that the deployment will be easier.
But now the dialog you want is implmeneted in the unmanaged COM, our .NET
wrap is used to call the COM Object.

If you are using XP or higher version, you may try to use the RegFree COM
option, but that have some limitation.
Here is a link for you reference.
Simplify App Deployment with ClickOnce and Registration-Free COM
http://msdn.microsoft.com/msdnmag/is...04/RegFreeCOM/

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 24 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: David Olive | last post by:
Hi guys, I'm having a bit of a problem getting a VB .NET console app to run happily as a scheduled task. The app itself generates a bunch of word documents on a file share on another server by...
2
by: Leonard | last post by:
I am using SmtpMail on a couple of ASP.NET pages. When mail is sent to an address outside the domain I get the "Could not access 'CDO.Message' object." error message. I have looked in the...
1
by: Angel Faus | last post by:
Hi, Our ASP.net application has stopped working. We are getting a "Server Application Unavailable" error, the message in the Event Log says it's due to wrong permissions on the .NET Framework...
10
by: Sridhar | last post by:
HI, I am having problems setting up a website so that it will be available only inside the domain. We have three servers. One is iis server and second one is internal server and the third one is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.