Solved

Downloading CAB File Created in Visual Basic

Posted on 2001-06-22
4
182 Views
Last Modified: 2008-03-06
I want to create an HTML / JSP page which will allow me to download .CAB file that was created in Visual Basic. I want to download the file when I click a link on the page.

The .CAB file contains a visual basic application.

How can I do It.
0
Comment
Question by:gondesiravi
  • 2
4 Comments
 
LVL 22

Expert Comment

by:CJ_S
ID: 6217982
You say it contains an application. But is it an application that should work inside the webbrowser, or should it just be downloaded and then activated by the user itself?

Using the package & Deployment wizard an html file will be created. That HTML file contaisn the code to show the control in the webbrowser.

If it's a standalone application you should be able to create a normal html link <a href="http://mysite/mycab.cab">Click here</a>

regards,
CJ
0
 
LVL 1

Expert Comment

by:choroque
ID: 6226302
<object id="myid" classid="clsid:your class id" codebase="mycab.cab#Version=5,0,4,15">
</object>
0
 
LVL 1

Author Comment

by:gondesiravi
ID: 6226330
How to get the class ID
0
 
LVL 1

Accepted Solution

by:
choroque earned 20 total points
ID: 6226486
you can insert the object using ms frontpage or visual interdev. I believe your vb app have an .ocx files. Just insert the .ocx files using frontpage or interdev (the classid will be automatically created), then in the "codebase", refer to your cab file.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
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…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now