Better, I think, to create an ActiveX dll or ActiveX EXE for your VB6 code.
Then, add this Ax component as a reference in your .NET program. You then
can call it directly from you code, just like any other object.
Dick
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.