473,507 Members | 2,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ActiveX creation

Can you create ActiveX controls in C#? I want to make a control that can be
used by both VB 6.0 and VB .NET and C# developers. Can I write in C# or must
I write in VB 6.0? I realize that more and more folks are moving to .NET,
but industry has a lot of people on 6.0 so I need to play nicely with them.

Thanks for the info.
Nov 17 '05 #1
1 1211
Nop... yoy can't create ActiveX in .NET but Assemblies instead. If you want
to use an Assembly from VB 6.0 then you use something called CCW (COM
Callable Wrapper) but you're calling indirectly an Assembly.

Regards,
--
Angel J. Hernández M.
MCP - MCAD - MCSD - MCDBA
http://groups.msn.com/desarrolladoresmiranda
http://www.consein.com
"Kenny ODell" <Ke********@discussions.microsoft.com> wrote in message
news:2E**********************************@microsof t.com...
Can you create ActiveX controls in C#? I want to make a control that can
be
used by both VB 6.0 and VB .NET and C# developers. Can I write in C# or
must
I write in VB 6.0? I realize that more and more folks are moving to .NET,
but industry has a lot of people on 6.0 so I need to play nicely with
them.

Thanks for the info.

Nov 17 '05 #2

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

Similar topics

8
4545
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I...
0
3568
by: Gary | last post by:
sorry for not cross-posting originally (originally posted in the components subgroup) I seem to have run into two documented bugs whose workarounds are incompatible. What I have is an OCX...
0
1515
by: Mircea Costeiu | last post by:
Hello everybody: I have an MFC ActiveX project created in Visual C++.NET 2003 and I am having a hard time adding more than one ActiveX control to the project. Is there an automated way of doing...
1
2045
by: None | last post by:
Hello In order to host and use an ActiveX control (non-GUI) in a WTL app, I followed the following steps: 1. During project creation, the ActiveX Hosting option is enabled. 2. In the dialog...
2
2082
by: Iouri | last post by:
Hi, How can I create a setup project for the VS2005 application that has an ActiveX control? I added an ActiveX control to the local folder (set CopyLocal property to True) and then created the...
1
3131
by: Simon | last post by:
Hi all, I recently posted about an issue I was having which no-one could help with, but I have researched some more and have discovered something very strange... I have a C# dll in the GAC...
8
1974
by: Daniele Piccinini | last post by:
Hi all, In my vc++ 2005 dialog based application i need to use a comunication activex component in a secondary thread: CFINSAxEFS* pNewAx = new CFINSAxEFS(); if ( !pNewAx->Create( NULL,...
1
2243
by: GuyWithDogs | last post by:
I've got an ActiveX control that I created and use in an HTML file. In that case, I have it in an <object> tag in the body. Works great. Now I'm wanting to defer the creation of the object until...
0
2630
tlhintoq
by: tlhintoq | last post by:
My project involves reading magstripe cards, capturing an ID number, then spinning off to do some other things including taking a photograph. 99% of this is done and good. All early phases of work...
0
7223
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,...
0
7111
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...
0
7376
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...
0
7485
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...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1542
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 ...
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
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...

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.