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 214
CommonDialog 1.0 Calls the Common Dialog boxes 2003-10-06 223
DrawGradient 1.0 Draws a gradient on a control 2003-10-06 274
File 1.0 A collection of routines for file manipulation 2003-10-06 189
FileAssociation 1.0 Manipulates file associations with applications 2003-10-06 206
FileSystemClass 1.0 A collection of routines for file system interaction 2003-10-06 236
HelioDB 1.0 A collection of routines to work with VTech Helio files 2003-10-06 230
MP3 1.0 Procedures that work with MP3 audio files 2003-10-06 189
Registry 1.0 Procedures that work with the Windows Registry 2003-10-06 199
ShellWait 1.0 Allows you to shell a program and wait until it is completed 2003-10-06 244
Tasks 1.0 Procedures that work with tasks and windows 2003-10-06 204

Website maintained by JF Software - Joshua Foster
254,420 hits since July 14, 2003

Valid HTML 4.01 Strict - Click to ValidateValid CSS - Click to ValidateValid XML SitemapNo FramesNo Popups
Powered by LinuxHosted on ApachePHP PoweredMySQLHand-Coded in Notepad
Gmail: joshua70448@gmail.comAIM: joshuaptcYahoo! Messenger: joshuaptcDonate via PayPal: joshua70448@gmail.comTexas A&M University

Valid HTML 4.01 Strict Valid CSS!
*