0

well, actually i am new with vb.net

just asking the correct steps for generating dll from vb.net

in vb 6.0 -> i just click the button compile to 'something'.dll

in vb.net -> by building the project

however, after i generated the dll (vb.net)
i can not add them into component services (COM+)

is it a violation for adding dll (vb.net) into COM+?
or just my working steps are wrong


sorry, by the way... i am using Microsoft Visual Basic 2005 Express Edition

thank you :)

3
Contributors
3
Replies
4
Views
11 Years
Discussion Span
Last Post by Lord Soth
0

You cannot add .NET dlls into COM+, the .NET framework is a REPLACEMENT for COM.

You put your .NET dll's in the GAC (Global Assembly Cache) using GacUtil.exe

I'm vague on the details cos I've never had need to do it, because you don;t HAVE to put your .NET dll's in the GAC to use them, if they're in the same directory as the project that references them the CLR can find and load it.

0

Hi,

You can generate wrapper COM objects for your .Net classes just like you can import COM objects with wrapper .Net classes (google it or look for Interop on MSDN) but you have to have .Net Framework installed on the machines you deploy the COM wrapper dll.

Loren Soth

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.