Solved

How to make a OCX by c#

Posted on 2012-03-14
1
224 Views
Last Modified: 2012-03-15
Any suggestion, thanks.
0
Comment
Question by:turbot_yu
1 Comment
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 37723535
There is no way to write an ocx in c# or vb. However you can easily
"expose" your managed usercontrols or libraries as com components to be used
by com enabled environments. To use this feature of .net please see the
documentation of tools "Regasm.exe" and "Tlbexp.exe" and also read "strong
named" assemblies in .net. Its all nicely documented in msdn and you shouldn't
have any difficulty in doing this after reading the docs.

Comment from another expert found at http://bytes.com/topic/c-sharp/answers/253895-creating-ocx-net

See also http://www.vbforums.com/showthread.php?t=529484
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now