Solved

File/Path Access Error ....

Posted on 1998-04-05
6
508 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
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 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

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…

863 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

25 Experts available now in Live!

Get 1:1 Help Now