?
Solved

COMMON VB ASPECTS

Posted on 2003-03-10
3
Medium Priority
?
161 Views
Last Modified: 2012-05-05
When typing in a password how do I hide the contents of my password when Im typing it?
I.e PASSWORD: ******

How do I also put separators in my drop down menus, to illustrate a category or section i.e. print section has separators?
0
Comment
Question by:Lucy168
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 80 total points
ID: 8104041
Hi Lucy168,

For the first, set the .PasswordChar property to * and it will do it for you.

For the second, in the menu editor, use "-" for the caption and name it as you wish. This will display a seperator bar instead of "-"

Tim Cottee MCSD, MCDBA, CPIM
http://www.timcottee.tk 

Brainbench MVP for Visual Basic
http://www.brainbench.com
0
 
LVL 7

Expert Comment

by:Smallint
ID: 8104044
Simply set PasswordChar of your textbox.

To insert a separator caption of menu should be "-" (minus)
0
 
LVL 7

Expert Comment

by:Smallint
ID: 8104063
Sorry TimCottee you have been little bit faster than me... ;)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question