• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

Downloading CAB File Created in Visual Basic

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
gondesiravi
Asked:
gondesiravi
  • 2
1 Solution
 
CJ_SCommented:
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
 
choroqueCommented:
<object id="myid" classid="clsid:your class id" codebase="mycab.cab#Version=5,0,4,15">
</object>
0
 
gondesiraviAuthor Commented:
How to get the class ID
0
 
choroqueCommented:
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

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

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