Select Users or Groups Form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • None

    #1

    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

  • Dmytro Lapshyn [MVP]

    #2
    Re: Select Users or Groups Form

    Hi,

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



    --
    Sincerely,
    Dmytro Lapshyn [Visual Developer - Visual C# MVP]


    "None" <vinkumrect@gma il.com> wrote in message
    news:1129621804 .500878.106150@ g43g2000cwa.goo glegroups.com.. .[color=blue]
    > 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
    >[/color]

    Comment

    • None

      #3
      Re: Select Users or Groups Form

      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. ToInt32() in Windows
      Forms. If anybody knows solution please let me know it.

      Thanks, Vinoth

      Comment

      Working...