Category Archives: Visual Basic 6 (VB6)

Save .BMP to Access database

This code will save and retrieve bitmap graphic files from an OLE Object field inan Access 97 database. The same principle applies to earlier versions of Access/VB, but I haven’t tested them. You’ll need to use the appropriate DAO library. Let me know if you find a way to save other graphic formats. Original Author: Craig Boland Inputs A… Read More »

Automatic Form Shaper

This code will shape a form based on it’s .Picture property. It uses a transparent color and makes all areas of the form which is that color transparent. Extremely useful for programs to incorporate custom Themes. This code works best with smaller forms. The bigger the form, and the more complex of an image you use for the… Read More »

Sending Email to multiple recipients using MAPI

It seems that a lot of people are having problems sending Email from VB to multiple people. Here’s a procedure that should fix that. Original Author: Sergei Lossev Inputs EmailAddress is of the form “first@first.com;second@second.com” and etc.Subject and MessageText are self explainatory. Assumptions You are gonna need a form with the two MAPI controls, named like in the code.The… Read More »

a Server that allows multiple connections!

Since I posted the code that shows people how to use the winsock control everyone has asked how to allow multiple connections! Well, i’ve finally done it. This shows you how to accept multiple connections with one winsock control!! Original Author: Dustin Davis Attachments File Uploaded Size CODE_UPLOAD1821.zip 9/3/2020 3:45:00 PM 3514

API Text Wrapper

Ever want a text box that only allows Number, Lowercase Letter or Uppercase Letters? With this wrapper the user won’t even be able to type a Number, Uppercase or Lowercase letter! API Wrapper Module & Demo included! This is done with 100% API! Please send feedback 🙂 Original Author: Michael L. Barker Attachments File Uploaded Size CODE_UPLOAD1823.zip 9/3/2020 3:45:00… Read More »

LoadImage() to Fit

It’s a single function, without API’s, that loads an image and puts it in a destination PictureBox. If the source image is bigger that the destination PictureBox, then it will resized to fit in (mantaining the ratio). In other words, the image loaded will nicely fit the destination, but will not be deformed.If the source is smaller, then… Read More »

A Dart board Game

The First Dart Game on Visual Basic made for your own pleasure………..Playing 301 and 501 Game’sUsing BitBlt and maths function Original Author: Jason Fleury Attachments File Uploaded Size CODE_UPLOAD1812.zip 9/3/2020 3:45:00 PM 287074

Address Book – Directorio Telef??nico

This is an example of a DAO DATABASE CONNECTION PROGRAMEste es un ejemplo de un PROGRAMA DE CONECTIVIDAD A UN BASE DE DATOS POR DAO.This program contains an english part, for those that speak english.Este programa contiene un parte en espa??ol, para aquellos que hablan espa??ol. Original Author: Alejandro de la Puente P. Assumptions This program works with Microsoft… Read More »

A “Play” Command for Visual Basic

This is the equivalent of the QBasic PLAY command that enabled you to play notes through the PC speaker. This version allows you to take advantage of the Sound card and therefore has many advantages. It uses the MIDI interface to send individual or multiple notes to the sound card. Original Author: Aidan Inputs It requires the notes that… Read More »