HighTechTalks DotNet Forums  

Re: How to register COM component in C#?

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss Re: How to register COM component in C#? in the Dotnet Framework (Drawing) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bob Powell [MVP]
 
Posts: n/a

Default Re: How to register COM component in C#? - 12-25-2006 , 08:08 AM






Bill Gates wrote:
Quote:
Thanks!


If you're using Visual Studio there is an option to do this in the
project settings.

To do it with the command line see RegAsm.exe

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





Reply With Quote
  #2  
Old   
Bill Gates
 
Posts: n/a

Default Re: How to register COM component in C#? - 12-26-2006 , 01:34 AM






Thanks!

But I need register a com component at run-time in C#. Maybe I can do it by
regsvr32.exe.
As known, in native program such as c++/c, I can get the address of
DllRegisterServer from the dll.
I wanna know whether there is same way in C#.


"Bob Powell [MVP]" <bob (AT) _spamkiller_bobpowell (DOT) net>
wrote:e$mePXCKHHA.1064 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
Quote:
Bill Gates wrote:
Thanks!
If you're using Visual Studio there is an option to do this in the project
settings.

To do it with the command line see RegAsm.exe

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.