VB.Net Help.
2014-07-21, 01:33 AM,
#1
So I am making hack tool and such all day but I realized something that would increase the install ratio on PPI.

What I want to do is to make the buttons unfuctionable until the user actually fills the columns, radiobuttons and such, because if someone tries to click "hack" and the hack starts working without having information filled in looks pretty dumb. I tried googling but with no luck.

Any help would be really apprieciated.

[Image: H6JU6ed.png?1]
Reply
2014-07-21, 01:54 AM, (This post was last modified: 2014-07-21, 02:11 AM by Niki.)
#2
I think you can use simple If statement on button here.

Code:
If TextBox1.Text = ""  Then

      Error Message

Else

      Start the Timer

End If

If RadioButton1.Checked = False then

for radio buttons..

EDIT: For multiple conditions use, for Example:

If TextBox1.Text = "" Or RadioButton1.Checked = False Then
something
else
something
end if
Reply
2014-07-21, 02:25 AM,
#3
(2014-07-21, 01:54 AM)Katy Perry Wrote: I think you can use simple If statement on button here.

Code:
If TextBox1.Text = ""  Then

      Error Message

Else

      Start the Timer

End If

If RadioButton1.Checked = False then

for radio buttons..

EDIT: For multiple conditions use, for Example:

If TextBox1.Text = "" Or RadioButton1.Checked = False Then
something
else
something
end if

The Radiobutton command works, but in fact for

textbox1.text = "" , it forces the textbox1 to have exactly the same text inside of the "" so if I type textbox1.text = "skouti" then the user has to type skouti too, everything else won't work.

Isn't there any command to make it start with any generic text?

Thanks for your help.

[Image: H6JU6ed.png?1]
Reply
2014-07-21, 02:33 AM,
#4
Leave that blank, don't put any text here "", just leave that blank. So when user leave the text box blank he will get a error and if he puts in any text at all the progress bar will start..
Reply
2014-07-21, 02:37 AM,
#5
(2014-07-21, 02:33 AM)Katy Perry Wrote: Leave that blank, don't put any text here "", just leave that blank. So when user leave the text box blank he will get a error and if he puts in any text at all the progress bar will start..

It doesn't work. if I don't put any text in "" and click the button it actually starts properly. :/

[Image: H6JU6ed.png?1]
Reply
2014-07-21, 03:36 AM,
#6
If Textbox1.Text = "" Then
Msgbox("Error")
End If
Reply
2014-07-21, 05:25 AM,
#7
(2014-07-21, 03:36 AM)Jaysamuel Wrote: If Textbox1.Text = "" Then
Msgbox("Error")
End If

I am using this and it doesn't work.

Also if it makes a difference I am on VB 10

[Image: H6JU6ed.png?1]
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Does Popads.net traffic convert with CPAGrip ? Tarek77 23 1,323 2017-06-27, 06:02 PM
Last Post: 8pipes
  Is there any CPA site which pays Weekly or NET-15 ? kapo46as 9 574 2017-05-09, 03:08 AM
Last Post: 8pipes
  Tutorial to make fake VB.NET apps? kaChing 3 762 2016-12-02, 10:02 PM
Last Post: david1337
  Linkshrink.net really paying or not ? sydn7 3 762 2016-08-05, 08:03 PM
Last Post: sydn7
  Onpage generator or VB app? noobfromvn 4 712 2016-03-07, 04:36 PM
Last Post: $!ngh





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

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