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 2010 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.
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 2010 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.
Generic List(Of T) in VB.NET
The concept of "generic objects" in VB.NET is introduced in the article, Generics! Cleaner Data - Faster
The concept of "generic objects" in VB.NET is introduced in the article, Generics! Cleaner Data - Faster
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.
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.
Decimal data type
The Decimal data type in VB.NET
The Decimal data type in VB.NET
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.
The starting place for exploring Visual Basic resources on the Web. Here's how to get started programming Visual Basic from the ground up.
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.
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.
What is Visual Basic?
What is Visual Basic? It's a computer programming system developed and owned by Microsoft. Visual Basic
What is Visual Basic? It's a computer programming system developed and owned by Microsoft. 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.
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.
Data types in VB.NET
Data types in VB.NET
Data types in VB.NET
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.
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.
Programming The Tic Tac Toe Game
Get started learning how to program games by programming Tic Tac Toe in Visual Basic.
Get started learning how to program games by programming Tic Tac Toe in Visual Basic.
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.
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.
Dialogs in VB.NET
Dialogs can be the most useful type of form in a Windows Forms application, but in spite of this, the way they actually function isn't always easy to understand. The goal of this article is to make it easy for you.
Dialogs can be the most useful type of form in a Windows Forms application, but in spite of this, the way they actually function isn't always easy to understand. The goal of this article is to make it easy for you.
RegEx in VB.NET
RegEx is built into VB.NET, but you should reference the right namespace to use it. When you use RegEx,
RegEx is built into VB.NET, but you should reference the right namespace to use it. When you use RegEx,
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.
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.
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.
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.
Timers in Office VBA Macros
VBA - Visual Basic for Applications - is the only remaining VB6 "COM" level technology in the Microsoft
VBA - Visual Basic for Applications - is the only remaining VB6 "COM" level technology in the Microsoft
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.
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.
Process HTML InternetExplorer
An About Visual Basic reader asked: How do I use Visual Basic to access the HTML code of a website? A question and answer from About Visual Basic.
An About Visual Basic reader asked: How do I use Visual Basic to access the HTML code of a website? A question and answer from About Visual Basic.
AndAlso and OrElse Operators
VB.NET features two logical operators that help make your programming ... well ... more logical. The
VB.NET features two logical operators that help make your programming ... well ... more logical. The
WPF XAML for VB Programmers
WPF and XAML - Windows Presentation Foundation - and XAML - Extensible Application Markup Language - are an entirely new way to create application interfaces that were introduced with Windows Vista and Framework 3.0. Most references approach the subject from the XAML and WPF point of view. Here's one written for the Visual Basic programmer that starts at the beginning.
WPF and XAML - Windows Presentation Foundation - and XAML - Extensible Application Markup Language - are an entirely new way to create application interfaces that were introduced with Windows Vista and Framework 3.0. Most references approach the subject from the XAML and WPF point of view. Here's one written for the Visual Basic programmer that starts at the beginning.
Class Modifiers
A reference to the class modifiers that you can code in your VB.NET program
A reference to the class modifiers that you can code in your VB.NET program
Using Delegates in VB.NET
"Delegate" is a name used to describe procedures -- that is, functions and subroutines -- in VB.NET.
"Delegate" is a name used to describe procedures -- that is, functions and subroutines -- in VB.NET.
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.
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.
Display a PDF With VB.NET
PDF is an Adobe format for presenting documents. But since Adobe is a competitor to Microsoft, there's uneven support for the format in Microsoft products. You can save Office files as PDF files, but Microsoft doesn't provide any software tools for integrating the format into systems created with VB.NET. But you can do it anyway. This Quick Tip shows you how.
PDF is an Adobe format for presenting documents. But since Adobe is a competitor to Microsoft, there's uneven support for the format in Microsoft products. You can save Office files as PDF files, but Microsoft doesn't provide any software tools for integrating the format into systems created with VB.NET. But you can do it anyway. This Quick Tip shows you how.
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.
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.
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.
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.
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. This Quick Tip explains how to use them.
The sender and e parameters passed by the system to standard VB.NET event subroutines are key elements in your programming toolkit. This Quick Tip explains how to use them.
Printing in Visual Basic .NET
Printing in Visual Basic .NET
Printing in Visual Basic .NET
Disposing Objects in VB.NET
Disposing an object is something that you won't have to worry about in VB.NET very often. .NET includes a technology called Garbage Collection that usually takes care of everything silently and efficiently. But occasionally, usually when using file streams, sql objects or graphics (GDI+) objects, you may need to take control of disposing objects in your own code. Or, you might write your own class that implements the IDisposable interface. This article gives you some useful advice.
Disposing an object is something that you won't have to worry about in VB.NET very often. .NET includes a technology called Garbage Collection that usually takes care of everything silently and efficiently. But occasionally, usually when using file streams, sql objects or graphics (GDI+) objects, you may need to take control of disposing objects in your own code. Or, you might write your own class that implements the IDisposable interface. This article gives you some useful advice.
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.
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.
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 the more complex Format method and Format function in VB.NET.
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 the more complex Format method and Format function in VB.NET.
Glossary of Visual Basic Terms
Find definitions of technical terms focused for Visual Basic here.
Find definitions of technical terms focused for Visual Basic 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.
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.
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#. But technical articles I have read and even on Microsoft's own pages make mistakes. The goal of this article is to clear up as much confusion as possible, but some remaining problems are documented in it as well.
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#. But technical articles I have read and even on Microsoft's own pages make mistakes. The goal of this article is to clear up as much confusion as possible, but some remaining problems are documented in it as well.
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.
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.
Program an Inherited Control
Building complete custom components can be a very advanced project. But you can build a VB.NET class
Building complete custom components can be a very advanced project. But you can build a VB.NET class
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.
An explanation of how to handle collections of controls that is somewhat like VB 6 control arrays.
CreateShortcut in VBScript
A really fast Quick Tip about a very useful object that you can use in VBScript - Visual Basic Script - to manage your desktop; the CreateShortcut object.
A really fast Quick Tip about a very useful object that you can use in VBScript - Visual Basic Script - to manage your desktop; the CreateShortcut object.
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.
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.
Shared and Instance Members
A method or property can either be shared, so that the code in the actual Class definition is executed, or it can called through an instance of the Class. This article describes what these two things mean and why they're both useful in Visual Basic .NET.
A method or property can either be shared, so that the code in the actual Class definition is executed, or it can called through an instance of the Class. This article describes what these two things mean and why they're both useful in Visual Basic .NET.
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.
A description of the API, Application Programming Interface, provided by the Google search site that you can use in your Visual Basic .NET programs.
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.
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.
VB.NET Books for Beginners
The VB.NET Books that don't assume much previous knowledge
The VB.NET Books that don't assume much previous knowledge
Chart Control in VB ASP.NET
ASP.NET 4.0 has added the Chart control as a standard feature. It was available in ASP.NET 3.5 as a download. Writing the code for the charts themselves is reasonably complex, mainly because charts are reasonably complex. But the question that pops up most often isn't about the coding the charts. It's about how to make the Chart control work in the first place. That's what this article is about.
ASP.NET 4.0 has added the Chart control as a standard feature. It was available in ASP.NET 3.5 as a download. Writing the code for the charts themselves is reasonably complex, mainly because charts are reasonably complex. But the question that pops up most often isn't about the coding the charts. It's about how to make the Chart control work in the first place. That's what this article is about.
Managing Forms - VB .NET Style
A short description showing how to manage multiple forms in a VB .NET application.
A short description showing how to manage multiple forms in a VB .NET application.
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.
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.
Word VBA Introduction
Microsoft Word is an amazingly complete and complex environment to work in. Most of us wordsmiths (and
Microsoft Word is an amazingly complete and complex environment to work in. Most of us wordsmiths (and
Excel Cell Shading Macro
A reader asked how to change the background color of an Excel spreadsheet cell with VBA macro code. The answer involved some techniques that could come in handy for more than just this. This Quick Tip explains it all.
A reader asked how to change the background color of an Excel spreadsheet cell with VBA macro code. The answer involved some techniques that could come in handy for more than just this. This Quick Tip explains it all.
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.
An exploration of Hexadecimal, Octal, Binary as well as the familiar Decimal numbers that are fundamental parts of a programmer's knowledge toolkit.
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.
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.
Access HTTPS and SSL Using VBA
A reader asked if VBA could be used to login to a secure web site using HTTPS and SSL. The answer is yes ... and no. This Quick Tip explains what that means.
A reader asked if VBA could be used to login to a secure web site using HTTPS and SSL. The answer is yes ... and no. This Quick Tip explains what that means.
Word-Excel Working Together
Adding power with custom programming to host applications like Word or Excel is a primary benefit of
Adding power with custom programming to host applications like Word or Excel is a primary benefit of
Early and Late Binding
You see the phrases, "early binding" and "late binding" quite frequently in Microsoft documentation and
You see the phrases, "early binding" and "late binding" quite frequently in Microsoft documentation and
VB 6 Resources
How To Use Resources in Visual Basic 6.
How To Use Resources in Visual Basic 6.
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.
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.
Framework Assemblies
The assembly is the fundamental unit of code in .NET. Systems are made of assemblies and the most basic properties - security, data typing, versioning - are defined for assemblies. This article explains what they are and how an assembly is used in your system.
The assembly is the fundamental unit of code in .NET. Systems are made of assemblies and the most basic properties - security, data typing, versioning - are defined for assemblies. This article explains what they are and how an assembly is used in your system.
Using lambda in VB.NET
Lambda expressions were introduced in VB.NET 2008/Framework 3.5 and they have a reputation as being really difficult, partly because of the name. In fact, getting started with lamda expressions is really easy. This article shows you what they are.
Lambda expressions were introduced in VB.NET 2008/Framework 3.5 and they have a reputation as being really difficult, partly because of the name. In fact, getting started with lamda expressions is really easy. This article shows you what they are.
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.
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.
ByRef Bug VB6 VB.NET Upgrade
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.
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.
VB6 Collection, VBScript Dictionary, and VB.NET Hashtable
Collections are a handy alternative to using arrays in VB6. 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!
Collections are a handy alternative to using arrays in VB6. 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!
A Guide to the Win32 API
Here's a better guide to the Windows API: bush gore debate win32 api appleman visual basic programmer type libraries
Here's a better guide to the Windows API: bush gore debate win32 api appleman visual basic programmer type libraries
Learn VBScript
A beginner's tutorial for VB.NET plus links to other training on the Web
A beginner's tutorial for VB.NET plus links to other training on the Web
Font Properties
A reader asked how to write the Visual Basic code for a Bold, Underline and Italic checkbox. It should be dead easy, but in VB.NET, they've made it a little harder. (Isn't everything?) It's a fundamental topic.
A reader asked how to write the Visual Basic code for a Bold, Underline and Italic checkbox. It should be dead easy, but in VB.NET, they've made it a little harder. (Isn't everything?) It's a fundamental topic.
Amazing Splits
A clever function using the Split function for both VB 6 and VB.NET. From Peter Zilahy Ingerman, PhD
A clever function using the Split function for both VB 6 and VB.NET. From Peter Zilahy Ingerman, PhD
Part 8 of an Intro to VB.NET
Part 8 of the VB Express tutorial introduces the use of XML in .NET. VB.NET 2010 includes 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, Microsoft technology introduced in Framework 3.5. Serialization to an XML file and XML literals in VB.NET will also be covered.
Part 8 of the VB Express tutorial introduces the use of XML in .NET. VB.NET 2010 includes 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, Microsoft technology introduced in Framework 3.5. Serialization to an XML file and XML literals in VB.NET will also be covered.
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
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
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.
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.
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.
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.
Using Nullable Types in VB.NET
Here's the bottom line first. You can write code that assigns the value Nothing to value types. For example:
Here's the bottom line first. You can write code that assigns the value Nothing to value types. For example:
Class Declaring Reference Type
A reference type in VB.NET is an object stored in a type of memory called the Heap. Program code doesn't use the memory directly; it uses pointers to the memory instead. If you create a class in your code and then instantiate the class as an object, it's a reference type. But there are several ways in VB.NET that you can declare one. This article explains these different methods.
A reference type in VB.NET is an object stored in a type of memory called the Heap. Program code doesn't use the memory directly; it uses pointers to the memory instead. If you create a class in your code and then instantiate the class as an object, it's a reference type. But there are several ways in VB.NET that you can declare one. This article explains these different methods.
The If Operator in VB.NET
The If operator has two new forms in Visual Basic .NET. They're related to the IIF function that has been in VB.NET all along, but they add an interesting twist to make your code simpler and more bulletproof.
The If operator has two new forms in Visual Basic .NET. They're related to the IIF function that has been in VB.NET all along, but they add an interesting twist to make your code simpler and more bulletproof.
NaN, Infinity, and Divide by Zero
NaN, Infinity, and Divide by Zero - New VB.NET Constants and Try Catch structured error handling.
NaN, Infinity, and Divide by Zero - New VB.NET Constants and Try Catch structured error handling.
Solution and Project Files
The .sln and .vbproj files can both be used to start a session of Visual Studio to work on the code for a Visual Basic system. This Quick Tip introduces the VB.NET solution and project files, how they're different and more.
The .sln and .vbproj files can both be used to start a session of Visual Studio to work on the code for a Visual Basic system. This Quick Tip introduces the VB.NET solution and project files, how they're different and more.
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.
The fifth segment of a series About using VBA - Visual Basic for Applications. This segment shows how to use VBA with Word and Access.
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.
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.
Using Attributes - Part One
Attributes store information about an assembly, a class, a method and many other entities in the Visual Basic assembly metadata. This article explains how it works. It's also part one of a two part article where part two shows you how to embed a private key in the metadata so you can send the entire thing to someone and have a reply securely returned.
Attributes store information about an assembly, a class, a method and many other entities in the Visual Basic assembly metadata. This article explains how it works. It's also part one of a two part article where part two shows you how to embed a private key in the metadata so you can send the entire thing to someone and have a reply securely returned.
Hide versus Unload in VB 6
An About Visual Basic reader asks what the difference is between Hide and Unload in Visual Basic 6.
An About Visual Basic reader asks what the difference is between Hide and Unload in Visual Basic 6.
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
About Visual Basic Class Instructions for Chapter 16 of the Complete Course for VB.NET covering Adding Graphics and Animation Effects
Using WSH and VBScript
Use VBScript for routine computer tasks: dos batch programs dos batch files bush gore debate message board discussion forum dos menu
Use VBScript for routine computer tasks: dos batch programs dos batch files bush gore debate message board discussion forum dos menu
Casting in VB.NET - Part One
Casting is the process of converting one data type to another, for example, from an Integer type to a String type. Some operations in VB.NET require specific data types to work. Casting creates the type you need. Part One of this two part series introduces casting. This article comparies the performance of DirectCast, CType and TryCast.
Casting is the process of converting one data type to another, for example, from an Integer type to a String type. Some operations in VB.NET require specific data types to work. Casting creates the type you need. Part One of this two part series introduces casting. This article comparies the performance of DirectCast, CType and TryCast.
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.
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.
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.
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.
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.
A complete explanation of how to calculate leap years in Visual Basic, what problems are out there, and why it's necessary.
ClickOnce in VB.NET 2008
An introduction to the ClickOnce (Publish) deployment tool in VB.NET. This article is based on VB.NET 2008 and shows how to deploy an application using ClickOnce.
An introduction to the ClickOnce (Publish) deployment tool in VB.NET. This article is based on VB.NET 2008 and shows how to deploy an application using ClickOnce.
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.
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.
Using the MSIEXEC utility
Using the Microsoft Windows Install MSIEXEC utility
Using the Microsoft Windows Install MSIEXEC utility
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.
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.
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.
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.
Event Programming
Handling events that are made available to you by other objects is easy. Mainly, you just have to select the event in the code window and add some statements to the event subroutine that is automatically created. But what if you want to create your own event? This Quick Tip shows you how.
Handling events that are made available to you by other objects is easy. Mainly, you just have to select the event in the code window and add some statements to the event subroutine that is automatically created. But what if you want to create your own event? This Quick Tip shows you how.
Part 10 of an Intro to VB.NET
Part 10 of the Visual Basic .NET 2010 Express tutorial is all about the vastly expanded ways that different kinds of collections can be programmed. In addition to a very flexible Array, VB.NET also provides Collections, Stacks, and Queues and lots of methods and properties for all of them. The Signature Block program is upgraded to allow multiple blocks in this segment as well.
Part 10 of the Visual Basic .NET 2010 Express tutorial is all about the vastly expanded ways that different kinds of collections can be programmed. In addition to a very flexible Array, VB.NET also provides Collections, Stacks, and Queues and lots of methods and properties for all of them. The Signature Block program is upgraded to allow multiple blocks in this segment as well.
Ten Excel VBA Coding Tips
Ten commonsense suggestions to make coding Excel VBA faster and easier. These tips are based on Excel 2010 (but they work in nearly all versions) and many were inspired by the O'Reilly book: Excel 2010 - The Missing Manual by Matthew MacDonald.
Ten commonsense suggestions to make coding Excel VBA faster and easier. These tips are based on Excel 2010 (but they work in nearly all versions) and many were inspired by the O'Reilly book: Excel 2010 - The Missing Manual by Matthew MacDonald.
Encryption Simple
In today's security conscious online world, encryption has become a major topic. And the software vendors
In today's security conscious online world, encryption has become a major topic. And the software vendors
Web Service Debug
Debug a Web Service
Debug a Web Service
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.
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.
AutoComplete Guide
AutoComplete is a convenience that nearly any program that uses data - and that's virtually all of them - can use. For Windows forms, it's built into the ComboBox and TextBox controls. This Quick Tip shows how to write the VB.NET code. Bonus: There's a performance killing way to write the code that should be avoided. We tell you what it is.
AutoComplete is a convenience that nearly any program that uses data - and that's virtually all of them - can use. For Windows forms, it's built into the ComboBox and TextBox controls. This Quick Tip shows how to write the VB.NET code. Bonus: There's a performance killing way to write the code that should be avoided. We tell you what it is.
Focus and Select
Focus and Select are methods available in Visual Basic .NET that seem to be completely identical. This article explores whether they really are identical, and if not, what differences exist.
Focus and Select are methods available in Visual Basic .NET that seem to be completely identical. This article explores whether they really are identical, and if not, what differences exist.
Class Diagram Tool
The Class Diagram tool in Visual Studio Professional can help you code your VB.NET programs in multiple ways. You may not be using this tool now because it's just not required for writing programs. This article introduces thise useful tool.
The Class Diagram tool in Visual Studio Professional can help you code your VB.NET programs in multiple ways. You may not be using this tool now because it's just not required for writing programs. This article introduces thise useful tool.
Partial Classes in VB.NET
Partial Classes were introduced with VB.NET 2005 (Framework 2.0) and are used in a lot of different ways in VB.NET, including ASP.NET and Windows Forms. This article explains what they are and why they're useful, including how to hide them in Visual Studio Solution Explorer. Tested in both VB 2005 and VB 2008.
Partial Classes were introduced with VB.NET 2005 (Framework 2.0) and are used in a lot of different ways in VB.NET, including ASP.NET and Windows Forms. This article explains what they are and why they're useful, including how to hide them in Visual Studio Solution Explorer. Tested in both VB 2005 and VB 2008.
Framework Tools SN
Microsoft supplies an array of tools and utilities that you need when you go beyond simple applications. These utilities include ILDASM (and ILASM), NGEN, GACUTIL, AL, VBC, and SN. This article is about SN - the Strong Name Utility - and is part of a series.
Microsoft supplies an array of tools and utilities that you need when you go beyond simple applications. These utilities include ILDASM (and ILASM), NGEN, GACUTIL, AL, VBC, and SN. This article is about SN - the Strong Name Utility - and is part of a series.
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.
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 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.
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.
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.
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.
Using ADO .NET - Access and OleDB Part 2
The second segment of a series About using ADO with Visual Basic .NET
The second segment of a series About using ADO with Visual Basic .NET
RichTextBox and Rich Text
The RichTextBox is more than just a TextBox with more properties and methods. It's a different way of using text. That's because the Rich Text standard is much more than just text. This article explains rich text and how to solve reader questions using a RichTextBox component. Selecting, deleting and moving individual lines in the RichTextBox are the main subjects covered.
The RichTextBox is more than just a TextBox with more properties and methods. It's a different way of using text. That's because the Rich Text standard is much more than just text. This article explains rich text and how to solve reader questions using a RichTextBox component. Selecting, deleting and moving individual lines in the RichTextBox are the main subjects covered.
Globalization VBNET
How to display values using localization and customized culture settings using Visual Basic .NET.
How to display values using localization and customized culture settings using Visual Basic .NET.
Extension Methods
A normal class has to be instantiated as an object before the methods in it can be used. But if a method is shared, then the class it's in doesn't have to be instantiated and the method can be used directly. What if you need both? Then you need a feature introduced in VB.NET 2008 called extension methods. This article tells you how that works.
A normal class has to be instantiated as an object before the methods in it can be used. But if a method is shared, then the class it's in doesn't have to be instantiated and the method can be used directly. What if you need both? Then you need a feature introduced in VB.NET 2008 called extension methods. This article tells you how that works.
Excel VBA Introduction
Excel is the Office application that is most frequently automated using VBA. In fact, Excel is where
Excel is the Office application that is most frequently automated using VBA. In fact, Excel is where
Part 5 of an Intro to VB.NET
Visual Basic .NET and all the other .NET languages are just the top layer on a pretty incredible (and growing) body of software. Like icebergs, you normally don't see most of the .NET Framework. But in lesson 5 of the About Visual Basic .NET 2010 Express tutorial, we take a detailed look at the pieces that are in the .NET Framework. We finish up the segment by coding a first example of an object.
Visual Basic .NET and all the other .NET languages are just the top layer on a pretty incredible (and growing) body of software. Like icebergs, you normally don't see most of the .NET Framework. But in lesson 5 of the About Visual Basic .NET 2010 Express tutorial, we take a detailed look at the pieces that are in the .NET Framework. We finish up the segment by coding a first example of an object.
WPF User Controls in VB.NET
This article shows you how to code and use WPF "User Controls". Just as there is a Button, Label, and
This article shows you how to code and use WPF "User Controls". Just as there is a Button, Label, and
Using Arrays and Collections
Step by Step instructions show how to use Arrays and Collections to Manage Data in VB.NET. The differences between arrays and collections are explained. This Step by Step article is suitable for beginners.
Step by Step instructions show how to use Arrays and Collections to Manage Data in VB.NET. The differences between arrays and collections are explained. This Step by Step article is suitable for beginners.
Part 2 - Using ADO .NET - Access and OleDB
The second segment of a series About using ADO with Visual Basic .NET
The second segment of a series About using ADO with Visual Basic .NET
My and System Directories
.NET, and in particular, Visual Basic, provide extra help for discovering information about Special Directories in the (exclusive to VB.NET) My namespace. But not everything you might want to know about is there. This article shows you what's missing, and how to find that using the Environment namespace.
.NET, and in particular, Visual Basic, provide extra help for discovering information about Special Directories in the (exclusive to VB.NET) My namespace. But not everything you might want to know about is there. This article shows you what's missing, and how to find that using the Environment namespace.
VBE New Controls
A review of the new controls available in Visual Basic 2005 Express Edition.
A review of the new controls available in Visual Basic 2005 Express Edition.
Part 3 of an Intro to VB.NET
This is a free tutorial to help beginning programmers get up to speed using Microsoft Visual Basic 2010
This is a free tutorial to help beginning programmers get up to speed using Microsoft Visual Basic 2010
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. Starting with a Boolean and an Integer, this article shows exactly what happens and why. It's a great exercise that will ensure that you understand exactly how they work.
The VB logical operators AND, OR, NOT, and Xor do something interesting when they're evaluated 'bitwise' in VB.NET. Starting with a Boolean and an Integer, this article shows exactly what happens and why. It's a great exercise that will ensure that you understand exactly how they work.
shared access in VB.NET
When you "instantiate" an object in Visual Basic, you simply make a copy of that object for use in your
When you "instantiate" an object in Visual Basic, you simply make a copy of that object for use in your
Resizing Columns in ListView
There is quite a bit of ability to resize columns in a VB.NET ListView control. Some of it seems to be totally undocumented. Some of it doesn't seem to work at all. This article explains how to do it.
There is quite a bit of ability to resize columns in a VB.NET ListView control. Some of it seems to be totally undocumented. Some of it doesn't seem to work at all. This article explains how to do it.
VB.NET 2005 Setup Part II
Setup Project Deployment in VB.NET 2005, the File System Editor Designer
Setup Project Deployment in VB.NET 2005, the File System Editor Designer
VB6: Taming the Wild New IE Object
Solving timing problems that occur when opening a new instance of IE in VB 6.
Solving timing problems that occur when opening a new instance of IE in VB 6.
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.
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.
The ToString Method
The ToString method is one of the fundamental methods in the root of the entire .NET Framework. That makes it available in every other object. This quick tip shows some of the ways ToString can be used.
The ToString method is one of the fundamental methods in the root of the entire .NET Framework. That makes it available in every other object. This quick tip shows some of the ways ToString can be used.
Part 3: First FormLetter
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.
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.
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.
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.
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.
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.
All About Serializing VB.NET
If you need to save everything in a class, structure, or collection for use later on, then serialization is the way to go. In addition to straight-on serialization to a file, this article also shows you how to implement custom serialization where the serializing class does custom processing while it's serializing.
If you need to save everything in a class, structure, or collection for use later on, then serialization is the way to go. In addition to straight-on serialization to a file, this article also shows you how to implement custom serialization where the serializing class does custom processing while it's serializing.
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.
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.
InputBox vs Validating Event
A reader asked for help coding a loop to input data to a ListBox control. The problem was that the reader was using the holdover InputBox from VB6. There are better ways and this Quick Tip shows one of them: the Validating Event of a TextBox control.
A reader asked for help coding a loop to input data to a ListBox control. The problem was that the reader was using the holdover InputBox from VB6. There are better ways and this Quick Tip shows one of them: the Validating Event of a TextBox control.
Registry Find Program Path
A reader asked for help finding a way to determine the path to installed software. This Quick Tip not only shows how to do that, it can serve as an introduction to working with the Windows registry in general using VB.NET.
A reader asked for help finding a way to determine the path to installed software. This Quick Tip not only shows how to do that, it can serve as an introduction to working with the Windows registry in general using VB.NET.
NaN, Infinity and Divide by 0
Beginning programming books usually include this warning: "Don't divide by zero! You'll get a runtime
Beginning programming books usually include this warning: "Don't divide by zero! You'll get a runtime
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.
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.
A First ClickOnce Application
Step-by-Step: A First ClickOnce Application
Step-by-Step: A First ClickOnce Application
Event Code in VB.NET
This article demonstrates how to create event code in VB.NET with an example built around the concept of a Saturday night drinking binge. The article explains how the Windows message queue fits into event processing and shows how regular component event processing is done.
This article demonstrates how to create event code in VB.NET with an example built around the concept of a Saturday night drinking binge. The article explains how the Windows message queue fits into event processing and shows how regular component event processing is done.
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.
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.
Part 7 of an Intro to VB.NET
The bottom line of nearly all programs is data and part 7 of the VB Express 2010 tutorial introduces the VB.NET technologies to work with it. Serialization is one of the first concepts that you should understand about data. Version 2 of the Signature Block program is developed which introduces this key technology.
The bottom line of nearly all programs is data and part 7 of the VB Express 2010 tutorial introduces the VB.NET technologies to work with it. Serialization is one of the first concepts that you should understand about data. Version 2 of the Signature Block program is developed which introduces this key technology.
LINQ to SQL in VB.NET
One way to classify the innovations introduced with LINQ - Language INtegrated Query - is by all of the datastores supported by Microsoft. One of the first datastores people want to use is SQL where the datastore is a SQL Server database. This article shows how to get started using database code that is a compiled part of your VB.NET program.
One way to classify the innovations introduced with LINQ - Language INtegrated Query - is by all of the datastores supported by Microsoft. One of the first datastores people want to use is SQL where the datastore is a SQL Server database. This article shows how to get started using database code that is a compiled part of your VB.NET program.
Class Properties Public Vars
A property of an object can be coded in the class that defines the object as either a Property or a Public variable in the class. This Quick Tip tells you when to do which one. If your New constructor isn't working and you can't figure out why, this tip also documents a bug that might explain the problem.
A property of an object can be coded in the class that defines the object as either a Property or a Public variable in the class. This Quick Tip tells you when to do which one. If your New constructor isn't working and you can't figure out why, this tip also documents a bug that might explain the problem.
Templates in Visual Studio
You can add your own custom project templates and new item templates into Visual Studio. If there are local standards, special requirements, or just programming styles that you like to use, you can start out with part of your work already done by creating a custom template. This article shows you how.
You can add your own custom project templates and new item templates into Visual Studio. If there are local standards, special requirements, or just programming styles that you like to use, you can start out with part of your work already done by creating a custom template. This article shows you how.
Jagged and Rectangular Arrays
There are two ways that you can declare an array in Visual Basic. You can declare it as a multidimensional rectangular array or a jagged array. There are some very important differences and this Quick Tip explains what they are.
There are two ways that you can declare an array in Visual Basic. You can declare it as a multidimensional rectangular array or a jagged array. There are some very important differences and this Quick Tip explains what they are.
VB.NET 2005 Setup Part I
Setup Project Deployment in VB.NET 2005 - Part I
Setup Project Deployment in VB.NET 2005 - Part I
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.
An explanation of how to handle collections of controls that is somewhat like VB 6 control arrays.
Part 4 of an Intro to VB.NET
Visual Basic .NET 2010 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 4 concludes with an introduction to debugging.
Visual Basic .NET 2010 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 4 concludes with an introduction to debugging.
GDI+ Graphics Intro Part 2
GDI+ is the way to draw shapes, fonts, images or generally anything graphic in Visual Basic .NET. Part
GDI+ is the way to draw shapes, fonts, images or generally anything graphic in Visual Basic .NET. Part
FileSystemWatcher Component
The FilesystemWatcher component makes it easy to write programs that run when a file has been added, deleted, or just changed.
The FilesystemWatcher component makes it easy to write programs that run when a file has been added, deleted, or just changed.
VB.NET - Reference an object in different classes
A question and answer from the About Visual Basic Site
A question and answer from the About Visual Basic Site
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.
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.
Application Organization 101
There are just three coding structures for objects that you can use in VB.NET projects: modules, structures, and classes. This article explains the fundamentals of what they are and how to use them.
There are just three coding structures for objects that you can use in VB.NET projects: modules, structures, and classes. This article explains the fundamentals of what they are and how to use them.
RegEx in VB 6
RegEx is supported better in VB.NET, but Visual Basic 6 can also be used with RegEx. Nothing going by
RegEx is supported better in VB.NET, but Visual Basic 6 can also be used with RegEx. Nothing going by
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. The Signature Block program, a new example that we also developed more in later segments, is also introduced.
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. The Signature Block program, a new example that we also developed more in later segments, is also introduced.
If-Then-Else and Select Case
About Visual Basic Class Instructions for Chapter 6 of the Complete Course for VB.NET covering Decision Structures
About Visual Basic Class Instructions for Chapter 6 of the Complete Course for VB.NET covering Decision Structures
