473,473 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

asp.net and ActiveX control

Hi,

I'm a long-time VB/VB.net developer but this is my first web development
experience. I've been tasked with hosting/rendering one of my company's
ActiveX controls on an ASP.net 2.0 web page. I'm also supposed to make calls
to the controls methods to log the user in. How do I host and render an
ActiveX control in a webform? Also, how do I interact with it once it's
hosted/rendered? Any help would be greatly appreciated.
Apr 24 '06 #1
3 1830
Well you embed it using the same HTML you would in any web page, and then you
would manipulate it with client side script.

"Jeff Beem" wrote:
Hi,

I'm a long-time VB/VB.net developer but this is my first web development
experience. I've been tasked with hosting/rendering one of my company's
ActiveX controls on an ASP.net 2.0 web page. I'm also supposed to make calls
to the controls methods to log the user in. How do I host and render an
ActiveX control in a webform? Also, how do I interact with it once it's
hosted/rendered? Any help would be greatly appreciated.

Apr 24 '06 #2
You can create the control via object tag or JavaScript.
The page can then call methods and properties of the ActiveX control (via
JavaScript) as if it was a standard HTML control.

Here's more info:
http://SteveOrr.net/articles/StreamingMedia.aspx
http://SteveOrr.net/articles/WinFormControls.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Jeff Beem" <Je******@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
Hi,

I'm a long-time VB/VB.net developer but this is my first web development
experience. I've been tasked with hosting/rendering one of my company's
ActiveX controls on an ASP.net 2.0 web page. I'm also supposed to make
calls
to the controls methods to log the user in. How do I host and render an
ActiveX control in a webform? Also, how do I interact with it once it's
hosted/rendered? Any help would be greatly appreciated.

Apr 24 '06 #3
Thanks Steve. I used the object tag and it's now working.

"Steve C. Orr [MVP, MCSD]" wrote:
You can create the control via object tag or JavaScript.
The page can then call methods and properties of the ActiveX control (via
JavaScript) as if it was a standard HTML control.

Here's more info:
http://SteveOrr.net/articles/StreamingMedia.aspx
http://SteveOrr.net/articles/WinFormControls.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Jeff Beem" <Je******@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
Hi,

I'm a long-time VB/VB.net developer but this is my first web development
experience. I've been tasked with hosting/rendering one of my company's
ActiveX controls on an ASP.net 2.0 web page. I'm also supposed to make
calls
to the controls methods to log the user in. How do I host and render an
ActiveX control in a webform? Also, how do I interact with it once it's
hosted/rendered? Any help would be greatly appreciated.


Apr 24 '06 #4

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...
1
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...
3
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...
3
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...
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...
1
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...
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: 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...
7
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...
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
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,...
1
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...
0
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,...
0
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.