answersLogoWhite

0

Example:

MsgBox("This is an example!", MsgBoxStyle.Information, "Example")

or:

MsgBox("This is an example!", MsgBoxStyle.Exclamation, "Example")

or:

MsgBox("This is an example!", MsgBoxStyle.Critical, "Example")

you can choose between one of these three styles.

just add one of these in the line where you want it to be displayed like:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

MsgBox("This is an example!", MsgBoxStyle.Information, "Example")

End Sub

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the use of MSGBOX in Visual Basic?

MessageBox is a way to show a message when the user does a specific thing. There is two ways to do it, you can use: MsgBox("text", MsgBoxStyle.whatever, "title) or MessageBox.Show("text", "title")


What is button in visual basic?

ez beb et b


What is option button in visual basic?

ez beb et b


What is the meaning of control in visual basic?

It is user interface Ex Button, Checkbox, Label


How do you create a save button to save a dataset into a database in Visual Basic?

i love pie


What is the statement called in visual basic that tests a radio button?

In Visual Basic, the statement used to test a radio button is typically an If...Then statement. You would check the Checked property of the radio button control to determine if it is selected. For example: If RadioButton1.Checked Then ... indicates that the code block will execute if RadioButton1 is selected.


What is visual basic control?

Visual Basic Controls work on Visual Studio for Visual Basic and Applications that made by Visual Basic.


How can you make an URL button at visual basic 6?

http://www.swapitshop.com/friend_jump?user_id=1759213&creative_id=17


The year of invention of visual basic?

Visual Basic was started in 1991.


Who invented the visual basic?

Visual Basic was created by a team at Microsoft.


Who developed visual basic?

Microsoft is the developer of visual basic


What is the difference between visual basic and visual c?

The programming language: Visual Basic is a BASIC-like (or BASIC-derived) language, Visual C is... well C.