Solved

ActiveX (client side) usage in Web applications

Posted on 2000-05-03
2
313 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
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/…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 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