Put the knife down and take a green herb, dude.
One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com
Using 89% of the same design the blog had in 2001.
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white.
MarkUpDown is the best Markdown editor for professionals on Windows 10.
It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support.
Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor.
Stop looking. MarkUpDown is the app you're looking for.
|Monday, February 02, 2004|
Quick intro to .NET validation in VB.NET. Add Textbox1 to your Form. Cut & Paste.
Note that you'll need to add a Button called "cmdCancel". Note that if you even have cmdCancel with *focus* after screwing up entry into TextBox1 (so, for example, you tab off of TextBox1 into Cancel), the validation won't happen. Haven't messed much yet with when events fire (can you get a click from cmdCancel before validation happens, etc).
Private Sub TextBox1_Validating(ByVal sender As Object, _
ByVal e As System.ComponentModel.CancelEventArgs) Handles _
Dim strQaMsg As String
strQaMsg = ""
If Not ActiveControl Is cmdCancel Then
If TextBox1.Text.Length < 4 Then
e.Cancel = True
strQaMsg = "TextBox1's text length " & _
"must be at least four characters long"
If e.Cancel Then
MsgBox(strQaMsg, MsgBoxStyle.Exclamation, _
"Data entry validation issue")
posted by ruffin at 2/02/2004 06:45:00 PM
All posts can be accessed here:
Just the last year o' posts: