Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic

Visual Basic: Most Popular Articles

These articles are the most popular over the last month.
Part 1 of an Intro to VB.NET
Microsoft is making it as easy as they can for you to learn Visual Studio by giving away a really great development system absolutely free: Visual Basic .NET 2008 Express Edition. This is part 1 of a introductory tutorial using VB.NET Express. In this segment, you learn what it is, how to get it, and how to get started using it by writing a program.
VB.NET for Beginners - 1
This course is about programming using Visual Studio and the Visual Basic .NET language. It's written for complete beginners so if you're an experienced programmer, you may want to try one of the other tutorials at the site. But if you're completely new to programming, this course is what you're looking for.
Learning Visual Basic
The starting place for exploring Visual Basic resources on the Web. Here's how to get started programming Visual Basic from the ground up.
Learn Visual Basic Version 6
Learn how to get started with Microsoft Visual Basic 6. Learning Earlier editions of Visual Basic is also covered here
Part 2 of an Intro to VB.NET
The basics that you need to code in Visual Basic .NET are explained in this segment of the About Visual Basic VB Express tutorial. This doesn't cover all of the language in detail because you can get that at Microsoft's site and in the Help for VB Express. What it does is show you where you can get information and briefly explain the basic structure of the VB.NET language.
ByVal and ByRef Argument Passi
An explanation of the two ways to pass arguments to a subroutine or a function in Visual Basic. The article discusses how the default behavior has changed in the move from VB 6 to VB.NET and how to decide which method to use.
Part 1 of an Intro to VB.NET
Microsoft is making it as easy as they can for you to learn Visual Studio by giving away a really great development system absolutely free: Visual Basic .NET 2008 Express Edition. This is part 1 of a introductory tutorial using VB.NET Express. In this segment, you learn what it is, how to get it, and how to get started using it by writing a program.
AndAlso and OrElse Operators
VB.NET features two logical operators "AndAlso" and "OrElse" that weren't in previous versions. They do a lot more than the old "And" and "Or". This Quick Tip shows you what they can do.
VB.NET Variable Declaration
Visual Basic .NET encourages you to be very explicit in declaring variables. In fact, 'Option Explicit' is the default in VB.NET. Complex variable declarations are possible and declarations do what you expect them to. Read this Quick Tip to understand more about how to declare variables.
Data types in VB.NET
Data types in VB.NET
VB .NET Resources
How To Use Resources in Visual Basic .NET
Decimal data type
The Decimal data type in VB.NET
Format function and method
The concept of formatting strings, numbers, and objects like dates has changed a lot in the move up to .NET. This article starts with the Format function in VB6 and moves on to a more complex Format method in VB.NET to show how it used to be and how it's done now.
Excel VBA - Sum Cell Values
A reader asked how to sum the values in an Excel spreadsheet. He wanted to find the sum of the values in all cells in one column using a key value in a different column. This VBA program, written using Excel 2003 Visual Basic for Applications (VBA), does the trick.
short title
This course is about programming using Visual Studio and the Visual Basic .NET language. It's written for complete beginners so if you're an experienced programmer, you may want to try one of the other tutorials at the site. But if you're completely new to programming, this course is what you're looking for. This is lesson 4 of a series.
Computer Number Systems
An exploration of Hexadecimal, Octal, Binary as well as the familiar Decimal numbers that are fundamental parts of a programmer's knowledge toolkit.
What is Visual Basic?
An article for those who need an explanation of Visual Basic that doesn't assume any previous experience at all. This article explains the "What, Who, When, Where, Why, and How" of Visual Basic in completely non-technical language for non-programmers.
VB 6 Collection, VBScript Dictionary, and VB .NET Hashtable
Collections are a handy alternative to using arrays in VB 6. In VB .NET, the same tasks can be done with the Hashtable object. Here's an explanation of what they are and how they work, with examples!
RegEx in VB.NET
Regular expressions - also known as "RegEx" - are strings of text used to match patterns in other strings. Support for RegEx is great in VB.NET and this article is is a "from the ground up" explanation of to use it.
Class Modifiers
A reference to the class modifiers that you can code in your VB.NET program
Chpt. 1 Complete VB.NET
About Visual Basic Class Instructions for Chapter 2 of the Complete Course for VB.NET covering Writing Your First Program.
VB.NET 2005 Setup Part I
Setup Project Deployment in VB.NET 2005 - Part I
UsrCtl01
A short tutorial about how to create a User Control in VB.NET. The article contains the code for a four function calculator that you can implement as a control.
VB.NET: What Happened to Control Arrays!!! (Part I)
An explanation of how to handle collections of controls that is somewhat like VB 6 control arrays.
RegEx in VB.NET
Regular expressions - also known as "RegEx" - are strings of text used to match patterns in other strings. Support for RegEx is great in VB.NET and this article is is a "from the ground up" explanation of to use it.
VB.NET Imports Statement
The actual effect of the Imports statement in VB.NET is often a source of confusion for people learning the language. And the interaction with VB.NET References makes for even more confusion. This Quick Tips article clears it up.
Printing in Visual Basic .NET
Printing in Visual Basic .NET
VB6 Setup Wizard
An About Visual Basic reader asked: How do I use the Packaging and Deployment Wizard to create files and folders when the user installs my application? A question and answer from About Visual Basic.
Programming The Tic Tac Toe Game
Get started learning how to program games by programming Tic Tac Toe in Visual Basic.
Part 3 of an Intro to VB.NET
Part 2 of the About Visual Basic .NET 2005 Express tutorial helps beginners and students of Visual Basic understand "the big picture" - how software systems are created in the real world using the Systems Development Life Cycle. If your goal is to become a professional developer, then a thorough knowledge of systems development is essential and this lesson instroduces it. Part 2 also contains an example program designed to introduce the ideas explained in the "programming" phase of a project.
Admin and VBScript 1
A short About Visual Basic tutorial about using VBScript for administering computer systems. VBScript objects and the WMI and ADSI systems are introduced. - Part 1
Glossary of Visual Basic Terms
Find definitions of technical terms focused for Visual Basic here.
Process EMail in Visual Basic
An About Visual Basic reader asked: How do I use Visual Basic to send and receive email?? A question and answer from About Visual Basic.
Process.Start in VB.NET
Process.Start is the .NET way to start another program executing in Visual Basic .NET. It's a lot different than the Shell command that was used in VB6. This article shows you the in's and out's of using Process.Start.
VB.NET for Beginners - 3
This course is about programming using Visual Studio and the Visual Basic .NET language. It's written for complete beginners so if you're an experienced programmer, you may want to try one of the other tutorials at the site. But if you're completely new to programming, this course is what you're looking for. This is lesson 3 of a series.
Application Settings in VB.NET
VB.NET gives you a great new way to save application settings like connection strings or size and color by application or by user. The methods used in VB.NET are different than the ones in VB.NET 1.1 and other .NET languages such as C#. Technical articles and even on Microsoft's own pages make mistakes. This article clears up the confusion.
VB.NET for Beginners - 2
This course is about programming using Visual Studio and the Visual Basic .NET language. It's written for complete beginners so if you're an experienced programmer, you may want to try one of the other tutorials at the site. But if you're completely new to programming, this course is what you're looking for.
Part 3 of an Intro to VB.NET
Part 2 of the About Visual Basic .NET 2005 Express tutorial helps beginners and students of Visual Basic understand "the big picture" - how software systems are created in the real world using the Systems Development Life Cycle. If your goal is to become a professional developer, then a thorough knowledge of systems development is essential and this lesson instroduces it. Part 2 also contains an example program designed to introduce the ideas explained in the "programming" phase of a project.
Managing Forms - VB .NET Style
A short description showing how to manage multiple forms in a VB .NET application.
Program an Inherited Control
You can build a VB.NET control that has many of the advantages of a toolbox component without much effort. This article is a great "getting started" project that will teach you a lot about how classes and inheritance in the VB.NET works.
Part 1: Write A Program! Now!
Written for total non-programmers, Learn VBA Macro Coding with Word 2007 starts out by showing you how to write a very simple VBA program that runs in Word in the first lesson. The course does assume that you know how to use a computer and Word 2007, but it does not assume that you know anything about writing a computer program. If you want to know how to get more out of Word, this course is for you.
VBA - The Word Working Partner
The second segment of a series About using VBA - Visual Basic for Applications. This segment shows how to use VBA in Word.
Learn VBScript
A beginner's tutorial for VB.NET plus links to other training on the Web
VB.NET Books for Beginners
The VB.NET Books that don't assume much previous knowledge
If-Then-Else and Select Case
About Visual Basic Class Instructions for Chapter 6 of the Complete Course for VB.NET covering Decision Structures
Visual Basic .NET for Beginners
The third segment of a tutorial series About programming in VB .NET for people just starting out.
Amazing Splits
A clever function using the Split function for both VB 6 and VB.NET. From Peter Zilahy Ingerman, PhD
The VB.NET Upgrade Wizard
Need To Upgrade VB 6 to VB.NET? Consider This First!
Using WSH and VBScript
dos batch programs dos batch files bush gore debate message board discussion forum dos menu: Use VBScript for routine computer tasks
Using the MSIEXEC utility
Using the Microsoft Windows Install MSIEXEC utility
A Guide to the Win32 API
bush gore debate win32 api appleman visual basic programmer type libraries: Here's a better guide to the Windows API
Handling Events in VB.NET
Visual Basic .NET event handlers have a common architecture that always uses the arguments sender and e to provide the ability to write code that does whatever is needed. But using these arguments isn't always the same. This article explores the techniques that you can use to handle events in Visual Basic .NET.
Using ADO .NET - Access and OleDB Part 2
The second segment of a series About using ADO with Visual Basic .NET
Framework Tools - SN.EXE
An introduction to the .NET Framework tool sn.exe
Bitwise Logical Ops in VB.NET
The VB logical operators AND, OR, NOT, and Xor do something interesting when they're evaluated 'bitwise' in VB.NET with a Boolean and an Integer. This article uses Xor to illustrate exactly what happens and why. It's a great exercise that will ensure that you understand exactly how they work.
Part 5 of an Intro to VB.NET
incredible (and growing) body of software. Like icebergs, you normally don't see most of the .NET Framework. But in segment 5 of the About Visual Basic .NET 2008 Express tutorial, we take a detailed look at the pieces that are in the .NET Framework. And we finish up the segment by coding a first example of an object.
Web Service Debug
Debug a Web Service
Encryption Simple
Learn how to code your own very simple encryption with this Visual Basic .NET program. Sophisticated and virtually unbreakable encryption is available in abundance in today's software. But setting up and using "industrial strength" encryption can be a lot of effort. If you just want a way to encrypt a simple text file, here's a downloadable program that does the trick, programmed in VB.NET 2005 Express.
VB.NET Dialogs
Dialogs in VB.NET use object oriented properties and methods, rather than the previous idea used in COM of returning a value, to tell the calling program what happened in the dialog. Like everything else in .NET, this may require an adjustment in your thinking to use them correctly. This article tells you how VB.NET dialogs work.
TableLayout FlowLayout VB.NET
The ability to design your application interface was given a huge boost when Microsoft intoduced the two new controls TableLayoutPanel and FlowLayoutPanel in Framework 2.0. Using these controls, you can create forms where the other controls, like Textbox and Listbox, stay right where you want them to be. And you can even get autosizing effects that were previously only available with third party purchased controls. This article shows you how to get the most from these controls.
Structures, Multi Arrays
A structure and a multidimensional array have a lot in common in Visual Basic .NET programming. Often, you can use either one and your program will work just as well either way. But there are some clear differences. This Quick Tip helps you understand both of them so you can manage information inside a program better.
VBA - Word and Excel Working Together
The fourth segment of a series About using VBA - Visual Basic for Applications. This segment shows how to use VBA with two applications together - in this case Word and Excel.
GDI+ Graphics Intro Part 1
GDI+ is the way to draw shapes, fonts, images or generally anything graphic in Visual Basic .NET. This article is part 1 of a complete introduction for programmers.
Using Enums in VB.NET
The Enum is a fundamental part of Visual Basic that dates back to before VB.NET. This article shows you what it is and how to use it in programs.
VB 6 Resources
How To Use Resources in Visual Basic 6.
XML Configuration File
Creating a configuration file is a common programming task. This article shows how to create one using standard XML and Visual Basic .NET 2005. The article also includes the complete code for a sample application that persists basic information for a stock market calculation utility program.
VB.NET 2005 Setup Part II
Setup Project Deployment in VB.NET 2005, the File System Editor Designer
VBA - Accessing Access
The fifth segment of a series About using VBA - Visual Basic for Applications. This segment shows how to use VBA with Word and Access.
Part 4 of an Intro to VB.NET
Visual Basic .NET 2008 Express is a great opportunity for people to learn and use the latest version of Microsoft's development technology at no cost. This is part 4 of a tutorial that tells you what you get with special emphasis on what's new and improved.
Part 2 - Using ADO .NET - Access and OleDB
The second segment of a series About using ADO with Visual Basic .NET
Part 8 of an Intro to VB.NET
Part 8 of the VB Express tutorial introduces the use of XML in .NET. VB.NET 2008 has added a lot of support for XML. To cover the technologies, we will update to the Signature Block example program to use XML and the DOM (Document Object Model) to read and save the data Then well do it the easy way using LINQ, the latest Microsoft technology introduced in Framework 3.5. Serialization to an XML file and XML literals in VB.NET will also be covered.
Accessing Web Pages Using Excel VBA - SSL and HTTPS
Does the technique of reading a web page with Excel work with HTTPS and SSL? Here's the answer.
Part 8 of an Intro to VB.NET
Part 8 of the VB Express tutorial introduces the use of XML in .NET. VB.NET 2008 has added a lot of support for XML. To cover the technologies, we will update to the Signature Block example program to use XML and the DOM (Document Object Model) to read and save the data Then well do it the easy way using LINQ, the latest Microsoft technology introduced in Framework 3.5. Serialization to an XML file and XML literals in VB.NET will also be covered.
Windows API SetEnv
In VB 6, it was common to be required to use Windows API calls to get things done. In VB.NET, it doesn't happen very often, and, quite frankly, it's a lot harder to do. Before .NET 2.0, using SetEnvironmentVariable was one one of the times when a Win API call was necessary. This article shows you how to call this API in Windows.
Convert Text to Numbers Excel
The advice on the web that tells you how to convert text to numbers in Excel doesn't work. The advice here does. Tested in Excel 2003 and Excel 2007.
VB 6 and DOS
It isn't easy and obvious to figure out how to use VB 6 in a DOS environment, but it is possible. Here's how to do it.
Attributes in VB.NET
Attributes in Visual Basic source code is something new in VB .NET. This article explains how it works.
HTML in VB
A question and answer about How to Process HTML in VB from About Visual Basic
Chpt. 20 Complete VB.NET
About Visual Basic Class Instructions for Chapter 20 of the Complete Course for VB.NET covering Data Presentation Using the DataGrid Control
Shared and Instance Members
The differences in coding and use of the two types of members in VB.NET objects: instance properties and methods and shared properties and methods.
NaN, Infinity, and Divide by Zero
NaN, Infinity, and Divide by Zero - New VB.NET Constants and Try Catch structured error handling.
VBE New Controls
A review of the new controls available in Visual Basic 2005 Express Edition.
IEnumerable and IEnumerator
IEnumerable and IEnumerator are frequently tossed into technical articles these days. That's because this technique forms a core element of .NET technology. Unfortunately, the articles don't say a thing about what they do. This article, written in the 'from the ground up' style, fills in that missing explanation.
Google API
A description of the API, Application Programming Interface, provided by the Google search site that you can use in your Visual Basic .NET programs.
VB Programming for the Non-Programmers!
ready set go 2 open word macro recorder menu commands program source: An Introduction to Word VBA
Part 6 of an Intro to VB.NET
Because OOP - Object Oriented Programming - is so important and such a core concept in VB.NET, part 6 of the VB Express tutorial is focused on it. Objects in software are explained in terms of an everyday object (a television) and the Signature Block program, a new example that we also develop in several later segments, is introduced.
VB .NET Hashtable - Part Two Of A Series
What are called, ADT's or Abstract Data Types have been evolving for years starting with Collections in VB and Dictionary Objects in VB Script. VB .NET's Hashtable object is the state of the art now. Part One of this series discusses Arrays, the Collection object and the Dictionary object. This article concludes with a detailed look at the VB .NET Hashtable object.
Generic List(Of T) in VB.NET
The most useful "generics" objects in VB.NET are in the System.Collections.Generic namespace. And the most useful class in that namespace is the List class. This article extends a previous article about Generics and has examples and explanations of the ForEach, FindAll, and Sort methods in Visual Basic .NET.
Lesson 5 VBA Intermediate
The fifth and concluding lesson of a series About using VBA - Visual Basic for Applications. This segment shows how to use VBA with Access and wraps up the series with some general observations.
Leap Year Calculation
A complete explanation of how to calculate leap years in Visual Basic, what problems are out there, and why it's necessary.
Bitwise Operations in VB.NET
VB.NET doesn't support bit level operations directly. Framework 1.1 (VB.NET 2003) introduced bit shift operators (<< and >>), but no general purpose way to manipulate individual bits is available. This article shows how to do it.
Using Crystal Reports OCX Control in VB.NET 2003
About Visual Basic reader John Ferry shows us how to use the free copy of Crystal Reports that was bundled with Visual Basic 4.0 Professional in the latest version of VB .NET.
VBA Macro
An introduction level course in Visual Basic using VBA for Microsoft Word - Page 3
Using ClickOnce
Using ClickOnce Deployment in VB.NET 2005
References and Namespaces
The concept of a namespace is new to VB.NET and this makes it one of the things that can confuse someone making the switch from VB 6 to VB.NET. This article explores the concept of a namespace and explores the different ways that it can be used in VB.NET. The article was inspired by a thread in the About Visual Basic Forum.
VB6: Taming the Wild New IE Object
Solving timing problems that occur when opening a new instance of IE in VB 6.
VB Programming for Non-Programmers!
A Guide to learning how to program using Visual Basic for those with no experience. VBA with Microsoft Office 2000 is required.
The LinkLabel VB.NET Control
LinkLabel, new in Visual Basic .NET, is a standard control that lets you embed web-style links in a form. Like many VB.NET controls, this one doesn't do anything that you couldn't do before ... but with more code and more trouble. LinkLabel makes it easy. This article tells you everything you might need to know about using it.
Early and Late Binding
[p]An explanation of "early binding" and "late binding" with the advantages of early binding explained and examples. This article was written for, and tested with VB.NET 2005 Express Edition but the concepts apply to any version. [p]The "textbook" definition goes something like this (copied from Microsoft's MSDN page): [p]"An object is early bound when it is assigned to a variable declared to be of a specific object type."
VB.NET 2.0 Deploy Options
Deployment options for Visual Studio .NET 2.0 overview
About VB and the About Site
If you're new to Visual Basic or new to the About Visual Basic site, this article explains both. Visual Basic is defined and introduced and the article explains what the About Visual Basic site is too.
Friend, Protected Friend
Visual Basic .NET is completely OOP (Object Oriented Programming) because it supports inheritance, the major thing that previous versions of Visual Basic did not support. And because it supports inheritance, it also has two new access modifiers: Friend and Protected Friend. This Quick Tip introduces them to you.
ImageList in VB.NET
The ImageList control has been a feature of Visual Basic since VB6 days. But most people don't use it, probably because it's just not clear to many programmers what the ImageList will do. This article explains it.
Static and Dynamic Objects
Students of Visual Basic .NET may not fully understand the concept of what static (Shared in VB.NET) and dynamic mean in object oriented programming. This article explains it.
Hide versus Unload in VB 6
An About Visual Basic reader asks what the difference is between Hide and Unload in Visual Basic 6.
sender and e event parameters
The sender and e parameters passed by the system to standard VB.NET event subroutines are key elements in your programming toolkit. It's all part of the new sOOPercharged VB.NET. This Quick Tip explains how to use them.
Attributes in VB .NET
Attributes in Visual Basic source code is something new in VB .NET. This article explains how it works.
VB.NET: What Happened to Control Arrays!!! (Part II)
An explanation of how to handle collections of controls that is somewhat like VB 6 control arrays.
Chpt. 16 Complete VB.NET
About Visual Basic Class Instructions for Chapter 16 of the Complete Course for VB.NET covering Adding Graphics and Animation Effects
Printing in VB.NET
VB.NET has direct and easy to use support for printing. This short article explains how it's done uisng the System.Drawing.Printing namespace. In addition, if you run into an InvalidPrinterException in Windows XP or an AccessViolationException in Vista, you might want to see how I got around it here.
Using ADO .NET - First Principles
The first segment of a series About using ADO with Visual Basic .NET
GDI+ Graphics Intro Part 2
GDI+ is the way to draw shapes, fonts, images or generally anything graphic in Visual Basic 2005 .NET. This article is part 2 of a complete introduction for programmers. In this article, "vector graphics" - drawing lines and shapes - is discussed. The standard sine, cosine, and tangent trigonometric functions are graphed as an example.
Part 7 of an Intro to VB.NET
The bottom line of nearly all programs is data and part 7 of the VB Express tutorial introduces the VB.NET technologies to work with it. In .NET, almost everything having ot do with data is part of ADO.NET, so that's explained first. To nail down the concepts, Version 2 of the Signature Block program is developed which introduces another key technology: serialization.
XML Configuration File
Creating a configuration file is a common programming task. This article shows how to create one using standard XML and Visual Basic .NET 2005. The article also includes the complete code for a sample application that persists basic information for a stock market calculation utility program.
ContextMenuStrip VB Control
The ContextMenuStrip Visual Basic control is a little known example of the new generation of controls available in Visual Basic .NET. This article is a complete explanation to help you learn to use it.
Chpt. 5 Complete VB.NET Part 1
About Visual Basic Class Instructions for Chapter 5 of the Complete Course for VB.NET covering VB.NET Language and Syntax. Part 1
VB.NET Region Directive
In the very first edition of VB.NET, compiler generated code was kept in a hidden Region section to protect it from being accidentally changed. When Framework 2.0 was released, Microsoft started using partial classes to do the same thing. But the Region directive is still available to programmers to use to make their own code better organized and easier to read. This Quick Tip shows you how to use it, and why.
Visual Basic and Recursion
Recursion is a valuable programming technique and when a programming problem requires this technique, nothing else quite works. But there is a hidden trap in recursion that you need to know about: It can eat memory resources like nothing else. This Quick Tip explains it.
A First ClickOnce Application
Step-by-Step: A First ClickOnce Application
Word VBA Field Code Macro
A quick answer to an About Visual Basic reader showing how to code a Word VBA program to score a test using the results of FORMDROPDOWN field codes embedded in the document.
Resource Files in VB.NET
VB.NET resource files allow you to make objects like graphic files, strings, and icons available to your code and be included as part of the project. A resource file is integrated directly into your Visual Basic project for maximum execution speed and minimum hassle packaging and deploying your application. This article tells just how to use them in VB.NET.
Queues, Stacks, Calculator
A Calculator program, previously featured at About Visual Basic, is reprogrammed using the VB.NET Queue object rather than conditional logic for more clear code, smaller code, and the elimination of bugs in the previous version. The VB.NET Stack object is also explained.
Word VBA
An introduction level course in Visual Basic using VBA for Microsoft Word - Introduction to the tutorial, Page 1
RegEx and ASP.NET
An explanation of how to use the RegularExpressionValidator control in ASP.NET including an example of how to code a regular expression and how to add client side script validation using the regular expression.
Setting Access Properties From VB
How to set Access database properties from a VB program
Top Five VB.NET Changes
This article answers the question, what is the difference between VB 6 and VB.NET. It is the About Visual Basic Guide's personal opinion about the reasons for the change and the top five differences.
Guide to the VB.NET Books
About Visual Basic's Guide to the VB.NET Technical Books. A personalized and penetrating look at the huge collection of VB.NET books that you won't find anywhere else!
VB.NET - Reference an object in different classes
A question and answer from the About Visual Basic Site
Simple Databases in VB.NET
A lot of programmers still use a sequential file when they need to save and retrieve data in a Visual Basic program. There are a lot of better alternatives, however. Free programming tools from Microsoft make it easy to use a database rather than a sequential file. And the new SQL Server Compact 3.5 database files make it even easier. This article shows you how it's done.
Simple File Processing in .NET
There are a lot of ways to process simple files in VB.NET. The problem is that there are too many, and most references drown you with detail about all of the features of just one specific way. This article takes a different approach. All of the ways to do simple file processing are presented at a summary level so you can see what's available and take your pick. The methods presented range from legacy objects like LineInput to serialization, TextFieldParser, and LINQ to XML.
Debug Quick Tip for VB.NET
Debugging in VB.NET usually means using the Debug icons to single-step your program and maybe a few breakpoints. But there are a lot of little known things about debugging. This quick tip shows just a few of the more useful ones.
Control Arrays 5
The class code for a VB.NET Control Array Example
Sams Teach Yourself Visual Basic .NET in 21 Days
Sams Teach Yourself Visual Basic .NET in 21 Days and Sams Teach Yourself More Visual Basic .NET in 21 Days
Part 4: Adding to the System
Written for total non-programmers, Learn VBA Macro Coding with Word 2007 starts out by showing you how to write a very simple VBA program that runs in Word in the first lesson. The course does assume that you know how to use a computer and Word 2007, but it does not assume that you know anything about writing a computer program. If you want to know how to get more out of Word, this course is for you.
Procedures in VB.NET
There are many different ways to simply call a procedure - a subroutine or a function - in Visual Basic .NET. There are new keywords like ParamArray and new concepts like overloading that has been borrowed from other languages. This article explores the complete spectrum of possibilities.
Murach ADO.NET 2.0 and VB 2005
Murach, the great publisher of books completely focused on learning technology, publishes a book about Microsoft's database programming technology ADO.NET 2.0 with Visual Basic 2005.
Part 1: What is ASP.NET 2.0?
Learn how to create great web pages using a free development system from Microsoft based on VB.NET and ASP.NET 2.0. You don't even have to get a web site from a hosting service to write the system. (You need one if you want people to be able to see it on the web, however.) This is part 1 of a introductory tutorial using VB.NET Visual Web Developer Express. In this segment, you learn what it is, how to get it, and how to get started using it by writing a program.
Using Namespaces in VB.NET
Namespaces keep Visual Basic .NET organized. .NET by itself is huge and the names of individual software objects frequently overlap. Add in the code that all of the .NET programmers write and you have a giant pot of names that would be chaos if there wasn't a way to organize it and keep one software object from interfering with another. The way it's done is namespaces. This article explains what they are and how to use them.
Console Applications in VB.NET
A lot of programs, called Console Applications, are designed to be used at a Command Prompt. This article is a anthology of techniques that involve the use of the Command Prompt in both VB.NET and in VB 6.
Using Delegates in VB.NET
Delegates are used in VB.NET to "allow a function to be invoked indirectly by way of a reference to the function." They're a key part of the way events are triggered in VB.NET and give you runtime flexibilty. This article explains more about what they are and how to use them.
MustInherit and NotInheritable in VB.NET
VB.NET Supports Planned Parenthood! The new Inheritance in VB.NET is fully controllable.
.NET Assemblies
Assemblies in .NET: What they are and how to manage them
CompleteCourseIntro
A complete course in Microsoft Visual Basic .NET based on the Microsoft Press Learning Edition. From About Visual Basic. Page 1 of the introduction to the course.
Framework Tools - ILDASM
An introduction to the .NET Framework tools, including an introduction to ILDASM.
Part 2: Word 2007 VBA Objects
Written for total non-programmers, Learn VBA Macro Coding with Word 2007 starts out by showing you how to write a very simple VBA program that runs in Word in the first lesson. The course does assume that you know how to use a computer and Word 2007, but it does not assume that you know anything about writing a computer program. If you want to know how to get more out of Word, this course is for you.
Setting Tabs in VB.NET and VB6
An About Visual Basic reader asked: How can I align colums in a ListBox. VB6 doesn't provide a convenient way. You can do it in VB.NET but VB6 requires API calls. This article shows both ways, and it also shows you how to call the API.
Call COM objects from VB.NET
There are still plenty of reasons to use COM, Microsoft's Component Object Model architecture, in .NET. This article walks through a program that updates an Excel 2007 spreadsheet using Visual Basic .NET 2008 Express.
Page 2/The VB.NET Upgrade Wizard
Need To Upgrade VB 6 to VB.NET? Consider This First!
LINQ to XML AutoTest example
Microsoft's LINQ technology combined with XML can revolutionize the way you program, but it's difficult to make the transition from more traditional ways of programming to LINQ. Moving to XML can be a challenge too. A reader asked for help programming a system to generate random test questions. Since it seemed like an ideal way to showcase LINQ, I wrote most of the code as a programming example.
Chpt. 12 Complete VB.NET
About Visual Basic Class Instructions for Chapter 12 of the Complete Course for VB.NET covering Text Files and String Processing.

Explore Visual Basic

By Category

About.com Special Features

Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic

©2009 About.com, a part of The New York Times Company.

All rights reserved.