JF Software DOS Programs Windows Programs Other Programs LEGO Creations
Newgrounds Stuff External Links Email Me
Visual Basic 6.0 Modules
JF Software => Windows Programs => 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

NameVersionDescriptionHits
CDDrive 1.0 Controls any CD-ROM drive 97
CommonDialog 1.0 Calls the Common Dialog boxes 98
DrawGradient 1.0 Draws a gradient on a control 154
File 1.0 A collection of routines for file manipulation 92
FileAssociation 1.0 Manipulates file associations with applications 91
FileSystemClass 1.0 A collection of routines for file system interaction 121
HelioDB 1.0 A collection of routines to work with VTech Helio files 120
MP3 1.0 Procedures that work with MP3 audio files 88
Registry 1.0 Procedures that work with the Windows Registry 103
ShellWait 1.0 Allows you to shell a program and wait until it is completed 131
Tasks 1.0 Procedures that work with tasks and windows 110
Website maintained by JF Software - Joshua Foster
159,682 hits since July 14, 2003

Best Viewed at 1024x768 or BetterBest Viewed in FirefoxValid HTML 4.01 Strict - Click to ValidateValid CSS - Click to ValidateValid XML SitemapNo FramesNo Popups
Hosted by ServIntPowered by LinuxHosted on ApachePHP PoweredMySQLHand-Coded in Notepad
Gmail: joshua70448@gmail.comAIM: joshuaptcYahoo! Messenger: joshuaptcDonate via PayPal: joshua70448@gmail.comTexas A&M UniversityWorld of Warcraft

Valid HTML 4.01 Strict Valid CSS!
*