Solved

Running VB6 exe without Runtime files

Posted on 2004-10-12
13
509 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
  • 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 69

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
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 50 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 69

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 69

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 69

Expert Comment

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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now