Click here to Skip to main content
15,888,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to create the OCX control in C#.NET

i have already creating the user control in C#.NET & register using regasm .but when i have used this another software it will display the error message like "can not create object of specified ActiveX" or register using regsvr32 it will show following message
---------------------------
RegSvr32
---------------------------
D:\ABc\ABc\bin\Debug\ABc.dll was loaded, but the DllRegisterServer entry point was not found.

This file can not be registered.
---------------------------
OK
---------------------------

Exposing Windows Forms Controls as ActiveX controls[^]
used the same coding in this example
thanks
Posted
Updated 23-Nov-11 1:52am
v3

hi,
.ocx controls are used in VB6.0 , may be you are looking for user defined controls in c#
go through the below link
User controls in c# [^]
 
Share this answer
 

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