Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > using .Net component in COM component
 

using .Net component in COM component

Hi

Is it possible to use .Net component in COM component without registering it(.Net component ) in registery??

Regards

NadeemAhmad  Wednesday, September 20, 2006 9:19 AM
If it's not in the GAC or Registry, then there's likely no way for the .NET Framework to tell where the DLL is. In fact, EVERY COM component needs to be registered to work, since it uses the GUID in the registry to find it.

You need to deal with COM Interop. What you want for your Assembly is a COM Callable Wrappter (CCM):
http://msdn2.microsoft.com/en-us/library/f07c8z1c.aspx

Read this article and the related ones to find out what you can and can't do.
NadeemAhmad  Thursday, September 21, 2006 7:56 AM

Side-by-side COM doesn't need any registration for a COM component to be called. This uses manifest files and requires a minimum of XP SP1 or Server 2003. Look at articles relating to registration free COM .

http://blogs.msdn.com/junfeng/archive/2006/05/17/595140.aspx

http://www.simple-talk.com/dotnet/.net-framework/simple-com-server-registration/

PhilWilson  Friday, September 22, 2006 8:23 PM

You can use google to search for other answers

Custom Search

More Threads

• ClickOnce: .NET 3.5 SP1 PreReq Install Succeeds, But App Install Fails First Time
• ClickOnce Updates?
• ClickOnce Lauch Utility Problems
• Building and deploying
• Administrator required to install
• setup project
• Transfer a .exe file with my project
• ClickOnce or Deployment Project- Creating SQL Server tables and configuring connections
• [MSI] DIRCA_CheckFX fails on some PC
• Service Application problemssss