I worked in JAva and C libs not VB, I not sure VB is supported by JNI.if VB is not supported, you cld try something like this, create a VBdll, create a C wrapper dll for that VB dll and use JNI