Go Back   Computer Forums > General Computing > Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 03-12-2008, 05:56 PM   #1
Beta Member
Join Date: Mar 2008
Posts: 3
Default Visual Basic HELP

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.

Callme is offline   Reply With Quote
Old 03-16-2008, 11:13 PM   #2
JogaBonito1502's Avatar
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Visual Basic HELP

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.

JogaBonito1502 is offline   Reply With Quote
Old 04-13-2008, 09:43 PM   #3
Solid State Member
MattMyster's Avatar
Join Date: Apr 2008
Posts: 19
Default Re: Visual Basic HELP

if that doesn't work there's some useful guides on google if you search for them.
MattMyster is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 09:42 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0