Reputation: 15807
I have registered a type library on a server (server 1) using REGASM. The type library allows me to use code in a VB.NET DLL from a VB6 application.
Ideally the VB.NET DLL needs to access code in another VB.NET project on another server (server 2). I have added the DLL of VB.NET project 2 as a reference in Visual Studio, which has project 1 open. This works ok.
If a VB6 has a reference to a type library to use VB.NET code, then can the VB.NET project use code in another VB.NET applications that are registered in the Global Assembly Cache that is registered on the same PC?
Upvotes: 0
Views: 102
Reputation: 564413
If a VB6 has a reference to a type library to use VB.NET code, then can the VB.NET project use code in another VB.NET applications that are registered in the Global Assembly Cache that is registered on the same PC?
Yes, this should work exactly as if the VB.Net assembly was used in any other program. It is perfectly acceptable for a .NET assembly being used via COM to use other assemblies - in fact, they always do, as the framework is, itself, just other assemblies on the system.
Upvotes: 1