Created On:  16 March 2012
Using the System.GC.Collect () method will help to dispose of an object in VB.Net, please note that this will try to reclaim the maximum amount of memory available and all objects that are not referenced in managed code will be considered for collection.

// your code
System.GC.Collect ()