SAMPLES - CLASS MODULES    


* NOTE : If you have problems downloading these files, try holding the <SHIFT> key and left-click on the URL of the file.  If that doesn't work, right-click on the URL of the file and select "Save Target As..." or "Save Link As..."

    Name:   Description:   Required:
cADO.cls     
This class module provides a simple, standard way use ADO (part of the Microsoft Data Access Components (MDAC)) to access any supported database... including MS SQL, MS Access, Oracle, FoxPro, etc.

This module is professional strength and includes full error checking, connection sharing, and object clean up to allow for the most efficient data access from within your project.

  MDAC 2.5

cANI.cls     
Makes displaying animations and animated cursors easy and efficient. This module gives you the ability to play, pause, and stop animations on any object that has a handle (hWnd) and a Device Context (DC)... like PictureBoxes, Forms, User Controls, Property Pages, etc.

  Timer Control

cBASE64.cls     
This class module allows you to encode and decode in BASE64 (commonly used to convert binary information to ASCII characters... like Email content).

If you'll remember, binary data is a full 8 bits per byte, whereas text uses a little more than 6 bits per byte.  A 6-bit number has 64 combinations, hence the term "BASE64".

  Nothing
cCDONTS.cls     
This class module gives you an easy interface to the Collaboration Data Objects Interface Library for NTS (CDONTS.DLL), allowing you to send an Email from an IIS 4.0 (or higher) server, or Exchange 5.5 (or higher) server.  This class supports multiple TO, CC, and BCC addresses as well as multiple Email file attachments.

This module is professional strength and includes full documentation, error checking, and object clean up to allow for the most efficient data access from within your project.

  CDONTS.DLL

    - AND -

  (IIS 4.0+ or
  Exchange 5.5+)

cCOMDLG32.cls     
Wrapper class for modCOMDLG32.bas - Gives you all the functionality of the Microsoft Common Dialog (COMDLG32.OCX) ActiveX control, plus A LOT more!  No more .OCX to distribute.

modCOMDLG32.bas

cCrypt.cls     
Provides an easy way to encrypt and decrypt strings by using very secure Windows encryption API's based on HASH encryption technologies.
  Nothing
cDirectMusic7.cls     
DirectX DirectX !!  That's right, now you can harness the power of DirectMusic via DirectX 7a (or better) using this class module in conjunction with the DX7VB.DLL library.  Make sure you have DirectX 8a or better installed, install/register this 1 DLL, then you're all set to play multiple music files at the same time, create playback sound effects, and much more!

Creating a game using VB 5 or 6?
THIS IS A MUST HAVE COMPONENT!

  DX7VB.DLL

    - AND -

  DirectX 7a
  (or better)

cDirectMusic8.cls     
DirectX DirectX !!  That's right, now you can harness the power of DirectMusic via DirectX 8a (or better) using this class module in conjunction with the DX8VB.DLL library.  Make sure you have DirectX 8a or better installed, install/register this 1 DLL, then you're all set to play multiple music files at the same time, create playback sound effects, and much more!

Creating a game using VB 5 or 6?
THIS IS A MUST HAVE COMPONENT!

  DX8VB.DLL

    - AND -

  DirectX 8a
  (or better)

cDirectSound7.cls     
DirectX DirectX !!  That's right, now you can harness the power of DirectSound via DirectX 7a (or better) using this class module in conjunction with the DX7VB.DLL library.  Make sure you have DirectX 7a or better installed, install/register this 1 DLL, then you're all set to play multiple sounds at the same time, create 3D sound effects using sound-specific panning & volume control, and much more!

Creating a game using VB 5 or 6?
THIS IS A MUST HAVE COMPONENT!

  DX7VB.DLL

    - AND -

  DirectX 7a
  (or better)

cDirectSound8.cls     
DirectX DirectX !!  That's right, now you can harness the power of DirectSound via DirectX 8a (or better) using this class module in conjunction with the DX8VB.DLL library.  Make sure you have DirectX 8a or better installed, install/register this 1 DLL, then you're all set to play multiple sounds at the same time, create 3D sound effects using sound-specific panning & volume control, and much more!

Creating a game using VB 5 or 6?
THIS IS A MUST HAVE COMPONENT!

  DX8VB.DLL

    - AND -

  DirectX 8a
  (or better)

cFile.cls     
Provides an easy way to open, print, and display the properties of files.  Also allows you to open Windows Explorer to a specified directory.  Use of this class instead of the standard VB "Shell" function is encouraged because it is a cleaner way of doing it, and this class allows you to send an Email with the user's default Email client and open a URL with the user's default browser.  The VB Shell function can not do this reliably.
  Nothing
cFileInfo.cls     
Allows you to easily get ALL the information you can get by right clicking on a file and selecting "Properties" including : version number, date created, date modified, date accessed, size, file type, file attributes, file discription, file copyright notice, etc.
  Nothing
cHTMLHelp.cls     
Provides an easy way to access and use HTML Help systems from within your program.
  HHCTRL.OCX
  MSIE 4.x or better
cJPEG.cls     
This class module allows you to open, display, and save standard JPEG picture files from within your program.  It even gives you control over the quality of the JPEG file to be saved out.

  modJPEG.bas
  IJL10.DLL

cMCI.cls     
Allows you to easily open and use the following multimedia files from a file... or from within a Visual Basic resource (.RES) :

-  WAV
-  MID, MIDI, RMI
-  AVI
-  CD Audio

This class also gives you full control over the following volume controls : Master Volume, WAVE Device Volume, MIDI Device, CD-ROM Audio.

  A Sound Card
cMCI_Adv.cls     
Allows you to open, play, and manipulate just about any multimedia file from a file... or from within a Visual Basic resource (.RES) including (but not limited to) the following file types:
 
-  WAV, SND, AU
-  MID, MIDI, RMI
-  AVI, WMV, WMA
-  MOV, QT
-  AIF, AIFF, AIFC
-  MP3, MP2, MP1
-  MPEG, MPG
-  CD Audio

Open up all of these media types without dependencies?  WHAT'S THE CATCH?  This module uses existing device drivers.  What this means is that if you want to create a program that plays QuickTime (MOV) files, the user that is running your program must have previously installed QuickTime software on their computer... thus installing the drivers.

This class also gives you full control over the following volume controls : Master Volume, WAVE Device Volume, MIDI Device, CD-ROM Audio.

  A Sound Card
cResource.cls     
This module allows you to extract icon, cursor, bitmap, string, and data resources from any ActiveX or standard C resource DLL, or from any resource file (.RES) that is included within your project.  

It also has the ability to save out data files that are extracted from resources.  What this means is you can save an MP3, JPG, GIF, AVI, ASF, or whatever other kind of file you want as a "data resource", then use this class module to extract it and save it, then once it's saved to file, you can play it with something like the cMCI_Adv.cls class module.

  Nothing
cScreen.cls     
This module (along with modScreen.bas) give you all the information available via the standard VB object "Screen" so you can use this information in VBA applications like AutoCAD and MS Word 97 where the Screen object is not available. The information reported by the cScreen.cls class module is actually more accurate than the Screen object when it comes to properties like the TwipsPerPixelX and TwipsPerPixelY.

This module also give you A LOT more functionality on top of the standard information available to you via the VB Screen object like the ability to dynamically resize the screen size and draw objects and pictures directly to the display area of the screen.

  modScreen.bas
cScrollBar.cls     
This module turns a standard VB PictureBox control into a fully functional ScrollBar. You have the ability to turn the PictureBox into a Horizontal or Vertical scrollbar by simply setting a class property. This module makes scrollbars that are much better than standard VB scrollbars because the Min, Max, Value, SmallChange, and LargeChange properties are DOUBLE instead if INTEGER. Because of this, you don't have to put up with a value limit of 32,000. It also provides advanced features like color options, flat and 3D looks, and the ability to set a picture as the background of the scrollbar.
  modBitmap.bas
cSprite_Background.cls     
This module is designed to be used with the "cSprite_Bitmap" class module as an easy implementation of a technology or technique called "Sprites". Sprites is a word to describe a picture that is drawn with transparency onto a background picture repeatedly in different locations. This effect gives the appearance of animation and is used in some games. This module handles the background for an animation while the "cSprite_Bitmap" class module handles the image(s) to be drawn transparently onto the background.
  modBitmap.bas
cSprite_Bitmap.cls     
This module is designed to be used with the "cSprite_Background" class module as an easy implementation of a technology or technique called "Sprites". Sprites is a word to describe a picture that is drawn with transparency onto a background picture repeatedly in different locations. This effect gives the appearance of animation and is used in some games. This module handles the the image(s) to be drawn transparently onto the background while the "cSprite_Background" class module handles the background for the animation to be drawn on.
  modBitmap.bas
cStopWatch.cls     
This class lets you easily time events by starting a timer, then either reading the elapse time as it's running, or stopping the timer and reading the elapsed time.  All this is done without need of a form to place a control in.
  Nothing
cSysTray.cls     
This class module along with it's a helper module (modSysTray.bas) gives you complete control over adding, modifying, and removing icons in the system tray.

  modSysTray.bas

cTimer.cls     
This class module is very similar to the standard VB Timer Control... except this class module is more accurate and does not require a form to place the control in.  This timer also allows you to easily get the elapsed time since the timer was started.

  modTimer.bas

cTimer_NoSC.cls     
This class module is the same as the cTimer.cls class module, except instead of using subclassing to get the timer events, this one uses a continuing loop.  This is less crash prone than the cTimer.cls, but it may be a little more CPU intensive.
  Nothing
cToolbar.cls     
This class module takes a standard Visual Basic PictureBox control and turns it into a fully functional Toolbar (similar to the one included in the "Microsoft Windows Common Controls 6.0" [MSCOMCTL.OCX]).  The advantage to using this class module is that there are no external files to distribute.  Everything compiles right into your EXE, OCX, DLL, etc.
  modBitmap.bas
  modTimer.bas
  cTimer.cls
cWinHelp.cls     
Provides an easy way to access and use WinHelp help systems from within your program.
  Nothing
       

 


MAIN   |  DOWNLOADS  |  SAMPLE CODE  |  STEP BY STEP  |   DISCUSSION BOARD  |  LINKS  |  AUTHOR
E-MAIL