Hi, all.
I am a beginner. If C# can not be used to ActiveX control, How can I do?
Thank you in advance. 3 4582
You can't... if you're using VS.Net, you can create an ActiveX control via
C++'s MFC ActiveX Wizard...
You can, however, use an ActiveX control inside a C# application. The VS.Net
creates an interop DLL, which allows the unmanaged code to communicate with
the .Net IL.
hope that helps.
Dan.
"seaweed" <xi*****@is.ais t-nara.ac.jp> wrote in message
news:e9******** ******@TK2MSFTN GP11.phx.gbl...
Hi, all.
I am a beginner. If C# can not be used to ActiveX control, How can I do?
Thank you in advance.
C# is a language for the .NET platform which does not provide native
support for COM/ActiveX. Microsoft had many reasons for breaking
compatibility, but they did provide an interop layer you can go
through for COM objects. Unfortunately their is no backwards interop
for ActiveX.
Depending on you application you may can create .NET UserControl (this
is the .NET counterpart for an ActiveX control), unfortunately
UserControls do not support ActiveX containers (you can't embed your
..NET UserControl in an Office document), but they do support the
current version of Internet Explorer when the client has the .NET
Framework and Code Access Security configured to permit their
execution.
If you want to create an ActiveX component you'll need Visual Basic 6
or Visual C++.
"seaweed" <xi*****@is.ais t-nara.ac.jp> wrote in message news:<e9******* *******@TK2MSFT NGP11.phx.gbl>. .. Hi, all.
I am a beginner. If C# can not be used to ActiveX control, How can I do? Thank you in advance. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 the VB program on that same
machine, I can view the ActiveX control fine. He is using Citrix.
The same ActiveX controls can be viewed on other machines.
When trying to view 1 of the ActiveX control, he got an error
"Visual Basic Run-time redist...
|
by: Anand Kale |
last post by:
How to have ActiveX control called from Web Form in ASP.Net ? ActiveX
control is written using VC++/MFC/ATL-COM.
Also kindly answer following issues,
1. Also how to take care of issues about security etc ?
2. Can anyone give me exact steps to embedd activex in a web form ?
3. Can the activeX control interact with the server side control on the web
form ?
4. Do I need to register the activeX on client machine ? I want to download
the...
|
by: Weston Fryatt |
last post by:
Simple question I hope....
How do I send data to and from an ASP.Net (server side) web page to a
ActiveX Control (client side) embedded in a web browser???
What I need to do, is I have image data (mostly TIFF format) that need to be
sent to our custom Image Viewer (ActiveX control). So far I can get the
TIFF image data loaded into a Byte Array in C# on my ASP.Net web page, But
how do I send this data now to my ActiveX control on the...
|
by: pagates |
last post by:
Hello,
I use a COM-based ActiveX control as part of a C# Controls project. Part of
this control is a ListView, and the ActiveX control has a property that
returns the ListItems of this control.
I had the following Build warning:
"The referenced component 'MSComctlLib' has an updated custom wrapper
available."
|
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 ActiveX controls that are to be used by a pda need to be written in the
..net compact framework, or am i missing something else here?
i have a HP iPaq 2490 with Windows Mobile Premium installed
While i'm at it; does a activex control allow you to...
| |
by: Jayender |
last post by:
Hi,
I have an ActiveX control (to display the Images),I have added the
reference of that in my web based applicaton .and added the ocx in my
tool bar , but the viewer (activex component- ocx ) is disabled , but i
tried this in Window based application, and it works great , but i need
to do it in Web based applicaion , is there anything i need to add for
making that to enable so that i can drag and place it in my web form ?
waiting for...
|
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 1.1 Configuration. I have also put a
reference to the control on my ASP .NET project. The view that I get is only
a disabled text area.
Below is the code that I'm using:
|
by: hufaunder |
last post by:
I have an ActiveX component that I want to use in a library that I am
writing. As a first test I used the ActiveX component in a windows
form application. Adding the component created:
Ax.dll
.dll
I can not call the functions in the ActiveX component. In the next
step I tried to use the ActiveX component in a class library. I simply
added a reference to the corresponding COM component. This this only
|
by: Artie |
last post by:
Hi,
Our team have a web project which includes some C# ActiveX DLLs.
On some developers' PCs, the code which calls methods in the ActiveX
dll is succesful - no exceptions. On other PCs, the ActiveX control
doesn't even seem to get loaded. (On the failing machines, if we try
and debug down to where the ActiveX DLL method is invoked, both Visual
Studio
and IE hang.)
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |