Difference between revisions of "Code samples"
From HashVB
(Sleep) |
m (Tidied up and sorted) |
||
Line 2: | Line 2: | ||
=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?]] |
− | + | * [[Passing UDTs to Classes|Pass a user defined type to a class]] | |
− | [[Passing UDTs to Classes| | + | |
=COM objects= | =COM objects= | ||
− | + | * [[Events from a module|Firing events in an object from a code module]] | |
− | + | * [[Modularised Subclassing|Modularised Subclassing using interfaces and CopyMemory]] | |
− | [[Events from a module|Firing events in an object from a code module]] | + | * [[Singletons|Creating singleton objects]] |
− | + | ||
− | [[Modularised Subclassing|Modularised Subclassing using interfaces and CopyMemory]] | + | |
=User interface= | =User interface= | ||
− | [[Mouse Hover and Out Events|How to Catch Mouse Hover and Out Events]] | + | * [[Mouse Hover and Out Events|How to Catch Mouse Hover and Out Events]] |
==Text boxes== | ==Text boxes== | ||
− | [[Numberboxes|Allowing numeric values only]] | + | * [[Numberboxes|Allowing numeric values only]] |
=Miscellaneous= | =Miscellaneous= | ||
− | [[Sleep_Without_the_Freezing|Sleeping without freezing the program]] | + | * [[Sleep_Without_the_Freezing|Sleeping without freezing the program]] |
Revision as of 10:50, 7 September 2005
Below are a selection of VB code samples. Feel free to use any of them in your own projects.
Variables
COM objects
- Firing events in an object from a code module
- Modularised Subclassing using interfaces and CopyMemory
- Creating singleton objects