Solved

missing file

Posted on 1998-11-04
6
142 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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 10 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

861 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