473,513 Members | 2,562 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to use VC++ control in C#?

I have built many controls in VC++, how can I use these control in C#
without re-programing?
Thanks.
Nov 15 '05 #1
1 1297
Owen,

If you developed them so that they are ActiveX controls, then you can
easily import them using the AXIMP tool in the framework. AXIMP will create
..NET wrappers that can be used to create the control.

If they are not ActiveX controls, then the only other option you have is
to derive a class from Control, and override a number of methods/properties
(CreateParams, WndProc, etc, etc) to handle the creation and message
handling that the control requires. You will also have to create the
appropriate properties, methods, and events that the control needs as well.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Owen Woo" <wo*****@163.net> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
I have built many controls in VC++, how can I use these control in C#
without re-programing?
Thanks.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1738
by: Thilanga | last post by:
Hi all, My requirement is to fill an HTML form which is in an HTML page embedded in a VC++ dialog control with "Microsoft Web Browser" control. I have set of strings to bo set in text fields of the HTML form. I'm reading this string from VC++ text field and then split that in to several substrings these substrings to be loaded to the...
5
2385
by: Ralph Krausse | last post by:
Hello all, New to .NET and was wondering if there is a classwizard to create code for message like VC++ has now, ie. automatically create code for KeyDown or MouseMove. Thanks Ralph
5
2324
by: Hari | last post by:
Guys please help me to solve this strange problem what Iam getting as follows.. Trying to instantiate a global instance of a template class as follows :- when i build this code with debug and run this works fine. but if build in unicode release or release this does't work. IS THERE ANY PROBLEM OF INSTANTIATING TEMPLATE CLASSES
5
1499
by: Vinod Kushwaha | last post by:
Hi, I am not able to find Source Control Options in the Tools->Options Dialog. Why is it missing ? Is it hidden ? I have only bought VC++ .Net Standard 2003 Edition. Thanks, Vinod Kushwaha
3
1427
by: MD Websunlimited | last post by:
I'm having a problem utilizing a control that was created in VB 6 sp6 in VC 7 (unmanged). The VC7 is a dialog based application that uses the control. The control work perfectly in a VB test form but I can not get it to work in VC7. Whenever a property is accessed a memory access exception is produced. When I attempt to add a variable to the...
11
2185
by: Dr. Zharkov | last post by:
We want to export myArrayVB (2000, 2) of VB .NET 2003 in myArrayVó of VC++ .NET 2003 on scheme "component - client". But there is an error. For development of a component in VB .NET 2003 we make: File, New, Project, Visual Basic Projects, Class Library, name of project: ComponentVB. We write the code: Public Function...
14
1516
by: Lloyd Dupont | last post by:
it's only 2 hours I'm using it and I'm already mad from it's unproductivity feature. - my most hated feature being: you can't save your file (because it's used by VC# express). Very typicall after a failed build there are minor ones as well kind of, such as: - take 20 seconds to save a file. => which gives: before compiling spend 10...
2
241
by: Reem | last post by:
Hello, I wrote a windows application using VC++, in the program form and I use 1 tab control that contains many tab pages.I hope to control navigation on these tabpages by pressing a certian button, hide and show specfic tab pages according to the user actions by pressing another special button , and include an exit button in some of these...
15
1984
by: Michael Tissington | last post by:
I have a Visual Basic 6.0 ActiveX Control. It seems there is no way with VS 2005 to create a similar control for containers that host ActiverX controls, is this correct ? I'm thinking of converting the VB 6 project to VC in VS 2005. This seems to be a very different process. Where is a good place to start?
3
4055
by: =?Utf-8?B?S3VlaXNoaW9uZyBUdQ==?= | last post by:
Is it possible to add a VB ocx to a .NET VC++ project? If yes, how do I do it?
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7565
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7543
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3255
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3242
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
473
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.