What help do you need?

That link has C source code available, are you trying to convert that to VB?