Briefly this is very straightforward if you use the Visual Studio IDE: you
only need to follow a couple of steps -
1. Set a reference to the VB6 Com component.
2. Use the COM class as you would any VB.NET class. (dim x as new
ComClass)
What's happening behind the IDE is that VB.NET creates a class that wraps
the COM class in a .Net class. This work well for most situations, but you
can run into some limitation if the COM class uses variants or strings.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.