Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi I have one .dll(which i created in vb.net) ..i have a stong name to that...now i want to use that .net .dll as COM component for that i have to register that .net dll ..but i dont know how to do that ..i have an idea abt regasm..but i dont know how to register exactly......if you have an idea pls help me...........

Thanks

Satya

Satya
  • *Experts*
Posted

You can't use a .NET component as a COM component; you have to

make a COM component (you can do this in .NET). Look in the

MSDN for info on how to do that.

  • *Experts*
Posted

Ah. Well then, I believe this should work:

 

Right click on the 'References' folder of your project in the Solution

Explorer of .NET, click the "COM" tab, click "Browse" and find the DLL.

Add it to the list of referenced DLLs by double clicking on it, and

then click OK.

 

I've never used a COM component in .NET before, so no guarantees,

but that's how you do it for .NET components. If that doesn't automatically

register it, go to "Run" in the Start menu and type:

 

regsvr32 <the full path to your DLL here>

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...