VB Error: file missing

Posted on 2002-05-03
Medium Priority
Last Modified: 2007-12-19


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!
Question by:kkclub23
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

Accepted Solution

SAK earned 200 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.

Expert Comment

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.


Expert Comment

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.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

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!  

Expert Comment

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.
LVL 49

Expert Comment

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

Expert Comment

ID: 7755603
per recommendation

Community Support Moderator @Experts Exchange

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. 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

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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

719 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