473,800 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to add an ActiveX component to .NET web form?

I could not find the option to do it. Anyone know it? Example?Thank you.

By the way, how to add an ActiveX Control to a html file? Example? Thank you.
David
Jan 9 '06 #1
4 1975
David,

You add an ActiveX to a web form in the same way as you do to an html page.

An example:

<object id=WebTwain codeBase="Activ eX/DynamicWebTwain .cab#version=4, 1"
height="472" width="368"
classid="clsid: E7DA7F8D-27AB-4EE9-8FC0-3FEC9ECFE758" viewastext>
<param name="_cx" value="9737">
<param name="_cy" value="12488">
<param name="TransferM ode" value="0">
<param name="BorderSty le" value="0">
<param name="HTTPPort" value="443">
<param name="IfTiffMul tiPage" value="True">
<param name="TIFFCompr essionType" value="5">
<param name="MaxImages InBuffer" value="50">
</object>

Eliyahu

"david" <da***@discussi ons.microsoft.c om> wrote in message
news:F5******** *************** ***********@mic rosoft.com...
I could not find the option to do it. Anyone know it? Example?Thank you.

By the way, how to add an ActiveX Control to a html file? Example? Thank
you.
David

Jan 10 '06 #2
Thank you

David

"Eliyahu Goldin" wrote:
David,

You add an ActiveX to a web form in the same way as you do to an html page.

An example:

<object id=WebTwain codeBase="Activ eX/DynamicWebTwain .cab#version=4, 1"
height="472" width="368"
classid="clsid: E7DA7F8D-27AB-4EE9-8FC0-3FEC9ECFE758" viewastext>
<param name="_cx" value="9737">
<param name="_cy" value="12488">
<param name="TransferM ode" value="0">
<param name="BorderSty le" value="0">
<param name="HTTPPort" value="443">
<param name="IfTiffMul tiPage" value="True">
<param name="TIFFCompr essionType" value="5">
<param name="MaxImages InBuffer" value="50">
</object>

Eliyahu

"david" <da***@discussi ons.microsoft.c om> wrote in message
news:F5******** *************** ***********@mic rosoft.com...
I could not find the option to do it. Anyone know it? Example?Thank you.

By the way, how to add an ActiveX Control to a html file? Example? Thank
you.
David


Jan 10 '06 #3
Thank you,

I am a new comer in this area. Could you give me more explaination about the
example? Can you use an example in the current windows system? Thank you.

David

"Eliyahu Goldin" wrote:
David,

You add an ActiveX to a web form in the same way as you do to an html page.

An example:

<object id=WebTwain codeBase="Activ eX/DynamicWebTwain .cab#version=4, 1"
height="472" width="368"
classid="clsid: E7DA7F8D-27AB-4EE9-8FC0-3FEC9ECFE758" viewastext>
<param name="_cx" value="9737">
<param name="_cy" value="12488">
<param name="TransferM ode" value="0">
<param name="BorderSty le" value="0">
<param name="HTTPPort" value="443">
<param name="IfTiffMul tiPage" value="True">
<param name="TIFFCompr essionType" value="5">
<param name="MaxImages InBuffer" value="50">
</object>

Eliyahu

"david" <da***@discussi ons.microsoft.c om> wrote in message
news:F5******** *************** ***********@mic rosoft.com...
I could not find the option to do it. Anyone know it? Example?Thank you.

By the way, how to add an ActiveX Control to a html file? Example? Thank
you.
David


Jan 10 '06 #4
David,

What you see in the example is an html <object> element. You can make your
own research in any html help available for you. You might need another
<object> to resolve licensing issues. ActiveX providers usually give you
exact instructions on this.

In Windows environment you just install the ActiveX separately and then
instantiate it in the code.

Eliyahu

"david" <da***@discussi ons.microsoft.c om> wrote in message
news:A7******** *************** ***********@mic rosoft.com...
Thank you,

I am a new comer in this area. Could you give me more explaination about
the
example? Can you use an example in the current windows system? Thank you.

David

"Eliyahu Goldin" wrote:
David,

You add an ActiveX to a web form in the same way as you do to an html
page.

An example:

<object id=WebTwain codeBase="Activ eX/DynamicWebTwain .cab#version=4, 1"
height="472" width="368"
classid="clsid: E7DA7F8D-27AB-4EE9-8FC0-3FEC9ECFE758" viewastext>
<param name="_cx" value="9737">
<param name="_cy" value="12488">
<param name="TransferM ode" value="0">
<param name="BorderSty le" value="0">
<param name="HTTPPort" value="443">
<param name="IfTiffMul tiPage" value="True">
<param name="TIFFCompr essionType" value="5">
<param name="MaxImages InBuffer" value="50">
</object>

Eliyahu

"david" <da***@discussi ons.microsoft.c om> wrote in message
news:F5******** *************** ***********@mic rosoft.com...
>I could not find the option to do it. Anyone know it? Example?Thank you.
>
> By the way, how to add an ActiveX Control to a html file? Example?
> Thank
> you.
>
>
> David


Jan 11 '06 #5

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

Similar topics

11
2895
by: dw85745 | last post by:
PROBLEMS I Haven't solved: 1. Timing issue between real-time server #1 and my drawing tools. Will moving the tools (currently within module) to an ActiveX (exe or DLL) solve the problem or will the calls to the ActiveX in the mouse move event still result in a conflict???? Background
0
1756
by: Glynn Johnson | last post by:
I understand that there is no way to upload multiple files using ASP and COM+ without having multiple form elements like <input type='file'>. I also understand that there is no way to programmatically set the value of <input type='file'> in IE because it poses a security risk. I didn't know these two facts before I tried to create a client-side activeX component in VB6 which would allow someone to select multiple files from their hard...
7
2727
by: Newbie | last post by:
Hi all, I have some activeX code that I use to get the local computer name. (I don't think this is possible using ASP from my research). The rest of my code is ASP. I'd like to know how to pass the ActiveX variable into my ASP script. My code is as follows. Thanks. ----------------- activeX code: (I have this saved as activeX.asp which seems to work fine)
7
2827
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) My code is below. I am getting the following error "MyForm.oNetwork.Value is Null or is not an object". I'm struggling to diagnose what to do next. I'd very much appreciate some help Many thanks <HTML><BODY><FORM NAME="MyForm"...
1
1768
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...
3
2521
by: Jeffery Franzen | last post by:
Anyone know where the documentation is regarding Activex controls in asp web forms? I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app. I do the add control to pallete and then add a reference. I get the interop dll added to bin folder. I did this with the MediaPlayer activex control as a simple case to to try and get it working. I set the control to autostart via the html parameter tag for...
1
5166
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
1
2020
by: david | last post by:
I have created an ActiveX and load it into the Component in ToolBox in the Visual Studio IDE. After create a web form project (VB.NET), I drag the activeX component into the web form design, set ID and name for it in the property, and the HTML looks like: <OBJECT id="AxCarControlID" style="Z-INDEX: 101; LEFT: 56px; WIDTH: 616px; POSITION: absolute; TOP: 304px; HEIGHT: 120px" classid="clsid:65A0EEC0-745F-11D3-B92E-0020781238D4"...
4
6790
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 access it I have an InvalidActiveXState Exception. I cannot find mutch on the web about this Invalid State of a component except that it is invalid (what the Exception already describe). So I hope someone here knows ?
6
8079
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
0
9691
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
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,...
0
10276
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10035
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9090
agi2029
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...
0
6813
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();...
0
5471
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2945
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.