Running VB6 exe without Runtime files

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

Looking forward to you.
abbas1982Asked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .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
 
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
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
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
 
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
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.

All Courses

From novice to tech pro — start learning today.