My application is vb6 application which refer to delphi active.exe file.
I need to replace this file with C# one.
How can I create activeX exe with VS 2010 and C#?
(needless to say I cannot work with files other then activeX exe)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a tutorial by Microsoft about migrating VB6 ActiveX EXEs to .NET. It specifically states:
Therefore the Microsoft tools, at least, do not support producing an ActiveX EXE from .NET based on original VB6 code. (That does not mean that another route might not be possible.)
An alternative approach could be to convert it to a regular .NET COM Interop DLL which is a lot easier, but you may require it to run out-of-process which a DLL cannot do.