How to write ocx using .NET?

Asked By 0 points N/A Posted on -
qa-featured

I made a large C# code and I was wondering if I can create OCX with .NET.  I'm using Windows XP 64-bit sp2.  Can someone tell me or teach me on how to write ocx using .NET?  Thanks in advance.

SHARE
Answered By 0 points N/A #168091

How to write ocx using .NET?

qa-featured

 

Hello Becky,
 
There's very few reasons to use an OCX nowadays. Therefore, unfortunately, the answer to your question is – no, you can't create an OCX with .NET.
 
I'd suggest you to use the CCW-invoked .NET assembly as a better solution. As I don't know what you need an OCX for, I can only suggest you, besides already mentioned to try an Add-in or Visual Studio Tools for Office as a decent ways to solve your problems.
 

Login/Register to Answer

Related Questions