Solved

ActiveX (client side) usage in Web applications

Posted on 2000-05-03
2
311 Views
Last Modified: 2010-05-18
Hi !
I would like to ask you as web developers (and not only as ASP people).

We can create an ActiveX object at the server side as well as at the client side. However, I am interested only in creating an ActiveX object at client side. For example, in Internet  Explorer, I am aware of three (at least) ways  to create an ActiveX :

1.      HTML <OBJECT> tag
2.      my_object = new ActiveXObject(“ServerName.ClassName”) (Jscript)
3.          DataSpace = new ActiveXObject("RDS.Dataspace") (JScript,MDAC installed)
    my_object = DataSpace.CreateObject(“ServerName.ClassName”)

(option 2 and 3 can be configured as remote, in process etc)

I would like to know, what are the most frequent / common usages of ActiveX object at the client side ?
I would very appreciate, if you  can point to URL with such common usages.

Thanks a lot .
0
Comment
Question by:cd22
2 Comments
 
LVL 10

Expert Comment

by:makerp
ID: 2773189
the object tag is used if you want to see the active x (i.e. it has a gui) else the createobject/activexobject is used.

heres an example of some html making use of the microsoft web browser control

<object classid="clsid:8856F961-340A-11D0-A96B-00C04FD705A2" id="WebBrowser1" width="300" height="150">
  <param name="ExtentX" value="7938">
  <param name="ExtentY" value="3969">
  <param name="ViewMode" value="0">
  <param name="Offline" value="0">
  <param name="Silent" value="0">
  <param name="RegisterAsBrowser" value="0">
  <param name="RegisterAsDropTarget" value="1">
  <param name="AutoArrange" value="0">
  <param name="NoClientEdge" value="0">
  <param name="AlignLeft" value="0">
  <param name="ViewID" value="{0057D0E0-3573-11CF-AE69-08002B2E1262}">
  <param name="Location" value="http://www.asp101.com/">
</object>

active x controls can be used to do just about any thing.

you will need to get the control signed in order for it to be trusted etc. this costs :(.
0
 
LVL 1

Accepted Solution

by:
HOOKUPS earned 250 total points
ID: 2776709
I would agree with makerp that the object tage is the way it works however if you have developed an active x component you can use the microsoft activex control pad to configure and create your html code for you this is a very easy method.

following links provide a download site to the activex control pad

http://msdn.microsoft.com/workshop/misc/cpad/setuppad.exe
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question