Check out
http://support.microsoft.com/default...b;en-us;106553
("HOWTO: Write C DLLs and Call Them from Visual Basic") -

this is a pretty comprehensive article on how to do what you want to accomplish.

Thanks
Shabbir Bhimani

Last edited by shabbir; 19Aug2004 at 10:08..