I think what's throwing us off is the thread is titled 'Can you make a Active X component in c#' when you're really asking 'Can you make a Active X control in c#'.
I think the answer is a definite maybe, leaning more towards the "maybe".
Maybe someone else knows more than I do, but I would think that you would continue to use your existing ActiveX controls in your ASP pages, and write new Web controls using .NET as needed.
Chip H.
If you want to get the best response to a question, please check out FAQ222-2244 first
Look up COM callable wrappers in the documentation. This makes a wrapper around a .NET class that COM can use. Conversely, look for runtime callable wrappers to use a COM component from .NET.
Hmmm....
I've never actually used .net from com, only the other way around. I just remembered this stuff from when I was initially reading up on .net. I have the feeling though that to have an activex control you need to inherit from some base 'Control' class which would be a com class. So then you would need to have a wrapper around the base class to use it in .net. Then a wrapper around the .net class to use it in com. I'm not sure the inheritability(is that a word?) would last through these changes.
Is it possible for you to make the control in VS6 and then just put a runtime callable wrapper around it when you need to use it in .net? This would probably be the easiest solution.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.