Difference between revisions of "Code samples"

From HashVB
Jump to: navigation, search
m (Link to GUID page)
m (Sorted)
Line 1: Line 1:
 
Below are a selection of VB code samples. Feel free to use any of them in your own projects.
 
Below are a selection of VB code samples. Feel free to use any of them in your own projects.
 
==Variables==
 
* [[Is it an integer|How do you tell if a number is an integer?]]
 
* [[Identifying data types|Obtain the type name for a variable]]
 
* [[Passing UDTs to Classes|Pass a user defined type to a class]]
 
  
 
==COM objects==
 
==COM objects==
Line 10: Line 5:
 
* [[Modularised Subclassing|Modularised Subclassing using interfaces and CopyMemory]]
 
* [[Modularised Subclassing|Modularised Subclassing using interfaces and CopyMemory]]
 
* [[Singletons|Creating singleton objects]]
 
* [[Singletons|Creating singleton objects]]
 +
 +
==File handling==
 +
* [http://www.earlsoft.co.uk/tips/fileio.php File I/O. Reliably]
 +
* [[Special folders|Getting special folder paths]]
 +
* [[API_Recursive_DIR_Structure|How to iterate through a directory structure using APIs]]
 +
* [[Working with INI files in .NET|Working with INI files in .NET]]
 +
 +
==Networking==
 +
* [[Detecting_Network_Adapters|How to get a list of the network adapters on the system]]
  
 
==Strings==
 
==Strings==
Line 39: Line 43:
 
* [[Modularised Subclassing|Modularised Subclassing using interfaces and CopyMemory]]
 
* [[Modularised Subclassing|Modularised Subclassing using interfaces and CopyMemory]]
  
==File handling==
+
==Variables==
* [http://www.earlsoft.co.uk/tips/fileio.php File I/O. Reliably]
+
* [[Is it an integer|How do you tell if a number is an integer?]]
* [[Special folders|Getting special folder paths]]
+
* [[Identifying data types|Obtain the type name for a variable]]
* [[API_Recursive_DIR_Structure|How to iterate through a directory structure using APIs]]
+
* [[Passing UDTs to Classes|Pass a user defined type to a class]]
* [[Working with INI files in .NET|Working with INI files in .NET]]
+
 
+
==Networking==
+
* [[Detecting_Network_Adapters|How to get a list of the network adapters on the system]]
+
  
 
==Miscellaneous==
 
==Miscellaneous==

Revision as of 21:54, 15 December 2005

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

Text boxes

Windows

Variables

Miscellaneous