Visual Basic 6.0 Modules

This is my collection of Visual Basic modules. You can add any of these class modules to your projects to add functionalities. However, there are two things to keep in mind:

Using a Class Module
Using a class module is quite different from using a regular module. Type this in the (Declarations) section of your form:

Private cVarName As ClassName

cVarName is the variable you will use in your program to reference the class module, and ClassName is the name of the class module. To load the class module, type this into the Form_Load section of your form:

Set cVarName = New ClassName

cVarName is the variable you used earlier, and ClassName is the name of the class module. Then, to use a procedure, just type this:

cVarName.Procedure

cVarName is the variable you used earlier, and Procedure is the name of the procedure you want to use. If you need further clarification, or to determine a class module's name, look at the example codes in the .txt file included with each class module. They have examples of every procedure that you can copy directly into a form's code.

Using Flags
Some procedures require a set of flags to tell it how to behave. To use flags, type "And" between them: CC_FLAG And CC_OTHER

NameVersionDescriptionLast ModifiedHits
CDDrive 1.0 Controls any CD-ROM drive 2003-10-06 947
CommonDialog 1.0 Calls the Common Dialog boxes 2003-10-06 932
DrawGradient 1.0 Draws a gradient on a control 2003-10-06 947
File 1.0 A collection of routines for file manipulation 2003-10-06 871
FileAssociation 1.0 Manipulates file associations with applications 2003-10-06 878
FileSystemClass 1.0 A collection of routines for file system interaction 2003-10-06 930
HelioDB 1.0 A collection of routines to work with VTech Helio files 2003-10-06 902
MP3 1.0 Procedures that work with MP3 audio files 2003-10-06 817
Registry 1.0 Procedures that work with the Windows Registry 2003-10-06 840
ShellWait 1.0 Allows you to shell a program and wait until it is completed 2003-10-06 889
Tasks 1.0 Procedures that work with tasks and windows 2003-10-06 857

Website maintained by JF Software - Joshua Foster
2,829,086 hits since July 14, 2003
*