473,386 Members | 1,830 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,386 software developers and data experts.

Select Users or Groups Form

Hi,

I have one Listbox and Two buttons one is Add and Other is Remove.
When i click the add button i want to show the Select Users or Groups
Form(i.e, When you right click any file or folder and click Properties
and then Go to Seurity Tab and Click Add Button. Now it will show the
Select Users or Groups Form.After selecting the user when you click ok.
The user will be added to the Listbox).

Now my requirment is i have custom listbox and Add and Remove
Buttons and i need when user click the Add button i want to show the
Select Users or Groups Form(system form). Then when they select any
user that user have to be added in my Custom list box.

How can i do this? If anybody knows the solution please let me know to
solve it?

Thanks,
Vinoth

Nov 17 '05 #1
2 1655
Hi,

Here's an article with a C++ and a C# example:

http://www.codeproject.com/w2k/BfObjectSelection2.asp

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"None" <vi********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi,

I have one Listbox and Two buttons one is Add and Other is Remove.
When i click the add button i want to show the Select Users or Groups
Form(i.e, When you right click any file or folder and click Properties
and then Go to Seurity Tab and Click Add Button. Now it will show the
Select Users or Groups Form.After selecting the user when you click ok.
The user will be added to the Listbox).

Now my requirment is i have custom listbox and Add and Remove
Buttons and i need when user click the Add button i want to show the
Select Users or Groups Form(system form). Then when they select any
user that user have to be added in my Custom list box.

How can i do this? If anybody knows the solution please let me know to
solve it?

Thanks,
Vinoth


Nov 17 '05 #2
Thanks for ur reply,

I want to call this from aspx page. But the code is given in
Windows forms. Is it possible to do it from aspx page?

How do I get an HWND for an aspx page? like
System.Windows.Forms.Form.Acti*veForm.Handle.ToInt 32() in Windows
Forms. If anybody knows solution please let me know it.

Thanks, Vinoth

Nov 17 '05 #3

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

Similar topics

5
by: Mark | last post by:
Hi - I have set-up security for my users - the security is held in a text field, separated by a comma. If the users a member of groups 1, 5 and 6 - the usergroups field is set to 1,5,6 - to...
11
by: wackyphill | last post by:
I want to create a stored procedure that returns a list of records from a table. But depending on a userID value given only certain records will be returned that they have access to. I think...
1
by: Eric Trav | last post by:
Hello, I am using mozilla and javascript to change the style background color for my select with onfocus() and back to white with onblur(). When i process onfocus(); i have to click on the...
4
by: sara | last post by:
Hi - I can't seem to choose the keywords to find an answer to this query - or maybe it's not in the posts. I have a database where the Buyers enter their Orders and then Accounts Payable posts...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.