Code Samples From VB Executables

Conversion

Functions
   These are functions used to convert a base number to a decimal and vice versa.

Subroutines
   These are subroutines that send integers to the functions for conversion.

3-Tier

COM
   This is a .dll created for a business rule restricting deleting a customer.

SQL
   This is the query code to search, insert, and delete the recordset.

ADO
   This subroutine enables the user to browse the recordset with ADO technology.

OLE
   This loads a table from the database into a Word Object implementing OLE automation.

Blackjack

List Images
   This implements the use of the listimages object to deal and hit the cards in the game.

Subs Called
   These are subroutines called during the code in the hit and deal subroutines.