Difference between revisions of "Code samples"

From HashVB
Jump to: navigation, search
(COM objects)
(User interface)
Line 14: Line 14:
  
 
=User interface=
 
=User interface=
 +
[[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]]

Revision as of 19:12, 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

How to Catch Mouse Hover and Out Events

Text boxes

Allowing numeric values only