Results 1 to 4 of 4

Thread: [2005] Textbox Input

  1. #1

    Thread Starter
    Junior Member Aabra's Avatar
    Join Date
    Jan 2007
    Posts
    23

    [2005] Textbox Input

    Have I reached my question limit yet? I've been coding for 9 hours straight and I'm new with VB so you'll have to forgive me!

    Is there a quick and easy way to prevent people from entering alpha characters into a textbox? I want it to *only* accept numbers. Maybe giving the user a *beep* sound if they attempt to enter a non-numeric character.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Textbox Input

    This a very popular question. Search the forum and you'll find many responses.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member Aabra's Avatar
    Join Date
    Jan 2007
    Posts
    23

    Re: [2005] Textbox Input

    Ya thx, I found several threads on it. I'll make sure to do a search before posting next time. Sorry.

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: [2005] Textbox Input

    There is no question limit, however, you learned one of the truly excellent features of this forum: Most questions have been asked, and answered. You can even find some pretty obscure stuff on here.

    Unfortunately, that's not the case in all parts of this forum, but ClassicVB, .NET, C#, and C++ are pretty thorough. Maybe a few others, as well.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width