Input box - dialogue box in visual basic , Visual Basic Programming

Assignment Help:

Input Box:

To demonstrate the use of the Input Box as shown in figure. Now consider the illustration shown below:

1. Initiate a new project

2. Select the standard exe

3. Add a command button into the form

4. Handle the double click for the command button and code the handler as shown below.

Private Sub Command1_Click()

Dim r As String

r = InputBox("name")

MsgBox "hello " & r

End Sub

5. Execute it.

6. The input box request for an input

7. The input is once entered (say mca) hello mca would be exhibited using the message box; & is used for the string concatentation.

1081_input box.png

        Figure: Input Box


Related Discussions:- Input box - dialogue box in visual basic

Associating toolbars for the menu - visual basic, Associating Toolbars for ...

Associating Toolbars for the menu: 1. Insert the tool bar control to your form. 2. Now follow the steps to append the tool bar control to your form. 3. Then, Right Click

HCI, I have an assignment In HCI , can anyone help me ?

I have an assignment In HCI , can anyone help me ?

Repeating statements while a condition is true, Use the While keyword to ve...

Use the While keyword to verify a condition in a Do...Loop statement. You can verify the condition before you enter the loop (as illustrated in the following ChkFirstWhile instance

Properties - intrinsic control, Properties: Every control has a defaul...

Properties: Every control has a default property related with it. The default property does not require to be named when you are functioning. The control Check box as value

Class wizard, CLASS WIZARD The Class wizard shown in figure is a tool t...

CLASS WIZARD The Class wizard shown in figure is a tool to handle the message handlers for objects, to define the member variables. Figure: Class Wizard

For loop visual basic program, Write Visual Basic programs for the followin...

Write Visual Basic programs for the following: 1.     Write a program that uses a "For Loop" to generate a list of temperature conversions in one degree increments from a given

Illustration of mdi application using a project, ILLUSTRATION OF MDI APPLIC...

ILLUSTRATION OF MDI APPLICATION USING A PROJECT 1. Choose the MDI option while generating the project by using the Appwizard. 2. Add the WM_LBUTTONDOWN message for the view

Context-sensitive help, CONTEXT-SENSITIVE HELP   The Context-sensitive...

CONTEXT-SENSITIVE HELP   The Context-sensitive help gives online help for the circumstances which is associated with that state. The Context-sensitive help can be implemented

Displaying a file with scrolling - document class, Displaying a file With S...

Displaying a file With Scrolling: To display a file with the scrolling option allows the steps as shown below: 1. Generate a SDI application. 2. In the Step 6 of the App

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd