RE: All public classes are registered for COM interop?
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi
By default, the ComVisible is set to true.
If you do not want the behavior, you may try the set the attribute in the
AssemblyInfo.cs
[assembly: ComVisible(false)]
In this way, all the type in the assembly will not be exposed.
So we need to enable it for the connect class to expose it.
Change it as similar with below, so that only the Connect will be exposed.
[GuidAttribute("AC885D0A-5D14-42A7-9B9C-6A1D5DBB5368"),
ProgId("WordAddin1.Connect"),ComVisible(true)]
public class Connect : Object, Extensibility.IDTExtensibility2
You may have a try.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
.
Relevant Pages
- Re: Dan Christensen = exposed liar
... link will expose your lies) can't change. ... Actually I exposed your lie by posting the full text. ... I have also frequently exposed his lies about facts and people in SCC. ... "It is clear from Smith's article here (and his website, ... (soc.culture.cuba) - Re: Dan Christensen = exposed liar
... Actually I exposed your lie by posting the full text. ... showing clearly what I think about the lies of Lulo and Dan Christensen: inneundo and slander. ... link will expose your lies) can't change. ... (soc.culture.cuba) - Re: Dan Christensen = exposed liar
... a fact that your misleading incomplet snippets without a link (as the link will expose your lies) can't change. ... Explain how I could be "lobbying" people in Varadero if I was posting at the same time from Belgium Mr. Serail Liar? ... I have also frequently exposed his lies about facts and people in SCC. ... "It is clear from Smith's article here (and his website, ... (soc.culture.cuba) - Re: Mike Plowman Debates
... your mind seems to have been ... twisted - understandably so - by your experiences. ... to say nothing of Sofa Spud's posting before has his breakfast ... an expose which promptly led to his registering with a ... (uk.media.tv.misc) - RE: Outlook event for launching, or clicking a URL in message body
... Unfortunately the Outlook did not expose such event for us to handle the ... This posting is provided "AS IS" with no warranties, and confers no rights. ... (microsoft.public.office.developer.com.add_ins) |
|