Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Running VB6 exe without Runtime files

Posted on 2004-10-12
13
Medium Priority
?
520 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Technology Partners: 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!

Question has a verified solution.

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

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

636 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