Difference between revisions of "Code samples"
From HashVB
m (Special folders) |
(Added the link to the Identifying data types example) |
||
Line 3: | Line 3: | ||
==Variables== | ==Variables== | ||
* [[Is it an integer|How do you tell if a number is an integer?]] | * [[Is it an integer|How do you tell if a number is an integer?]] | ||
+ | * [[Identifying data types|Obtain the type name for a variable]] | ||
* [[Passing UDTs to Classes|Pass a user defined type to a class]] | * [[Passing UDTs to Classes|Pass a user defined type to a class]] | ||
Revision as of 19:59, 16 September 2005
Below are a selection of VB code samples. Feel free to use any of them in your own projects.
Contents
Variables
- How do you tell if a number is an integer?
- Obtain the type name for a variable
- Pass a user defined type to a class
COM objects
- Firing events in an object from a code module
- Modularised Subclassing using interfaces and CopyMemory
- Creating singleton objects