Name two icon constants that can be used when calling the MessageBox function.
Name two icon constants that can be used when calling the MessageBox function.
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 2MQ2
Related questions
Question
Name two icon constants that can be used when calling the MessageBox function.
Expert Solution
Step 1
MessageBox function
- The MessageBox function is a built-in function in visual basic that shows a appropriate message in the message box and waits for the user response to click a specific button and then corresponding action will be performed on the basis of the clicked button.
- The constant integer value is returned at successful execution of MessageBox function against the button clicked by the user.
- It can display various types of buttons such as (ok and cancel, yes and no, etc.) and icons (such as stop, question mark, etc.).
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning