Beginning VB.NET - Hello World
So you want to learn how to program in VB.NET. The best way to start learning is by jumping in. Follow the instructions on this page and within the next few minutes you will have your first Windows...
View ArticleVB.NET Arrays
Virtually any modern programming language has the concept of arrays. An array is like a list of variables. It allows us to work with the entire list or each individual element in the list. VB.NET’s...
View ArticleIntro to VB.NET's DateTime
Often when working on an application we find ourselves needing to handle dates and times. Some common example uses of this are birthdates, appointment scheduling, expiration dates, timers, etc. Classic...
View ArticleDateTime Functions
Visual Basic .NET provides a DateTime structure for working with, you guessed it, dates and times. Along with this structure there are many static and instance functions it provides. These functions...
View ArticleVB.NET Console App That Reads an XML DataSet
This tutorial walks through a sample application that Microsoft provides where an XML file is loaded into memory and then can be queried using a console application written in VB.NET. Not only does...
View ArticleAutomatic Properties and List Initializers
Up until VB 2010 the only way you could declare a property is by creating a private backing field for it and then setting the property up so that it stored the value in the backing variable. This makes...
View ArticleSQL Databases Create, Update, and Query
One thing Visual Basic has always been good at is interacting with databases. VB.NET continues this great tradition. In fact this tutorial and source sample shows how you can create a SQL database,...
View ArticleBrowse, Open, and Save Dialogs
Often when writing a VB.NET application we need to either open a file from the system or save a file to the system somewhere (many times both). Other times we need to browse for a folder instead of a...
View ArticleButton, Label, Textbox, Common Controls
Control Basics The GUI aspects of VB.NET programming involves the use of the various controls that are available in the toolbox. With controls come properties (a set of variables that describe the...
View ArticleFrom VB6 to VB.NET with the Microsoft.VisualBasic Namespace
For everyone coming from a VB6 background Microsoft has provided many great ways to migrate over to VB.NET. One stepping stone in this process is the Microsoft.VisualBasic namespace that they provided....
View ArticleVB.NET Strings
VB.NET has amazing support for handling strings. This includes both the native .NET methods as well as the ones in Microsoft provided Microsoft.VisualBasic namespace (which makes migrating from VB6...
View ArticleSimple and advanced Conditional Experssions
Comparisons in programming allow us to do the most simple and powerful thing - make a choice. By using comparisons we can do things like branch in different directions if something is true, or loop...
View ArticleReading Text Files
So you have a file full of text how can you parse and read it. This File Reading VB.NET tutorial explains exactly how. It goes over examples of fixed width files, tab and comma delimited files, and...
View ArticleWriting To Text Files
VB.NET provides multiple ways to save program data out to a file. This VB Tutorial will walk you through several different ways to easily save your data to a simple text file. This is by far the most...
View ArticleVB.NET Input Box
An often used feature in classic Visual Basic is the InputBox function. It provides an easy way to prompt the user for simple text input. VB.NET carries this handy function forward for all to use....
View Article