Solved

File/Path Access Error ....

Posted on 1998-04-05
6
503 Views
Last Modified: 2008-02-01
I receive this error quite often when I use V.Basic 5.0
     "File/Path Access Error \temp\vbxx.tmp"
where vbxx.tmp is a temp file created (I guess) from vb -different number "xx" every time-.
When this happens I cannot save or run the program I am designing at the moment.
Why is this happening???
0
Comment
Question by:gatzonis
  • 4
  • 2
6 Comments
 
LVL 6

Expert Comment

by:clifABB
Comment Utility
There are a couple of reasons why this might happen:
  1. You are almost out of disk space. (most likely)
  2. You have an application running in the background which is constantly deleting temp files it thinks you no longer need.  (least likely)
  3. You deleted the file yourself.  (possible, but I doubt it)

VB needs the temp files it creates _while_it_is_running_.  You can delete vbxx.tmp (all of them) after you close VB.

I submit this as a comment, if it solves your problem let me know and I'll resubmit it as an answer.
0
 

Author Comment

by:gatzonis
Comment Utility
Well, well...
Your first answer might be right. BUT...
I do have little free space in the hard disk that the application
is saved but not in the hard disk that the temp files are saved.
There are 500MB free space in the latter HD.
Do you think that this can cause the problem?

 Michael

0
 
LVL 6

Expert Comment

by:clifABB
Comment Utility
I would strongly suggest clearing out some space in the almost full drive and seeing if that will solve your problem.

In the error you note above, you (or VB) didn't specify which drive the \temp\vbxx.tmp file was on.  If VB didn't report this, this could mean that VB is trying to write/read the file on the same drive the application is saved.

Also, just a thought, make sure the temp directory actually exists.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 6

Expert Comment

by:clifABB
Comment Utility
I would strongly suggest clearing out some space in the almost full drive and seeing if that will solve your problem.

In the error you note above, you (or VB) didn't specify which drive the \temp\vbxx.tmp file was on.  If VB didn't report this, this could mean that VB is trying to write/read the file on the same drive the application is saved.

Also, just a thought, make sure the temp directory actually exists.
0
 

Author Comment

by:gatzonis
Comment Utility
You wrote...
"VB is trying to write/read the file on the same drive the application is saved. "
I think that this is the problem. I do not have a temp directory
on th HD that the applicaton is saved. I will create one
there and see what happens.
In any case, post your comment as an answer. You've been very helpful.
Thank you..
0
 
LVL 6

Accepted Solution

by:
clifABB earned 20 total points
Comment Utility
As requested, I repost as an answer.  
Thanks

I would strongly suggest clearing out some space in the almost full drive and seeing if that will solve your problem.

In the error you note above, you (or VB) didn't specify which drive the \temp\vbxx.tmp file was on.  If VB didn't report this, this could mean that VB is trying to write/read the file on the same drive the application is saved.

Also, just a thought, make sure the temp directory actually exists.

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…

763 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

7 Experts available now in Live!

Get 1:1 Help Now