Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1309
  • Last Modified:

Using CODEBASE tag for auto download of CAB file

One on our products requires ActiveX controls to be installed on the users machine (I believe in fm20.dll).  We want to be able to point our users to our external Web Site and allow then to download and install the mspert10.cab file which contains these controls.

I believe this can be done via an HTML page using the CODEBASE tag, but that's where my knowledge ends.

Can you help me (and provide examples on how this is done).

Is the CODEBASE tag just an IE thing or does it work if the user connects using Netscape.

Any links to more info would also be useful (I have trawled the MS web site already).

Many thanks

Martin
0
martinbw
Asked:
martinbw
1 Solution
 
tecbuilderCommented:
I don't know what the codebase tag is.  I haven't heard of it and it is not an HTML 3.2 tag.  So I'll tell you another way to get the result in which I believe you are looking for.

Since all you are wanting is to have the user download the cab file and install it where ever it is supposed to go then just use the anchor tag and reference the cab file.  Something like the code below should work.

<a href="http://your.external.website.com/mspert10.cab">Click On Me To Download The Cab File</a>

Since the browser doesn't know what to do with a cab extension it will ask the user to either Open It or Save It.  You may want to include some instructions on how to download and where to save the file to just before the anchor tag.  That way they will read what they are supposed to do before downloading.

I did try this with MSIE and Netscape and both asked me if I wanted to download the cab file and where I wanted to save it to.

Here is a good place to go for HTML tag information.  http://www.htmlhelp.com/reference/wilbur/
0
 
martinbwAuthor Commented:
I would like to use the CODEBASE tag, so this does not answer my question.  Many thanks for your response though.
0
 
moshemCommented:
CODEBASE is understood by Netscape too , but netscape
won't support OCX (ActiveX) so nevermind...

sample :

<OBJECT ID="AgentControl" WIDTH=0 HEIGHT=0
     CLASSID="CLSID:F5BE8BD2-7DE6-11D0-91FE-00C04FD701A5"
     CODEBASE="http://proj/agent/msagent.exe">
    </OBJECT>

Moshe
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now