Difference between revisions of "Code samples"

From HashVB
Jump to: navigation, search
m (Reverted edit of ErdroNzele, changed back to last version by Dee)
 
(20 intermediate revisions by 9 users not shown)
Line 20: Line 20:
  
 
==Networking==
 
==Networking==
 +
* [[Sharing_in_VbNET|Sharing Folders and Files in Vb.NET]]
 
* [[Detecting_Network_Adapters|How to get a list of the network adapters on the system]]
 
* [[Detecting_Network_Adapters|How to get a list of the network adapters on the system]]
 
* [[Enumerating IPs|Enumerating the IP addresses allocated to the local machine]]
 
* [[Enumerating IPs|Enumerating the IP addresses allocated to the local machine]]
Line 29: Line 30:
 
* [[Shuffling|How to randomise a list]]
 
* [[Shuffling|How to randomise a list]]
 
* [[Quotes|Including quote characters in a string]]
 
* [[Quotes|Including quote characters in a string]]
 +
* [[Simplifying building of complex strings in code (eg sql statements)]]
  
 
==User interface==
 
==User interface==
Line 83: Line 85:
  
 
==Miscellaneous==
 
==Miscellaneous==
 +
* [[MD5 Hashing Using the CryptoAPI|MD5 Hashing Using the Windows Cryptography API]]
 
* [[System Tray|Adding icons to Explorer's System tray]]
 
* [[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]]
Line 92: Line 95:
 
* [[Standards of Nomenclature and Semantics|Standards of nomenclature and semantics]]
 
* [[Standards of Nomenclature and Semantics|Standards of nomenclature and semantics]]
 
* [[SecondsToHMS|Converting seconds to Hours:Minutes:Seconds]]
 
* [[SecondsToHMS|Converting seconds to Hours:Minutes:Seconds]]
* [[Multipe lines in a MsgBox]]
 
 
 
== Source Code ==
 

Latest revision as of 11:26, 8 October 2009

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

Please also feel free to make your own contributions of articles and/or article modifications. The more articles we get the better this resource will be! :)

COM objects

File handling

Networking

Strings

User interface

Graphics

Look & Feel

Text boxes

List boxes

Windows

Variables

Miscellaneous