Thread: password box in c#

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    85

    password box in c#

    is there an implementation of the 'pasword' style textbox in C#, Similar to the one in Visual Web Builder ?

    or should i look at including the

    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    to get access to it and if so, how do i get it to show up in the toolbar so i can use it on my form ?

    would prefer a C# solution tbh.

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    If you are talking about a .Net 2.0 winforms app, you can just use the standard text field and put a * or whatever in the password char property.
    Woop?

  3. #3
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Just set the PasswordChar property of the textbox to a certain character.
    Last edited by indigo0086; 12-12-2008 at 05:48 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 02:59 PM
  2. [Q]Hide Password
    By Yuri in forum C++ Programming
    Replies: 14
    Last Post: 03-02-2006, 03:42 AM
  3. How to program a "back" button with MFC
    By 99atlantic in forum Windows Programming
    Replies: 3
    Last Post: 04-26-2005, 08:34 PM
  4. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 08:00 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM