Visual Basic Tutorials, Tips, References and Examples

Visual Basic 6

Visual Basic

Many people, myself included, find Visual Basic 6 to be far superior to the atrocity that is VB.NET. I had high hopes for VB.NET, but the more I use it the more I find myself missing the ease of use, especially for RAD, that VB6 offered. Mainstream support of VB6 ended in March 2005 and Microsoft has stated that VB6 will enter "non-supported phase" in March 2008. In that vein I’ve decided to keep alive a collection of Visual Basic tutorials and tips I’ve written. This is mostly for my own reference, but if you find these pages useful or have a question, feel free to leave a comment.

With the help of a couple books, and lot of code crunching, I taught myself Visual Basic, so if my ideas sometimes aren’t ideal or optimal and you have an improvement or suggestion, please send me an email or leave a comment.

Table of Contents

  1. Introduction
  2. The Form
  3. Controls
    1. Basic Controls
    2. Advanced Image Control
    3. Advanced Combo Box
    4. ListView and TreeView
    5. MaskedEdit and RichTextBox
    6. Data Control
    7. FlexGrid Control
    8. Control Arrays
  4. Events
    1. Form Events
    2. Control Events
    3. Keyboard Events
    4. Mouse Events
    5. Drag and Drop
  5. Menus
  6. Data Types
  7. Collections
  8. Writing Code
  9. Control Structures
  10. Data Structures
  11. Functions
    1. Mathematical Functions
    2. String Functions
    3. Date/Time Functions
    4. Graphical Functions
    5. Other Functions
    6. Data Access Object
    7. ActiveX Data Objects
  12. File Access
  13. Debugging
  14. Exceptions
  15. Printing
  16. Object-Oriented Programming
  17. Introduction to SQL
    1. Data Manipulation and Control
    2. Microsoft Access
    3. MySQL
    4. Microsoft SQL Server
  18. Advanced Topics
  19. WindowsXP Style
  20. Working With Microsoft Office
    1. Creating Excel Workbooks in XML
  21. Windows API
    1. INI Files
    2. Windows Registry
    3. Caps Lock Key
  22. Glossary