answersLogoWhite

0


Best Answer

If checkbox1.checked = true then

If checkbox2.checked = true then

Msgbox("Hello")

End if

End if

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you make a msgbox display only after 2 checkboxes are checked VB2010?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you write a do while loop in visual basic to display the produc of even numbers between 1 and 10?

i=0 do if(i/2=0) msgbox(i) while(i<=10) wend


How do you make a pop-up messagebox by pressing a button in visual basic?

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


Two pre-defined functions in visual basic?

A string is a line of text. For example: Dim example As String = "whatever text you want" Would make a string that says "whatever text you want" Later, you can use this for a msgbox or textbox Example: TextBox1.Text = example '(that is the string we made) or MsgBox(example, MsgBoxStyle.Information, "Note!") '(would display a msgbox containing the text in the string)


How do you use string in visual basic?

A string is a data set in the form of alphanumeric characters and symbols. For example, if you wanted to use a string to concatenate and display a welcome message displaying a user's name, your code would look something like this: Dim WelcomeMessageString as String = "Welcome to the string demonstration " Dim FormResponseString as String = form1.text Message(WelcomeMessageString + FormResponseString)


How do you find out how many digits are in integer using vbscript?

num=32767 MsgBox(len(num))

Related questions

What is the code used to display the words Visual Basic in a label named TitleLabel?

msgbox(TitleLabel.text)


What is primary purpose of text box in vb?

To display information. There is something called a msgbox as well as a inputbox. Msgbox displays information. Inputbox allows the user to input data which has a certain value.


What is the difference between message box and input box give example for each of them?

we can use msgbox for display the message and getting input from user like vbyes/no method.. but inputbox only for input.. and for msgbox we can't set the x,y margin.. but in the input box we can set.. we can use inputbox as a variable value taker..............


What is string function visual basic?

A string is a line of text. For example: Dim example As String = "whatever text you want" Would make a string that says "whatever text you want" Later, you can use this for a msgbox or textbox Example: TextBox1.Text = example '(that is the string we made) or MsgBox(example, MsgBoxStyle.Information, "Note!") '(would display a msgbox containing the text in the string)


How do you write a do while loop in visual basic to display the produc of even numbers between 1 and 10?

i=0 do if(i/2=0) msgbox(i) while(i<=10) wend


How do you display a quotation in visual basic?

1. Make a textbox with a " in it. 2. Dim quotation As String = TextBox1.Text 3. To say "Hello" use - MsgBox(quotation & "Hello" & quotation)


Using notepad how do you make a msgbox that leads to another msgbox eg you click yes to the first msg then a second one pops up?

x = MsgBox("message",0+16 ,"title") x = MsgBox("message 2",0+16 ,"title 2") and save it as name.vbs name being whatever you want


How do you make a pop-up messagebox by pressing a button in visual basic?

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


Two pre-defined functions in visual basic?

A string is a line of text. For example: Dim example As String = "whatever text you want" Would make a string that says "whatever text you want" Later, you can use this for a msgbox or textbox Example: TextBox1.Text = example '(that is the string we made) or MsgBox(example, MsgBoxStyle.Information, "Note!") '(would display a msgbox containing the text in the string)


How do you find greatest number among three with vb.net?

Dim a, b, c As Integer a = InputBox("enter 1st no.") b = InputBox("enter 2nd no.") c = InputBox("enter 3rd no.") If a > b Then If a > c Then MsgBox("A is Greater") Else MsgBox("C is greater") End If Else If b > c Then MsgBox("B is Greater") Else MsgBox("C is Greater") End If End If End Sub


How do you use string in visual basic?

A string is a data set in the form of alphanumeric characters and symbols. For example, if you wanted to use a string to concatenate and display a welcome message displaying a user's name, your code would look something like this: Dim WelcomeMessageString as String = "Welcome to the string demonstration " Dim FormResponseString as String = form1.text Message(WelcomeMessageString + FormResponseString)


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")