|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hi guys
I have 2 problems, one very simple, one tedious prob 1: I have a textbox in vb, i want to place validation on it so that when i hit the submit button it will detect whether the user has entered a valid username. A valid username is only comprised of letters. So i need the username to only accept letters. In access u can do this easily. im not sure how to in vb. prob 2: I have a textbox where i want the text in the data to be stored to textfile by using the show save thing.. Thanks!! |
|
#2
|
|||
|
|||
|
Quote:
Could you be a little more vague? ![]() For the first, you can use one of the textbox events like LostFocus or the validate event to verify the data is formatted the way you want.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Quote:
umm so how do i do that? for prob 1 i need only to be able to enter letters.. |
|
#4
|
|||
|
|||
|
|
|
#5
|
||||
|
||||
|
Quote:
If all you want is to force the use of letters only. Use a "Micorsoft Masked Edit Control". It allows you to set up input masks, like you can in Access. It is a component that you need to add to your project. Quote:
I agree with Doug G "Could you be a little more vague?" |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Validation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|