Solved

missing file

Posted on 1998-11-04
6
140 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sending a email via excel using vba 6 71
VBA filters 2 49
VB6 - Convert HH:MM into Decimal 8 50
clicking a shape in a frame array vb6 3 39
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

937 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

1 Experts available now in Live!

Get 1:1 Help Now