Difference between revisions of "Code samples"

From HashVB
Jump to: navigation, search
(Firing events form code modules)
Line 8: Line 8:
 
=COM objects=
 
=COM objects=
 
[[Singletons|Creating singleton objects]]
 
[[Singletons|Creating singleton objects]]
 +
 +
[[Events from a module|Firing events in an object from a code module]]
  
 
=User interface=
 
=User interface=

Revision as of 12:00, 2 September 2005

Below are a selection of VB code samples. Feel free to use any of them in your own projects.

Variables

How do you tell if a number is an an integer?

How to pass a UDT to a class

COM objects

Creating singleton objects

Firing events in an object from a code module

User interface

Text boxes

Allowing numeric values only