Well, i recently started VB (last night to be exact) and i have a noob question. How do you make it that when you click a button a window with text pops up? Thx, Chuck Norr1s.
Private Sub MyButton_Click()
MsgBox MyText, BoxStyle, BoxTitle
End Sub
The name of your button is "MyButton" and when it is clicked on it uses the message box function (Msgbox) to display a message box with properties you can set.
"MyText" is replaced by the text you want to display between quotation marks (" ").
"BoxStyle" is optional and is to define the style of message box you want to display, just experiment with different ones ex: vbOkOnly, vbInformation, etc.
"BoxTitle" is optional, but useful to set the title of the message box. By default if this isn't specified it just displays the name of your project.
If you're just beginning nothing is really a noob question so try not to be afraid to ask. Just remember though that often you can learn best what you've figured out for yourself and there are tons of VB6 resources online so don't forget to check around as well.