Difference between revisions of "Code samples"
From HashVB
m (Windows version) |
(Moved entries from [Tips]) |
||
Line 15: | Line 15: | ||
==Text boxes== | ==Text boxes== | ||
* [[Numberboxes|Allowing numeric values only]] | * [[Numberboxes|Allowing numeric values only]] | ||
+ | * [http://www.earlsoft.co.uk/tips/chat.php Srolling chat windows] | ||
+ | |||
+ | ==Windows== | ||
+ | * [http://www.earlsoft.co.uk/tips/drag.php Dragging windows/controls the easy way] | ||
+ | |||
+ | =File handling= | ||
+ | * [http://www.earlsoft.co.uk/tips/fileio.php File I/O. Reliably] | ||
=Miscellaneous= | =Miscellaneous= | ||
* [[Sleep_Without_the_Freezing|Sleeping without freezing the program]] | * [[Sleep_Without_the_Freezing|Sleeping without freezing the program]] | ||
* [[Windows version|Detecting the version of Windows]] | * [[Windows version|Detecting the version of Windows]] |
Revision as of 20:25, 8 September 2005
Below are a selection of VB code samples. Feel free to use any of them in your own projects.
Contents
Variables
COM objects
- Firing events in an object from a code module
- Modularised Subclassing using interfaces and CopyMemory
- Creating singleton objects