Solved

VB Error: file missing

Posted on 2002-05-03
7
311 Views
Last Modified: 2007-12-19

Hi!

When I run my VB exe file on a computer without the Visual Basic Program installed, a message which says something like "file MSVBV60.DLL is missing" appears. How can i rectify this problem?

I would like my program to be able to run on computers that does not have VB installed.

THanks for the help!
0
Comment
Question by:kkclub23
7 Comments
 
LVL 1

Accepted Solution

by:
SAK earned 50 total points
ID: 6988549
Try using the Package & Deployment Wizard to prepare an install set of files that can be used to install your application.
0
 
LVL 2

Expert Comment

by:mmcmillen
ID: 6988749
Do you mean the compiled version of your program when you say your vb executable, or do you mean you copied the exe that runs the visual basic ide ?


If thats the case you need to install vb to run vb. If you are wanting to run a compiled exe you need some files. Those are dependant on what references you used in the program, but there are also a minimum that you need for any vb app to run. The vb runtime dll's are some of those.  As SAK said you need to create an install package.

0
 
LVL 4

Expert Comment

by:gencross
ID: 6988827
The VB EXE file requires the msvbv60.dll to run any program because it is the run-time library.  When you copy your exe file you need to copy this file as well, usually to the Windows\system directory.  You can do this manually or you can create a setup file using the Package and Deployment Wiz. like SAK suggested.  The P&D will look through your program and put all files that are required for your application to run, such as controls, in to a CAB file for distribution.  This is the best way to distribute an app.

Hope this info helps.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:kkclub23
ID: 6989407
Thanks for the explanation and suggestions!

The application I developed needs to be in the same folder as another application (a Flash SWF file to be exact), so I thought it would not be practical to convert my application into a setup file, because, when I start the program, the user needs to see both the VB application AND the flash swf file, instead of just the VB appication alone.

My initial idea of distribution was that the user can "drag and drop" the folder containing both the flash swf file and the VB application from the CD ROM onto his local computer and start using the VB application straight away, without the need to go through all the set up procedures....

Is there any way this could be done? like coding the necessary files into the VB progam such that when the program runs, the missing files is automatically installed onto the user's local computer?

THank you for your attention!  
0
 
LVL 2

Expert Comment

by:mmcmillen
ID: 6991784
I'm sure you could. You would have to trap for the erros generated, tell the program to find the file on the cd or whereever it was and copy them to the proper place and in the case of dll's etc, register them.   But, as mentioned, no vb app is going to run without MSVBV60.DLL .   You may as create a install program and put it on the cd.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7698844
Hi kkclub23,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept SAK's comment(s) as an answer.

kkclub23, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7755603
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA open file from excel cell 4 44
bit defender blocks good applications 2 101
MS Date Picker 64 bit 32 bit issue 12 59
Child Form in front 4 49
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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

808 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