Click here to Skip to main content
14,875,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have made a Activex Control in Visual Studio 2010 and so made a .dll file. than I registered it through Visual Studio Command Prompt. But now I want to register it through cmd(Command Prompt) but i am Unable. I have used regasm, RegAsm, regsvr32 but still not able to register it.
My system is 64bit and windows 7 OS.
i will be heartly thankful for any help and suggestions.
Posted
Updated 18-Oct-13 1:30am
v2
Comments
Sergey Alexandrovich Kryukov 18-Oct-13 10:07am
   
First of all, why developing ActiveX, if you are using .NET?
—SA
kool15th 7-Nov-13 2:53am
   
Actually I am using Visual studio 2010 for making activex controls, And I am new to this ,SO what can I do for it ? what should I use ?
My actual task is of making window based application which can be run on any system now I do it by making .dll files then .cab file
For Any Suggestion I will be heartly thankful to you.
   
It's up to you what should you use. I don't know your goals. I only say that if you want to develop in .NET, ActiveX is irrelevant, obsolete and nuances. Forget about this lame, ActiveX was created to bring elements of OOP in non-OOP platform. With .NET, it all gone...
—SA

1 solution

Try with below options

- Run Command Prompt as Administrator (Run as Administrator)
- you need to run regsvr32 from windows\SysWOW64 for 32-bit libraries

http://support.microsoft.com/kb/282747[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900