Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

missing file

Posted on 1998-11-04
6
Medium Priority
?
147 Views
Last Modified: 2010-04-30
When i run my prog in vb3 with out it being compiled it runs great but when i compile it and run it it gives me an error saying that it can't find a file.
0
Comment
Question by:marka64
6 Comments
 
LVL 7

Expert Comment

by:daniel_c
ID: 1443214
what file?
perhaps you should re-install the VB again... (it's the worst case ^_^)
0
 

Author Comment

by:marka64
ID: 1443215
it dosent say witch fille
0
 
LVL 2

Expert Comment

by:chrisbolt
ID: 1443216
First of all check if vbrun300.dll exists anywhere on your system (it should be in your WINDOWS or WINDOWS\SYSTEM directory). Also, if your program opens a file with the open statement, make sure that the file exists in the directory where the program was compiled to.
0
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!

 
LVL 4

Expert Comment

by:CraigLazar
ID: 1443217
Hi
Try the filemon utility it should tell you which file your system is trying o access
cheers
Craig
0
 
LVL 18

Expert Comment

by:deighton
ID: 1443218
If you open files in your program then trap the error in you functions which do this.  Report the error and where it occurred.
0
 

Accepted Solution

by:
tweo earned 40 total points
ID: 1443219
Most of the time this problem occurs while running the executable while missing a dll. In most cases this is the MSAFINX.DLL which should be in your path somewhere. If you use specific functions, it uses this dll and if it's not there, it will give this specific error. So check the windows- and systemdirectory of the machine you are running it on and copy the dll to that location.

Regards, Tweo
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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

783 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