Home
Explore
Tags
Contribute
Home
»
VB.NET
»
VISUAL BASIC 10
Windows Forms in VB.NET
Posted in
VB.NET
|
VISUAL BASIC 10
on
November 07, 2019
Tags:
Event Handler
,
ListBox
,
TextBox
,
ToolBox
,
Windows Application
,
Windows Forms
,
vb.net windows forms
This is a simple tutorial which shows you beginners how to create a WindForms application in VB.NET.
2523
This is a simple tutorial, which shows you beginners how to create a WindForms application in VB.NET.
Create a new project by selecting
File->New->Project->Visual Basic Projects->Windows Application option
-
Pick a suitable directory and project name.
Now use Toolbox to add controls to the form. Drag-drop controls you want.
I add a listbox, a textbox, and a button and my form looks like this -
In
this sample example, I will add textbox items
to
the list box
on
Button Click
event
.
Now
double
click
on
the button
to
add a
On
click
event
handler
and
write this code -
Protected
Sub
Button1_Click(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
ListView1.InsertItem(0, TextBox1.Text)
End
Sub
That
's it. Compile and build your project. Piece of cake, huh?
Related Articles
VB.NET Windows Forms Button Control
VB.NET Inheritance with Forms in Visual Basic .NET
Windows Forms DataGrid Control in VB.NET
Web Form Authentication in ASP.NET Using VB.NET
MDI Child Forms using VB.Net
How to create MDI Forms in VB.NET
WPF Grid Using VB.NET
Forms Task Changes in VB.NET
TextBox in VB.NET
Formatting DataGrid Control in VB.NET
Categories
ACTIVE DIRECTOTRY IN VB.NET
ALGORITHMS AND VB.NET
ARRAY IN VB.NET
ASP.NET AJAX IN VB.NET
ASP.NET USING VB.NET
ASSEMBLIES IN VB.NET
COM INTEROP IN VB.NET
CRYPTOGRAPHY IN VB.NET
CRYSTAL REPORTS IN VB.NET
DATABASE & DBA
DEPLOYMENT IN VB.NET
DESIGN & ARCHITECTURE
DIRECTX WITH VB.NET
ENTERPRISE DEVELOPMENT
FILE IN VB.NET
GAMES IN VB.NET
GDI+ IN VB.NET
GENERAL
LINQ WITH VB.NET
MOBILE DEV IN VB.NET
MULTITHREADING IN VB.NET
NETWORKIN WITH VB.NET
OFFICE AND VB.NET
PRINTING IN VB.NET
REMOTING IN VB.NET
REPORTS IN VB.NET
SECURITY IN VB.NET
SILVERLIGHT USING VB.NET
Speech in VB.NET
STRING IN VB.NET
TABLET PC
VB.NET ADO.NET
VB.NET ARTICLE
VB.NET EXCEPTION HANDLING
VB.NET FAQ
VB.NET HOW DO I
VB.NET LANGUAGE
VB.NET TUTORIALS
VB.NET WINDOWS SERVICES
VBA
VISUAL BASIC 10
VISUAL BASIC LANGUAGE
WCF WITH VB.NET
WEB CONTROL IN VB.NET
WEB DEV IN VB.NET
WEB FORM WITH VB.NET
WEB SERVICES IN VB.NET
WINDOWS CONTROLS
WINDOWS FORMS IN VB.NET
WORKFLOW IN VB.NET
WPF IN VB.NET
XAML IN VB.NET
XML IN VB.NET
More Articles
Setup for a Windows Forms application using Visual Studio 2010 in VB.NET
How to Check Installed .NET Versions on Hosting Server in VB.NET
TabControl in a Windows Forms application in Visual Studio 2010 in VB.NET
Xml database in Windows Forms application using Visual Studio 2010 in VB.NET
Date and Time in Window Application in VB.NET
ListBox Behavior in VB.NET
Use of ThreeState property with CheckBox in VB.NET
Difference Between Interface And Abstract Class in VB.NET
Type Conversion in Calculation in VB.NET
String class in VB.NET- String.Compare method
Enumertors in VB.NET
How to use IDisposable interface in VB.NET
How to use IDisposable interface in VB.NET
Structure in VB.NET
ICloneable interface in VB.NET
Overriding in VB.NET
Use Indexer in VB.NET
How to change the Console display in VB.NET
Reflection in VB.NET
Method Parameter Types in VB.NET
How to Sort and Reverse of Array in VB.NET
Pass by Value and Pass by Reference in VB.NET
Use of IndexOf-Array in VB.NET
Authentication and Code Groups in VB.NET
Collections in VB.NET
Use of LowerBound and UpperBound with Array in VB.NET
Interface in VB.NET
Use of CreateInstance method to construct an array in VB.NET
HelpProvider control in VB.NET
How to Clone an Array in VB.NET
Registry.GetValue in VB.NET
Use the Err.Number in VB.NET
How to use Activator in VB.NET
Use of RegistryKeys in VB.NET
Use ControlChars.Lf in VB.NET
Visual Studio 2010 ErrorProvider control in VB.NET
Use of Registry.SetValue in VB.NET
Visual Studio 2010 CheckBox control in VB.NET
Use of Registry.CurrentUser in VB.NET
Ajax application with jscript file in VB.NET
Data Encryption in VB.NET using DES
Visual Studio 2010 ComboBox control in VB.NET
Working with AJAX Control in ASP.NET using VB.NET
Visual Studio 2010 Progress Bar control in VB.NET
Hashtable in VB.NET
Visual Studio 2010 Tooltip control in VB.NET
Use of IsNothing() function in VB.NET
Visual Studio 2010 Rich Textbox control in VB.NET
Use of IsDate() function in VB.NET
Enable JavaScript in VB.NET
© 2020 DotNetHeaven. All rights reserved.
TERMS & CONDITIONS
|
CONTACT US
|
REPORT ABUSE