Create a windows forms application in VB.NET
This article shows how to create a windows forms application in VB.NET.
In this article we will learn how to create window application in VB.NET 2010.
creating the window form by selecting
start->all programs->Visual studio 2010->new project->Visual basic->windows forms application option
Give a project name and location and click on OK.
Toolbox to add control on the form.
Drag and drop control to the form from toolbox.
Click on the button and press F4 to open the property window.
From the property window we can change the property of button control.
Now, double click on the button and add the following code.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text = "rohatash"
Now press Ctrl+F5 to execute the application.
Now executable window will open.
Now click on Button this shows the below output window.