Solved

VB Error: file missing

Posted on 2002-05-03
7
306 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

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

17 Experts available now in Live!

Get 1:1 Help Now