I must confess I'm a little rusty in my VB because I don't use it often enough. But I wanted to post this sample in Visual Basic .NET. I used the Code Translator from CarlosAg and it worked perfectly, except that it couldn't translate the implicit convertion of an int to a string when this is used in a string operation. In my original post I explain about what this sample does and here is the code:
You can get the sample from here. I hope you find this useful.