?
Solved

Distributing VB6 applications

Posted on 2002-07-01
9
Medium Priority
?
314 Views
Last Modified: 2010-05-02
Hi, I need to know what the best way to distribute VB programs is.  For instance, if I make a simple .exe, what is the best way to ensure it will run on all Windows systems?

I've tried to send an .exe to friends, and usually get some .dll error or something.

I'd like it to as small as possible (to send over internet).

Thanks

-Sam
0
Comment
Question by:samsonite1023
[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
9 Comments
 
LVL 1

Expert Comment

by:Lianne072600
ID: 7123293
Sam,

Do you have the package and deployment wizard? If so you can use this to bundle up your project files and .exe file. This will then create a setup package that wil alow the target users to install your program. I may be wrong but, this is probably the easiest way without spending any money.

If you are serious about developing then I would reccommend Bit Arts Fusion, this is a software packager that you can download a free 30 day trial of, which is excellent the link is http://www.bit-arts.com/fusion.html
a thing to remember when using the trial version is that the file will only work with the name given by the program following compilation.

Regards

Lianne
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 7123418
If you want to keep your file small to send over the net you could just send the .exe file along with a link to the vb runtime files on Microsoft's site.


http://support.microsoft.com/default.aspx?scid=kb;EN-US;q235420

0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 7123421
The link is for vb6.Also,if you use any controls that are not contained in the download or on the users machine ,then you will need to distribute them as well.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Accepted Solution

by:
MelissaEvans earned 200 total points
ID: 7123422
Here's a free installer.  I haven't played with it, it was recommended by a friend - but if you don't have access to the PDW it might be of interest to you.  =)
http://www.jrsoftware.org/isinfo.php
~Melissa
0
 
LVL 1

Author Comment

by:samsonite1023
ID: 7123778
These suggestions are great, however I do not need installation wizards and such (yet).  I'd just like the person to be able to run the .exe without getting dll errors.

Perhaps I should use a "Binder" or "Joiner" ?  

Thank you for your comments so far

-Sam
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 7124372
samsonite1023:  "I do not need installation wizards and such (yet). " is ABSOLUTELY WRONG...Yes you do, because the purpose of the Installation is so that a PC which DOES NOT have VB installed on it, can run your EXE without getting the DLL errors.  The installation is done to add those DLLs to the other PC, so that the VB program will run.

Arthur Wood
0
 
LVL 1

Author Comment

by:samsonite1023
ID: 7125122
Arthur, I just need something that will put the .dll's in the system folder and register them.  That does NOT require a 5 or 6 step installation program.

You are absolutely wrong.

0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 7125642
Hi!

This is what VB exe files require:

Msvbvm60.dll (or Msvbvm50.dll) in the system folder (it's advisible not to copy it there).
This is the runtime file needed for all exe files to work.  If it is not found in the system folder, it must at least be in the SAME folder as that of your vb exe's folder.

The same goes for any ocx file(s) that you've used in your vb exe.

Thus, all you need (as in, the safest method) to do is to:

- Zip up all the ocx files, vb runtime file that you've used
- Create a self-extracting exe file to unzip all it's contents into the SAME folder.

There is no need to register them if they're in the same folder.

Your vb exe should work fine from there without any errors unless:

You've used any 3rd party ocx/dll files that's not found on the other person's PC.

That's it!

glass cookie : )
0
 
LVL 1

Author Comment

by:samsonite1023
ID: 7134336
Thanks melissa
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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
Course of the Month13 days, 16 hours left to enroll

801 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