Latest Additions on vbnet

Date only comparison on date types

Posted 18 July 2011 - Category VB.Net Sub Category Manipulating Types

Compare just the date part of a date object ignoring the time

Copy a text file to another physical location using System.IO.File

Posted 16 March 2010 - Category VB.Net Sub Category File I/O

As long as you have the permissions to write to the folder, use the System.IO.File.Copy method to do this.

Shuffle the position of button controls on a page using an array and the random function

Posted 16 March 2010 - Category VB.Net Sub Category Utilities Bespoke

The purpose of this is to make a series of controls (in this case buttons) randomly appear on the page. Each button is still related to the same event but their position and caption text is changed to keep the same physical order e.g. A, B, C, D, E.

Changing a datetime value using string manipulation

Posted 15 March 2010 - Category VB.Net Sub Category Manipulating Types

By adding string values to dates you can alter the final date value as follows.

Nullable(Of Type) and converting to value type

Posted 19 February 2010 - Category VB.Net Sub Category Manipulating Types

How to convert between these types in code.

Choose from the right hand menu to see full lists within subcategories