473,387 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Support for C# ActiveX controls in MSOffice?

In 2004 (approximately) MS Tech support explained that while there was
limited support for native mode Active X controls in a few cases (like IE),
ActiveX controls should be all native code (especially for MS Office).

Has this change with VS2005? Does MSOffice Support ActiveX controls written
in J#, C# and Javascript.net?

Thanks,
Siegfried
Sep 19 '06 #1
2 1477
Siegfried,

It never did. You can not create ActiveX controls with .NET (there are
hacks around this, but as you have figured out, they are unsupported).

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

"Siegfried Heintze" <si*******@heintze.comwrote in message
news:uP*************@TK2MSFTNGP06.phx.gbl...
In 2004 (approximately) MS Tech support explained that while there was
limited support for native mode Active X controls in a few cases (like
IE), ActiveX controls should be all native code (especially for MS
Office).

Has this change with VS2005? Does MSOffice Support ActiveX controls
written in J#, C# and Javascript.net?

Thanks,
Siegfried

Sep 19 '06 #2

"Siegfried Heintze" <si*******@heintze.comwrote in message
news:uP*************@TK2MSFTNGP06.phx.gbl...
| In 2004 (approximately) MS Tech support explained that while there was
| limited support for native mode Active X controls in a few cases (like
IE),
| ActiveX controls should be all native code (especially for MS Office).
|
| Has this change with VS2005? Does MSOffice Support ActiveX controls
written
| in J#, C# and Javascript.net?
|
| Thanks,
| Siegfried
|
|

No, .NET is not targeting AX control authoring. This is (and AFAIK remains)
the domain of unmanaged code. Note that this is not a language issue, it's
simply the CLR which doesn't expose the AX control interfaces, note that COM
interfaces are exposed (and imported) by the CLR, the .NET languages can't
even author COM objects.

Willy.

Sep 19 '06 #3

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

Similar topics

1
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
2
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run...
0
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all...
3
by: DB | last post by:
Hi Folks, I want to create Activex component. Can we create it using c#.net or do I need to create it using vc++? Thanks in Advanced, Deepak
7
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do...
4
by: Wilfried Mestdagh | last post by:
Hi, I have a C# application (VS2005) with Microsoft Mappoint activeX control on a form. At a certain moment I want to create a second one temporary in code. This seems not to work, when I try to...
6
by: Budhi Saputra Prasetya | last post by:
Hi All, I'm trying to display .NET Custom Control (created using Inherited Control) on an ASPX page, but no luck. I already registered the Control to Global Assembly Cache through .NET Framework...
6
by: =?Utf-8?B?U2llZ2ZyaWVkIEhlaW50emU=?= | last post by:
Previously I could write (supported) ActiveX controls for IE only. Has this changed with VS2008? Does office support ActiveX controls written in VS2008? What about older versions of office: will...
1
by: mahesh123 | last post by:
Hi Folks, I am getting an Error "Activex Component Cannot Create Object" While I am exporting the Data from the MSFlexgrid to the MS Excel. Here In my Client System MSOffice is not Installed....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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,...

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.