Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't create COM component
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01240285
Message ID:
01240315
Views:
6
>I'm having trouble generating a COM component from C#. It looks like I'm doing everything right:
>
>- public class and public methods
>- using System.Runtime.InteropServices
>- Checked "Register for COM interop" in the project's Build configuration
>
>but I can't see the component in VFP.
>
>Any ideas on what's wrong?

Did you use the ClassInterface / ProgId attributes on your class?

ex.
[ClassInterface(ClassInterfaceType.AutoDual)]
[ProgId("MyProject.MyClass")]
public class SomeClass
{
   // Code here
}
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform