Difference between revisions of "Code samples"

From HashVB
Jump to: navigation, search
m (minor typo)
(COM objects)
Line 10: Line 10:
  
 
[[Events from a module|Firing events in an object from a code module]]
 
[[Events from a module|Firing events in an object from a code module]]
 +
[[Modularised Subclassing|Modularised Subclassing using interfaces and CopyMemory]]
  
 
=User interface=
 
=User interface=

Revision as of 14:37, 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 integer?

How to pass a UDT to a class

COM objects

Creating singleton objects

Firing events in an object from a code module Modularised Subclassing using interfaces and CopyMemory

User interface

Text boxes

Allowing numeric values only