View Full Version : Is ActiveX Server-Side Language?

01-16-2005, 11:33 AM
Hi masters,

I'd like to know whether the ActiveX is Server-side language or both the server and client language.
Can we use it to run on our local machine without any server connection?
Why doesn't it run if we use our drive name and file name in "codebase" directory?

<object id="aw3http" codebase="http://www.activeworlds.com/products/ActiveWorldsDownload.cab#Version=1,0,0,5"
classid="CLSID:1DA3C4AB-E6B6-47A6-B0F3-1BD81524B51B" width="0" height="0">
<param name="Secure" value="0"> <!---Flag to use http or https for download-->
<param name="Vendor" value="AWLD"> <!---Sets vendor code in aworld.ini-->
<param name="Teleport" value="AWGate 0n 0w"> <!---Value used in .awt file for teleporting after launch-->
<param name="Nicename" value="Active Worlds Browser"> <!---Text displayed in progress bar during download or in errors-->
<param name="Filename" value=autoinstall.exe> <!---File name to download and launch-->
<param name="Filepath" value="downloads/autoinstall"> <!---Path to file to download on object.activeworlds.com machine-->
<param name="Username" value=""> <!---User name set in aworld.ini-->
<param name="Password" value=""> <!---Password set in aworld.ini-->
<param name="World" value="AWGate"> <!---Start world set in aworld.ini-->
<param name="Location" value="0N 0W"> <!---co-ord set in start world in aworld.ini-->
<param name="Host" value="auth.activeworlds.com"> <!---host set in universe section of aworld.ini-->
<param name="Port" value="0"> <!---Port of host in universe section of aworld.ini-->
<param name="AutoRun" value="1"> <!---Flag to start control onload or not-->

01-16-2005, 07:03 PM
ActiveX controls are self registering COM objects which reside on the client machine.

If you've accessed the control online, it is probably on your computer (%windir%\Downloaded Program Files).

If not, and the control is unsigned (and security settings disallow it), or if a run time license is required, or if the .inf file somehow interferes with installation, it will not be registered/rendered.

You may extract the .ocx from the cabinet, put it where you want to keep it, and register it yourself, or link to it through the codebase attribute (so it may copied to the system cache), but again, whether it works will depend on security settings and license dependencies (if any).

The specifics are covered in the SDK:

Internet Component Download (http://msdn.microsoft.com/workshop/delivery/download/download_node_entry.asp)

Licensing ActiveX Controls (http://msdn.microsoft.com/workshop/components/activex/licensing.asp)