eHow launches Android app: Get the best of eHow on the go.

How To

How to Add a Textbox in VB.net

Member
By Mike
User-Submitted Article
(3 Ratings)
VB.net
VB.net

This is as about as easy as it gets to programming. The ability to drag and drop controls onto a form. In this example I am going to show you how to add a textbox to a blank form in VB.net.

Difficulty: Easy
Instructions

Things You'll Need:

  • VB.net
  1. Step 1

    Open VB.net

  2. Step 2
    New Project
    New Project

    Create a new project.

  3. Step 3
    Toolbox tab
    Toolbox tab

    All controls are added from the toolbox. The toolbox is located on the left side of the screen. If you do not see the toolbox then you probably see the toolbox tab as shown in the picture.

  4. Step 4
    Toolbox tab
    Toolbox tab

    Simply move your mousepointer ove the toolbox tab and the toolbox will be displayed.

  5. Step 5
    Push Pin Icon
    Push Pin Icon

    If you were to move your mousepointer off of the toolbox it would slide back to the left and hide. To make it so the toolbox remains on the screen, click the icon on the toolbox window that looks like a push pin.

  6. Step 6
    Stationary Toolbox
    Stationary Toolbox

    Your toolbox is now permanent on the screen. If you wish to undo what you just did, click the same icon. Notice how the icon has changed to where it is now vertical as opposed to horizontal.

  7. Step 7
    Textbox control
    Textbox control

    To add your textbox to the form, locate the textbox control in the toolbox window.

  8. Step 8

    Left click on the textbox control option and hold the mouse button down.

  9. Step 9

    While holding down the button, drag the mouse pointer over top of the form. This is called dragging.

  10. Step 10
    Final Results
    Final Results

    Now let go of the mouse button. You will notice that it has placed a textbox onto the form.

Resources
Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics