9th Class Computers Science Visual Reasoning Question Bank Introduction to Visual Basic

  • question_answer
    Given here is the syntax of message box. What value should be entered for style value. If you want to display yes and no command buttons on the message box?
    MsgBox (Prompt, style value, title)
     

    A) 0

    B) 1

    C) 3                                 

    D) 4

    Correct Answer: D

    Solution :

    Given here is a statement that can be used to display a message box with Ok and Cancel buttons in visual basic application. MsgBox "All the changes would be saved permanently", 4, "Confirm Changes".


You need to login to perform this action.
You will be redirected in 3 sec spinner