compile those c++ code into DLL and call it from vb.


HTH

cksiow
http://vblib.virtualave.net - share our codes