HOw to take data input from message box in Visual stuio?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yagya
    New Member
    • May 2014
    • 1

    HOw to take data input from message box in Visual stuio?

    is it possible to take integer or char data type on message box to V C++?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    No.

    Message boxes simply display data passed to them. There is no provision for using a message box as an output to be submitted to your program.

    Comment

    • tasawer
      New Member
      • Aug 2009
      • 106

      #3
      You may use an inputbox
      e.g.
      Code:
      Dim sName As String = InputBox("Enter your name")
      MsgBox(sName)
      
      Dim xx As Decimal = InputBox("What is your age")
      MsgBox(xx)
      hop this helps

      Comment

      Working...