![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In our MTS server, there are some component coded by VB6. Now I just try to verify all component working fine, so I create an object for each component. Using Type.GetTypeFromCLSID and Activator.CreateInstance (in C#) can create object ONLY for .NET component. My question is: How to Create an object of VB6 component in C#? Activator.CreateInstance should work for pretty much any COM object, including those written in VB6. If that's not what you're seeing, perhaps you can tell us where it fails? Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |