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

Running VB6 exe without Runtime files

Is there any way of running VB6 exe file without runtime files.

Looking forward to you.
0
abbas1982
Asked:
abbas1982
  • 5
  • 4
1 Solution
 
zzzzzoocCommented:
The run-times are required for the application to run -- hence "run"-times. There are applications that include them within your executable, though.

Fusion, for example:
http://www.bitarts.com/software.htm

You might be better off with an Installer.
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
abbas1982Author Commented:
Actually my vb exe only gets input at command line the name of excel file and coverts that excel file into pdf using Acrobat Distiller.

This exe is to be used with JAVA. So, the only files required are
EXCEL9.OLB
Acrodist.exe and may be
MSVBVM60.DLL


If I place these file within the exe directory, will the exe run.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Éric MoreauSenior .Net ConsultantCommented:
Excel and Acrobat distiller have to be installed separetly. There is no way of bundling them with your application.

If you don't have any other dependencies, VB runtimes can be easily installed using vbrun60sp6.exe (http://support.microsoft.com/default.aspx?scid=kb;en-us;290887).

What's left is to copy your EXE anywhere on the PC.
0
 
abbas1982Author Commented:
What about
MSVBVM60.DLL

If I place it with exe will it run without
VB runtime.
0
 
Éric MoreauSenior .Net ConsultantCommented:
msvbmv60.dll is the core of the VB runtime!
0
 
abbas1982Author Commented:
So, putting it in the exe folder will work.
Or I have to run regsvr32
0
 
Éric MoreauSenior .Net ConsultantCommented:
it has to be registered.

Why don't you want to create an installer or run vbrun60ps6.exe ?
0
 
abbas1982Author Commented:
Actually I am developing JAVA application in my organization. But there is a problem in one area. That is the excel reports which are generated by the JAVA program are to be converted to PDF. So, I am using PDFDisteller libray in VB to convert excel files. Java's printing services didn't allowed me so flexible mechanism.
0
 
Éric MoreauSenior .Net ConsultantCommented:
Points to emoreau
0

Featured Post

Industry Leaders: 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!

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