Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbKey in Keycode Doesn't Include Fullstop 1

Status
Not open for further replies.

MrVB50au

Programmer
Mar 16, 2003
326
AU
I have a textbox where the user types in a filename but as soon as the user presses the FULLSTOP key, I want a message box pop up telling the user that they don't need to include a file extention.

vbKey constants have every key on the keyboard covered except the FULLSTOP (NOT the Decimal Point), the "FULLSTOP" key.

Can anyone please help me in establishing how I can scan for the FULLSTOP when the user presses it so it pops up a message box please?

Andrew.

 
private const vbKeyFullStop = 190

or use KeyPress instead of KeyDown
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top