Solved

missing file

Posted on 1998-11-04
6
141 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

773 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