Latest VB6 Tutorials
Level:
Creating PDF files in Visual Basic
Creating PDF documents in Visual Basic has always been a difficult task. Many times people have to purchase controls to do it for them. Not with this Visual Basic tutorial. PDF documents can be created in a snap using the mjwPDF class. This is the first in a series of tutorials. It covers the creation of a basic PDF document.
Level:
Creating Advanced PDF documents in VB
This VB tutorial builds off the last and demonstrates how you can create more advanced PDF files. It teaches you how to create a multi-page document, with page headers, footers, page numbers, shapes, and images.
Level:
Visual Basic 6 String Functions
This tutorial explains all the main vb6 string functions that allow you to manipulate strings including the Len, Mid, Left, Right, UCase, LCase, Instr, InstrRev, String, Space, Replace, StrReverse, LTrim, RTrim, Trim, Asc, Chr, and the ASCII table. This Visual Basic tutorial should meet all your needs.
Level:
Date Time Functions In Visual Basic
Learn how to use the time and date functions in Visual Basic. This VB6 tutorial introduces you to the basics of these functions.
Level:
Visual Basic Combo Box Tutorial
Visual Basic combo boxes are like list boxes but they allow you to have a drop down list and/or be able to type in your own list items instead of only selecting one of the current items. This VB6 combo box tutorial teaches you everything you need to know to use combo boxes in your Visual Basic application.
Level:
Visual Basic & ADO Tutorial
This VB6 tutorial explains how to access a database using ADO in. It uses two different access databases for the back end.
Level:
Using Crystal Reports
Learn how to use Crystal Reports to display a nice report from your database in.
Level:
Database Access with the Data Control
See examples of developing database applications using the data control that ships with Visual Basic 6.
Level:
VB6 Downloads
Want to get a hold of Visual Basic 6.0? Do you have a program written in VB that you wish to run but don't have the VB6 runtime any longer? Have an older program and want to get it running on the latest OS. Read this article for information about downloading VB6 and other VB components.
Level:
Amazing things you can do with the Listbox control
Learn everything about the Listbox control. From simple to advanced to very advanced things you can do with this neat control.
Level:
How to read simple text files
This tutorial explains in detail how you can open text files in different formats and read them into your Visual Basic program.
Level:
Understanding the MsgBox command in Visual Basic
This Visual Basic tutorial explains everything you need to know about displaying a message box using the VB6 MsgBox command.
Level:
VB String Array Functions - Split, Join, Filter
Visual Basic has a few built in string array functions including Split, Join, and Filter. This VB tutorial explains how to use them.
Level:
Using ADO and the ListView control
See how to create a program that reads data using ADO and displays it in a nice ListView control in this VB6 tutorial.
Level:
Understanding the timer control
The timer control is very useful learn how to use it effectively.
Level:
Understanding Forms and form events
This explains in detail how forms work in Visual Basic. It demonstrates how to create them and handle events.
Level:
Using ADO and stored procedures
Learn how to use ADO along with stored procedures in this VB6 tutorial. It shows examples using an access database, SQL database, and oracle database.
Level:
Understanding For, Do, and while Loops
This tutorial explains all of the Visual Basic 6 loop commands (the do loop, do-while loop, do-until loop, and for loop) all with code to demonstrate.
Level:
Working with images in all different ways
Learn many different ways to work with images in - such as resizing them, displaying them, using icons, etc.
Level:
Formating dates and times in VB6
This VB6 tutorial explains how you can format dates and times using the Visual Basic format command.
Level:
Introduction to SQL (Structured Query Language)
This explains in great depth how the SQL language works. It has many examples and uses access databases to demonstrate the SQL syntax.
Level:
Using Option Buttons aka Radio Buttons
Learn how to use the option buttons aka radio button controls in your Graphical User Interface (GUI).
Level:
Using DAO (Data Access Objects) Code
This demonstrates a full working application using nothing but DAO code (no data control) this gives you the advantage of having full control over everything.
Level:
Working with Menus in VB6
This tutorial explains how you can work with Menus in Visual Basic. It covers both normal (on the top) menus and pop-up menus (that "popup" when you right click). You will use both these types of menu's in almost any Visual Basic application you develop.
Level:
Beginner Tutorial - Hello World
Create your first working application that says "Hello, World!". A standard in all programming environments.
Level:
Understanding control arrays
This explains the very useful feature of control arrays. Control arrays allow you to create controls at runtime.
Level:
Multiple Form Splash Screen
Learn how you can use multiple forms. This example shows how to display a splash screen to your program before it starts.
Level:
Database Access with RDO (Remote Data Objects)
This demonstrates how you can use RDO (remote data objects) in Visual Basic to access a database.
Level:
Getting to know the VB6 IDE
This tutorial helps the beginner (and even more experienced users) understand a lot of the cool features the VB6 environment has to offer.
Level:
A Client server Chat program using the Winsock control
See how easy it is to create a simple chat program. This tutorial explains how to create both the client and server sides of the program using the Winsock control.
Latest VB6 Source Code Samples
Level:
Use API To See If Windows Started In Safe Mode
You can interact with any built in Windows API function from Visual Basic. This source sample shows how we can use the GetSystemMetrics API function in order to find out if Windows was started in safe mode or not.
Level:
Drag and Drop With List Box
Drag and Drop is cool and very useful feature that any modern application must implement. This sample demonstrates how you can allow users to drag files from explorer onto a listbox.
Level:
Simple way to store strings in the Registry
The Windows Registry is a great place to store program settings. Visual basic has SaveSettings and GetSettings functions to be able to easily store and retrieve data from the registry.
Level:
Convert HTML Color to RGB
In this day and age you will find yourself needing to convert colors that are specified in the format for websites into RGB colors that can be used in your VB programs. This is easy to do with this very simple code snippet.
Level:
Fancy Collapsing Form Exit
New VB developers quickly learn how to Unload their forms. This source code snippet shows you how you can add a little style to your form unloading event. Instead of just making it disappear the form will shrink into non-existence.
Level:
Replace Text in a TextBox
Many people have seen the Find and Replace functionality in Word or other applications. You can implement similar functionality in your VB programs with just a few lines of code.
Level:
Count the number of words in a textbox
At times we want to say that so many words can or must be entered in a text box field. Getting the character count of a field is easy in Visual Basic, but getting the word count takes a little more work. This source code shows you how to calculate this word count.
Level:
Remove an element from an array
Visual Basic Arrays are very handy and at times somewhat complicated, especially if you want to remove an item from it or redefine its size. This VB sample shows you how to do this.
Level:
Save the contents of a list box to a file
Controls in VB are very handy. However, none of them have built in methods to save their contents out to the hard drive. This source sample shows you exactly how to take all the items in a list and save them into a text file you specify.
Level:
Copy a File Quickly
Visual Basic can be used for lower level functionality such as copying all the data from one file into another one. This source code sample shows you how to do this using the Open, Get, Put, and Close File IO Functions.
Level:
Print 3D Gradiant text on a form
This is a simple and fun example of a cool effect you can do in VB - Setting the forms background to a gradiant of color. It also showcases how you can use the VB6 For loop.
Level:
Fill a combo box with system fonts
Every Window's system has a bunch of fonts installed on it that we can use to display text in different ways. This sample shows how we can use Visual Basic's Screen object to query these fonts and list them all in a combo box.
Level:
Launch a program from VB
A fun thing to develop when you are first learning how to program is a program launcher. This sample source code shows you how you can use VB's built in shell command in order to launch other programs from within your custom application.
Level:
Center your form on the screen
Visual Basic gives us access to the Screen object in order to find out information about the end users screen resolution and other settings. We can use this in order to make our form appear in the center of the screen. This sample source code shows you how.
Level:
Get tag info form a mp3 file
MP3 files are common place now days. When Visual Basic 6.0 first came out MP3 files weren't even used. However, you can still use VB6 to read all the tag information of this song files.
Level:
A very basic web server Test
Writing network related programs is fun and exciting. At times it almost seems like magic. This source code sample shows how you can create a very basic web server that when your browser connects to it the specified text will show up in the browser. This uses the Microsoft Winsock control.
Level:
Looping through files and putting them in a control
See an example of how you can interact with the system to find out all files in a given folder. Further add all these files (and their paths) to a listbox control.
Level:
Delete A File - Snippet
Learn in this simple source code snippet exactly how you can delete a file from your computer using Visual Basic. It is a very simple example to showcase the Kill command in VB.
Level:
Tile A Picture - Quick Source
A simple source snippet that shows how you can tile any image both horizontally and vertically on a VB form.
Level:
Create PDF in VB Source Code
This sample source code shows you exactly how to create a PDF file from within your VB application with out having to buy a third party control or dll. It gives an example of creating a PDF and adding text to it.
No comments:
Post a Comment