[php]
Me.hide
[/php]
should work, if you dispose the main form, it may close the program
Hey guys quick question. I have an agreement form pop up before the user can run my app. Once they click i agree and open the app, the agreement form stays up and if i try to close it, it also closes the app.
how do i fix it?
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
[php]
Me.hide
[/php]
should work, if you dispose the main form, it may close the program
zmansquared (03-15-2010)
OK ill try thanks
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
Yep that works, thanks
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
NextGen1 (03-15-2010)
Hmm what i like to do is somthing like this (Free Handed):
'Main Form:
if(My.Settings.newuser = 1) Then 'User settings... 1 = new user, 2 = already accepted
Me.Enabled = false 'Shows the form, but its grayed out and un-clickable
Terms.Show() 'Show the agreement form
End If
'Agreement Form(On agree clicked):
My.Settings.newuser = 2
My.Settings.Save() 'Not needed, but a good idea ;D
Form1.Enabled = true
'Agreement Form(On Disagree Clicked):
Form1.Close
Me.close
Somthing like that could be an alternative to NextGen's
i already have the button dim out code
If checkbox1.Checked = True then
Button1.Enabled = True
else
Button1.Enabled = False
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
NextGen1 (03-15-2010)