The following link from MSDN regarding the Assembly Registration Tool
(Regasm.exe) may be helpful:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/htm
l/cpgrfassemblyregistrationtoolregasmexe.asp

Todd Seymour


-----Original Message-----
From: Amit Bahree [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 2:56 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] How to Register/UnRegister a COM DLL at runtime using C#?

Hi,
How do I register and un-register a COM dll at runtime using C#?

For example if I want to unregister c:\somepath\my_com_component.dll how do
I do the equivalent of a regsvr32 /u c:\somepath\my_com_component.dll
from .NET?

Thanks in advance.
Amit.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to