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
Name | Version | Description | Last Modified | Hits |
---|---|---|---|---|
CDDrive | 1.0 | Controls any CD-ROM drive | 2003-10-06 | 1642 |
CommonDialog | 1.0 | Calls the Common Dialog boxes | 2003-10-06 | 1561 |
DrawGradient | 1.0 | Draws a gradient on a control | 2003-10-06 | 1524 |
File | 1.0 | A collection of routines for file manipulation | 2003-10-06 | 1502 |
FileAssociation | 1.0 | Manipulates file associations with applications | 2003-10-06 | 1532 |
FileSystemClass | 1.0 | A collection of routines for file system interaction | 2003-10-06 | 1548 |
HelioDB | 1.0 | A collection of routines to work with VTech Helio files | 2003-10-06 | 1543 |
MP3 | 1.0 | Procedures that work with MP3 audio files | 2003-10-06 | 1459 |
Registry | 1.0 | Procedures that work with the Windows Registry | 2003-10-06 | 1455 |
ShellWait | 1.0 | Allows you to shell a program and wait until it is completed | 2003-10-06 | 1504 |
Tasks | 1.0 | Procedures that work with tasks and windows | 2003-10-06 | 1459 |