Form Question

Posts 1–15 of 17 · Page 1 of 2
Form Question
Hey i have another question. I know how to make new forms, but lets just say i wanted form3 to show before form1.

Like sorta like a user agreement thing where when the user presses i agree it takes them to the program. how would i do that


Notes. My main program is form1


thanks
Right Click App name in solutions explorer
Goto properties, in the application settings you will see "Startup form"

choose form3




On the accept + checkbox

Code:
Form1.show
me.hide
Quote Originally Posted by NextGen1 View Post
Right Click App name in solutions explorer
Goto properties, in the application settings you will see "Startup form"

choose form3




On the accept + checkbox

Code:
Form1.show
me.hide
/grr

I was making a video on it
Cooool. Good to know. I'll use this technique when I make my programs in VB.
Sorry, It is a habit of mine
Thanks for helping. let me try it
What is the code for when check box is checked button will work?
If Checkbox1.checked = True then
Button1.enabled=true
else
button1.enabled=false
Quote Originally Posted by Lolland View Post
If Checkbox1.checked = True then
Button1.enabled=true
else
button1.enabled=false
grrrrrrrrrrr I was making a video on that
lolland that doesnt work. It makes the button fade out and unclickable but when i check the checkbox the button doesnt become clickable again
Put it in the CheckBox Changed event


[php]
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
If CheckBox1.Checked = True Then
Button1.Enabled = True
Else
Button1.Enabled = False

End If
End Sub
[/php]
or you could use the msgbox("") technique
Quote Originally Posted by hopefordope View Post
or you could use the msgbox("") technique
Wait....what.........? Msgbox as in for Agree/Disagree?

Meh, No, There is advanced dialogs using Modal, But the spot he is in is perfect for this project
Once again nextgen you rock. thanks


AND LOLLAND
As always, Not a problem
Posts 1–15 of 17 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us