VB.Net(2010) Console application sampple, port from C# version by Pico Technology.