Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / July 2003

Tip: Looking for answers? Try searching our database.

.NET - Keep non COM classes out of the reg with regasm

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian Reed - 28 Jul 2003 23:25 GMT
I have a COM interop component that I have written in C#.  I register the
object with regasm to embed its ProgID and such in the registry.  All of my
normal .NET classes get registered with it and I don't want them to be
registered as COM interop objects.  Is there an attribute I can apply to
them to prevent registration?  They are public in the project, and I would
like to leave them that way.

Any help would be great!
Rob Teixeira [MVP] - 29 Jul 2003 00:12 GMT
Attribute -

[ComVisible(false)]

-Rob [MVP]

> I have a COM interop component that I have written in C#.  I register the
> object with regasm to embed its ProgID and such in the registry.  All of my
[quoted text clipped - 4 lines]
>
> Any help would be great!
Brian Reed - 29 Jul 2003 17:04 GMT
That worked.  Thanks!

> Attribute -
>
[quoted text clipped - 11 lines]
> >
> > Any help would be great!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.