[Help]Textbox

Posts 115 of 32 · Page 1 of 3
[Help]Textbox
ok this not working i want it where if the code isnt in the textbox then it wont open the form i want it to an if it is right then form should show but it keeps saying invaild as i gotdont got the code in an its wrong help plz
Change all the text to Button1 and then try.

(replace 705 with Button1, 3200 with Button1 and 28 with Button1)
Quote Originally Posted by Erinador View Post
Change all the text to Button1 and then try.

(replace 705 with Button1, 3200 with Button1 and 28 with Button1)
na that wont work be cause if u look at all the coding i got it to random gen the numbers
If you look at the coding you're telling it to return true if you enter Button1 in all three textfields. If you don't try it then don't bother asking for help in the first place.
Post the link to the image for me, stupid iphone doesn't display on mpgh mobile theme
Also read erins post and here's something:

Code:
Dim randomnmbr0 as integer
Dim randomnmbr1 as integer
Dim randomnmbr2 as integer

Randomnmbr0 = GeneratedRandomNumberCode
'..etc
Then to use it call

Code:
 if textbox1.text = randomnmbr0 Then
Else
End if
PSEUDOCODE ON MY IPOD. Don't expect more
LOL! bro just replace the numbers
If textbox3.text = ("button1")

'(' means nothing in this

so its really say If textbox3.text = "button1"

it is saying textbox3 has to be "button1"
Ye, but the way he does it, you might aswell do:
Code:
If Textbox1.text = Textbox1.text Then
'code
else
'code
end if
Alright read that image erin

Put the "dim random1 as integer" outside of any private subs

@Erinador

This accomplishes the same thing

Code:
 If 1 = 2 Then
MsgBox("Register Successful!")
Else
MsgBox("I'm 100% Sure you got this messagebox!")
End if
I know VB. No need to tell me that.

Edit

Actualy no, he can still have the statement to be true by simply entering Button1.
erm.. looking at your code tells me that you have to type 'Button1' into those 3 boxes for it to work.. O__o
Quote Originally Posted by master131 View Post
erm.. looking at your code tells me that you have to type 'Button1' into those 3 boxes for it to work.. O__o
@master no cuz if u look at my code i got button1 to gen the numbers so button 2 is so textbox1.text = Button1 an so on

so when button1 is click it show the numbers gen in textbox1.text thats y it = button1
Posts 115 of 32 · Page 1 of 3
This thread is closed for replies.

Tags for this Thread

None

Need help?