Source Code
Listings
All links in this category.
Showing 1–22 of 22 editor-approved links.
One of the most complete VB resources on the net. Source code for almost every want or desire.
Hundreds of snippets and downloads in all categories including games, databases, ActiveX, API, and ASP. Submit your own code and win prizes.
Free code. Copy and paste code from your browser directly into Visual Basic.
Advanced source code. There is a small number of beginner examples also.
Included here are ActiveX, menu, forms, mouse controls, graphics and multimedia examples.
Several functions including how to convert numbers between bases, check to see if a year is a leap year, and how to create threads.
Includes Space Invaders and a Netbus clone.
Examples, tips and tricks, free downloads, algorithms, and free ActiveX Controls. Also has some book reviews.
Code and articles for all levels of programming knowledge.
Collection of code samples coded by Don Bradner, including writing to and reading from the registry. (VB 3,4, and 5)
A website with various source code and resources for Visual Basic and Visual Basic.Net.
The standard "Hello World" application for beginners.
Code for the most experienced programmer. Contains a lot of code from DevX and VBPJ.
Sample code for manipulating AOL. Also has other interesting API calls.
Provides solutions to many hard to solve programming issues. Many solutions rely heavily on the Microsoft Windows API functions.
This site contains lots of sample code for Visual Basic. The code samples cover different areas and include a class which calculates sunrise and sunset.
This site contains various code samples including how to write 3D graphics applications in Visual Basic and DirectX.
VB.NET classes and libraries (all with source code included) for WinForms and ASP.Net.
Visual Basic games and projects.
Includes getting file names, long file names, parsing strings, getting Windows and system directories, and passing a control array.
Code includes how to see text in a password box, an email and newsgroup reader, desktop shortcuts, counting words in a textbox, and encryption.
Source code examples and half finished programs. Some are in quite early development, and some are to a useable state.
See also