![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programmer
|
Its a simple question, and the way the question is written isn't really all that annoying.. though I do like plain text better
, no need to flame her (I'm guessing that your a her..), btw, I'm addressing hte people that DID give a hostile response, some of you were just helpful . But anyways, to answer your question, simple use the code below (Change Text1 to the name of your textbox):Private Sub Text1_KeyPress(KeyAscii As Integer) If (KeyAscii = 8 Or KeyAscii = 46) Then Exit Sub If Not (KeyAscii >= 48 And KeyAscii <= 57) Or (KeyAscii >= 96 And KeyAscii >= 105) Then KeyAscii = 0 End Sub ![]() |
|
|
|
|
|
#12 | |
|
Professional Programmer
|
You're just trying to get some
lol.
__________________
▄▄▄▄ Quote:
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it. Download Code::Blocks now! ▄▄▄▄ |
|
|
|
|
|
|
#13 |
|
Hobbyist Programmer
|
On every forum I've visited, without fail, when a guy helps a gal, there's at least one other person who assumes that he just wants to "get some". :p
|
|
|
|
|
|
#14 | |
|
Professional Programmer
|
No, when a guy helps a gal, then hands her his email address.. but it was a joke anyways, I dont care.
__________________
▄▄▄▄ Quote:
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it. Download Code::Blocks now! ▄▄▄▄ |
|
|
|
|
|
|
#15 |
|
Hobbyist Programmer
Join Date: Apr 2005
Posts: 218
Rep Power: 4
![]() |
Maybe she should read this - Posting and you
|
|
|
|
|
|
#16 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
She should read a lot of things, Zorin, but she'd rather be cute and helpless. I have no doubt it works for her in her usual world.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#17 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
teehee i don't really want to learn anything!
lol!!!!!!! ;-*
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#18 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 555
Rep Power: 5
![]() |
How the hell are people supposed to learn if they are always ridiculed for asking questions?
And HackerGirl probably isn't even a girl and is just taking advantage of heterosexual males (and like-minded females). If I'm wrong, HackerGirl can write me a big long PM telling me how wrong I am I would help you but I left all my VB knowledge in 10th grade. Perhaps you should consider posting what you have done so far, and showing these people that you have put some effort into your project ![]()
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
|
|
#19 | |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Quote:
1) Set KeyPreview on the form to True so that it gets keypresses even wheh child controls have focus. 2) Write a handler for KeyPress, KeyUp, or KeyDown in your form. 3) Success!
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
|
#20 | ||
|
Professional Programmer
|
Quote:
__________________
▄▄▄▄ Quote:
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it. Download Code::Blocks now! ▄▄▄▄ |
||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|