Solved

How to make a OCX by c#

Posted on 2012-03-14
1
278 Views
Last Modified: 2012-03-15
Any suggestion, thanks.
0
Comment
Question by:turbot_yu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

696 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