Improve company productivity with a Business Account.Sign Up

x
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

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