• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Visual Basic help

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

KiKaL

Member
Joined
Jul 18, 2002
Anyone know if there is a way to reload a form with a command button? Also how do you use a variable in a msgbox? I want to have a msg box display the text from a variable and also normal text. It will say "Goodbye User 's name"
 

Krieger

Member
Joined
Jan 31, 2002
Location
North of Boston, MA
To reload the form... Load("<FormName>")
To Use a variable in a message box just concatenate it like this :
msgbox("Goodbye " & m_UserName,vbok)


I think that will do it...
 
OP
KiKaL

KiKaL

Member
Joined
Jul 18, 2002
OK thanks. The load command didnt do what I wanted it to do but I figured out how to get what I wanted another way.