Difference between revisions of "Code samples"

From HashVB
Jump to: navigation, search
m (Moved the Hashtable link into Variables)
(Added links to some orphaned pages)
Line 10: Line 10:
  
 
==File handling==
 
==File handling==
 +
* [[Create a shortcut|Creating shortcuts to files]]
 
* [http://www.earlsoft.co.uk/tips/fileio.php File I/O. Reliably]
 
* [http://www.earlsoft.co.uk/tips/fileio.php File I/O. Reliably]
 
* [[Special folders|Getting special folder paths]]
 
* [[Special folders|Getting special folder paths]]
Line 24: Line 25:
 
* [[GUIDs|Creating unique IDs (GUIDs)]]
 
* [[GUIDs|Creating unique IDs (GUIDs)]]
 
* [[Shuffling|How to randomise a list]]
 
* [[Shuffling|How to randomise a list]]
 +
* [[Quotes|Including quote characters in a string]]
  
 
==User interface==
 
==User interface==
Line 76: Line 78:
  
 
==Miscellaneous==
 
==Miscellaneous==
 +
* [[System Tray|Adding icons to Explorer's System tray]]
 
* [[Open a URL|Open a URL in a web browser]]
 
* [[Open a URL|Open a URL in a web browser]]
 
* [[Sleep without locking|Sleeping without locking up the program]] (uses DoEvents)
 
* [[Sleep without locking|Sleeping without locking up the program]] (uses DoEvents)

Revision as of 09:58, 17 August 2006

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

COM objects

File handling

Networking

Strings

User interface

Graphics

Look & Feel

Text boxes

List boxes

Windows

Variables

Miscellaneous