Question[Help]Agreements[Solved]

Posts 1–6 of 6 · Page 1 of 1
[Help]Agreements[Solved]
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?
[php]
Me.hide
[/php]

should work, if you dispose the main form, it may close the program
Yep that works, thanks
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
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us