Solved

Using CODEBASE tag for auto download of CAB file

Posted on 1997-12-09
3
1,302 Views
Last Modified: 2006-11-17
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
Comment
Question by:martinbw
3 Comments
 
LVL 6

Expert Comment

by:tecbuilder
ID: 1842203
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
 

Author Comment

by:martinbw
ID: 1842204
I would like to use the CODEBASE tag, so this does not answer my question.  Many thanks for your response though.
0
 
LVL 1

Accepted Solution

by:
moshem earned 120 total points
ID: 1842205
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: 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

Suggested Solutions

Title # Comments Views Activity
Border and image sizing 5 29
Mobile page Scrolling down when refreshing 4 63
How has this flight information been added to this website? 7 31
Asp in script 6 36
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

840 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