[question] VB help with text box
2014-04-09, 05:57 PM,
(This post was last modified: 2014-04-09, 06:02 PM by Nem.)
#1
Hey guys can somebody tell me how to do this: I want to put text box in my app but when they type in correct ( some numbers that i want ) number in it only then will button work which will be related with progress bar.

Help will bi apriciated. I am on my phone so sorry for bad grammar or if you dont understand i will try to explain it better.


Thanks in advance!

Skype/Mail me for approving and join us on link below! SKYPE: nem.mgcash MAIL: nemanja@mgcash.com

[Image: Il4ZQYz.png]
Reply
2014-04-11, 07:31 PM,
#2
You can do that with a simple if-statement:

Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
If Not TextBox1.Text = "test" Then
Button1.Enabled = False
Else
Button1.Enabled = True
End If
End Sub
Latest Thanks - View all

Nem(2014-04-11 10:45 PM) 

Need a PPD Service with Landing Pages, SEO, Fake Apps, Widgets & More?
Click Here:
Pwned's PPD Service
Reply
2014-04-11, 10:45 PM,
#3
(2014-04-11, 07:31 PM)pwned Wrote: You can do that with a simple if-statement:

Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
If Not TextBox1.Text = "test" Then
Button1.Enabled = False
Else
Button1.Enabled = True
End If
End Sub

Thank you for this, I will try it out latter!

Skype/Mail me for approving and join us on link below! SKYPE: nem.mgcash MAIL: nemanja@mgcash.com

[Image: Il4ZQYz.png]
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Aeonsofts VB.NET Theme Manager v2.1 lanzye 29 9,713 2017-06-20, 06:55 PM
Last Post: storix
  [HELP NEEDED] I have a question about what to do in my project! Fpsroca 0 551 2017-01-10, 09:05 AM
Last Post: Fpsroca
  [Hack/Security Question] Security and Proxies Raeynes 2 972 2016-12-30, 05:05 AM
Last Post: ArtoAllan
  [REQUEST] Comment box with moderation HTML code iamrichsoon 1 706 2016-12-25, 05:51 AM
Last Post: CegaFin
  Question about registering domain and host. Skratzy 6 1,317 2016-11-01, 07:06 PM
Last Post: mysteriosx




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top