does any one have a ascii code chart or just the ascii code for del please someone help
WHat would we do with out Microsoft. A lot more.
You can use the VB constant: vbKeyDelete
The KeyCode in the KeyDown event is 46. Del is not recognized in the KeyPress event. In the KeyPress event the KeyAscii for the backspace is 8.
Tips, Examples & Tutorials: A valuable forum tool • Generate unique TreeView keys • TreeView with "open" and "closed folder" icons • Time code using GetTickCount • How to trap the Tab key • Scroll a form • NumberBox ActiveX control • Color a ListView row • An InputBox form • How to use SaveSetting and GetSetting • A program registration scheme • Spellcheck a Textbox • Resize controls • Open Windows Explorer at Last Visited Path • A Blackjack Game • Count lines of code • Private Message Viewer • Copy/Paste VB Code • Paste VB Code Add-In • Insert Procedure Names Add-In • A calculator for the game of Spider • My review of REALbasic 2008 • VB6 Debug Tutorial • Picture/Video Viewer • VBF Photo Contest Winners 2009 - 2016
you have mail... at yahoo.com
You could get an old DOS book. Almost all of them have a ASCII chart in the back. DerFarm
i got the best yet and all you haev to do is press the key you need and the code is in one line and you get the keycode fo the char what you need: textbox and label Code: Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) Label1.Caption = KeyCode End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) Label1.Caption = KeyCode End Sub
Look up ASCII in the VB help file and it will give you a chart of all 256 characters.
Forum Rules