I need some help in converting a C++ source to VB. See this [thread