index > Visual Basic for Applications (VBA) > Password question

Password question


Quick question regarding passwords in VBA

I have created a form that requires the user to enter a password. It works fine but I dont want it to display the actual characters that the user is typing, I want it to display bullets.

Any suggestions?????

Thanks a lot!

HMariana

I have a feeling you're going to get a reply from one of the moderators re: VBA... Something along the lines of "This forum is for VB .NET" and pointing you to the VBA forums...

If you are actually working in .NET, just set the behavior property "Password Char" for that field to whatever you want displayed (*, etc.).




AHHHH!!!! Oh, that makes sense...
S.Rains

Select the text box in the designer, right-click, select properties...in the properties you will see PasswordChar and UseSystemPasswordchar, setting these changes the behaviour of the text box.




R
Rabtok
thread moved to the VBA forums


Need 2 be back @ MS - MS All the way! Follower since 1995 MS Super Evangelist| MSDN Forums Moderator
ahmedilyas
if its a text box on a form just set the ipnut mask on the text box to 'password'
RhysDavies
Thanks a lot for the help and quick response
HMariana
reply 6

You can use google to search for other answers

 

More Articles

• Passing commands to unix from VBA EXCEL
• VBA training resources
• How do I...
• WYSIWYG
• Problem automatic opening of .doc's with WebTools elements fails
• excel vba
• VBA How to cope with unicode strings
• Excel shape classname in Windows API
• Icons In ListBox
• Detect Excel Version in VB6 Application
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

• Lack of mouse scroll wheel support in VBA
• Error after added a formule in cell with
• Trying to get VB to update charts in Excel
• Calling VBA code from ASP
• create command button that holds a proce
• Export four columns of a Spreadsheet to
• read only file opening
• How to use data from inputbox
• Wildcards In Access
• VB6 XP Themes support. Solved! Source in
• MsForms.TextBox refresh function
• Excel 2003 Macro to VB .Net v7
• Odd or even and converting Decimal to bi
• Excel Data Read
• passing commands to VBA in PPT?

Hot Articles

• VBA Visio 2002 and OpenEx
• (0x800A03EC): Paste method of Worksheet
• Can a field result in a Query be formatt
• goal seek
• Set Folder property
• Excel macro not able to SetSourceData fo
• Saving information in a form
• Call Windows API to store hyperlink path
• Using Inet to download an FTP File
• Filling data from one sheet to another (
• How to copy pivot table RESULT from Acce
• provider cannot found with MDAC 2.8 Win
• SetSourceData frustration
• Need to Count the replacements made by a
• 1004 Run-time error

Recommend Articles

• Please Help!! Excel driving me mad!
• Dllokup help
• Urgent help regarding line chart thru Ex
• Outlook 2003 Script - Opening encrypted
• Setting Autonumber back to zero
• Word Macro and Template File
• No Database Type
• Ms Access form creation
• How to use Direct3D in VBA
• How Can Write in Data Grid
• A Simple question about vba editor and v
• Loop til you drop
• macro script?
• Access to CryptEncrypt (CryptoAPI/WinAPI
• Installing VBA6.0 on XP