what do we wrong?
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
7 posts
Page 1 of 1
Hello,
it seems it keep saying fill out the form :(
but i don't get it.
any one?
but keeps popup :(
thanks
it seems it keep saying fill out the form :(
but i don't get it.
any one?
Code: Select all
i even added for example #CodenStuff thats longer then 3 chars lolPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If txtfirstname.Text = Nothing Or txtfirstname.Text.Length < 3 Then
MessageBox.Show("Fill out the required fields", "give a valid name", MessageBoxButtons.OK, MessageBoxIcon.Information)
txtfirstname.Focus()
End If
End Sub
but keeps popup :(
thanks
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
It works for me, if I enter text less than 3 it shows the messagebox and if I didn't it doesn't show the messagebox
Find my programs on Softpedia
so if you add more then 3 then it don't show?
hmm thats weird
with me it keeps showing :(
hmm thats weird
with me it keeps showing :(
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
weird weird
still not working even deleted all error messages from every textbox
so 1 left and still that message :(
whats going on cryer;
still not working even deleted all error messages from every textbox
so 1 left and still that message :(
whats going on cryer;
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
ok i think i found the problem
it seems that the text.lenght don't work
and textlenght don't exist in a custom textbox
does anyone know how to implement that into it?
even i already used
also find on msdn
seems with every part you see here its say 0
why?
it seems that the text.lenght don't work
and textlenght don't exist in a custom textbox
does anyone know how to implement that into it?
even i already used
Code: Select all
seems still not available :(Private Base As TextBox
Sub New()
Base = New TextBox
also find on msdn
Code: Select all
also tried:
Public Overridable ReadOnly Property TextLength As Integer
Get
Return TextLength
End Get
End Property
If txtfirstname.Text = Nothing Or txtfirstname.TextLength < 3 Then
Code: Select all
it returns 0 :(Dim size As Int16 = txtfirstname.Text.Length
seems with every part you see here its say 0
why?
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
Never mind
fixt

fixt

visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023