Solved

Using CODEBASE tag for auto download of CAB file

Posted on 1997-12-09
3
1,303 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I'm a Human captcha checkbox 13 43
How to escape unsafe HTML tags 4 36
Timer on div 5 24
close pop up windows when logout or main window closes 17 55
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 …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
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).

726 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