Solved

File/Path Access Error ....

Posted on 1998-04-05
6
513 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
ID: 1460406
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
ID: 1460407
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
ID: 1460408
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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 6

Expert Comment

by:clifABB
ID: 1460409
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
ID: 1460410
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
ID: 1460411
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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA filters 2 62
Add a task in Outlook from access 11 40
Exit a vb6 apps when a calling it apps closes 15 49
Problem to With line 4 57
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 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…

831 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