There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen boot bsod computer connection crash css dell display driver drivers email error ethernet excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware monitor network networking nvidia outlook outlook 2003 outlook express partition printer problem router slow software sound trojan usb video virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
TextBoxes


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
dragonempres's Avatar
Junior Member with 28 posts.
 
Join Date: Jun 2003
07-Nov-2003, 09:22 AM #1
TextBoxes
I just have a quick question....how can i make it (in VB) so that a user can only enter one number into a textbox?? I know how to make it so they can only enter numbers, but i only want one number in the textbox. Thanks!!!
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
07-Nov-2003, 09:27 AM #2
Would this number be between 1 and 9?
dragonempres's Avatar
Junior Member with 28 posts.
 
Join Date: Jun 2003
07-Nov-2003, 10:14 AM #3
yups!
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
07-Nov-2003, 10:40 AM #4
You need to create a function to do a form validation like If txtbox1 <> between 1 and 9 then generatepopup ELSE dosomethingelse End If
coderitr's Avatar
Distinguished Member with 3,080 posts.
 
Join Date: Oct 2003
07-Nov-2003, 02:54 PM #5
Text1.MaxLength = 1
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:42 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.