Solved

missing file

Posted on 1998-11-04
6
139 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

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

18 Experts available now in Live!

Get 1:1 Help Now