Visual Basic HELP

Callme

Beta member
Messages
5
I use VB 2008 Express Edition, and I cannot get my multiple form application to work correctly. I am trying to get frmNext to show up after frmInput is done. So, in frmInput's button click event, I type in strName = TextBox1.Text, frmNext.Show(), and Unload frmInput. Unload does not work in vb 2008 anymore I guess, because it gave me an error. So, I typed in Me.Close(), which closes the application altogether. So, I decided to go into frmNext's form load event and type in Me.Text = strName and frmInput.Close(), which causes the entire program to close. I need help getting frmNext to show up and frmInput to close down.
 
Hum...I don't know much about VB 2008 Express, and I studied VB almost 1 year ago. I'd try:

frmNext.enabled = true
frmNext.visible = true
frmInput.visible = false
frmInput.enabled = false

I know is lengthy and ugly, but it should do the work.
 
Back
Top Bottom