Creating an Input box

Posted by Abhisek under VB.NET category on | Views : 4605
To create an input box use the following syntax.
InputBox(Prompt,[title],[default response],[XPOS],[YPOS])

Here XPOS and YPOS represents the x and y co-ordinates respectively.

name=InputBox("Enter Your Name", "Enquiry",100,100) 

It will create an input box which will be displayed at (100,100) co-ordinate with a title "Enquery"

Comments or Responses

Login to post response