?
Solved

Running VB6 exe without Runtime files

Posted on 2004-10-12
13
Medium Priority
?
519 Views
Last Modified: 2011-09-20
Is there any way of running VB6 exe file without runtime files.

Looking forward to you.
0
Comment
Question by:abbas1982
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
13 Comments
 
LVL 17

Expert Comment

by:zzzzzooc
ID: 12295365
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
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12296330
0
 

Author Comment

by:abbas1982
ID: 12305169
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
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!

 
LVL 70

Accepted Solution

by:
Éric Moreau earned 200 total points
ID: 12306455
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
 

Author Comment

by:abbas1982
ID: 12336034
What about
MSVBVM60.DLL

If I place it with exe will it run without
VB runtime.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12337161
msvbmv60.dll is the core of the VB runtime!
0
 

Author Comment

by:abbas1982
ID: 12354734
So, putting it in the exe folder will work.
Or I have to run regsvr32
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12356933
it has to be registered.

Why don't you want to create an installer or run vbrun60ps6.exe ?
0
 

Author Comment

by:abbas1982
ID: 12366319
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
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12561046
Points to emoreau
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

770 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