By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,934 Members | 1,476 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,934 IT Pros & Developers. It's quick & easy.

Path/File Access Error (75)

P: n/a
If you can't find a cause for this error message, and have
looked at all code near the statement raising the error,
then the following may help you identify the real solution.

Consider the following code:

----------------------

Dim FileName1 As String

Dim FileName2 As String

FileName1 = "myfile1.txt"

'leave FileName2 null, e.g., undefined
FileOpen(1,FileName1, OpenMode.Output)

FileOpen(2,FileName2, OpenMode.Output)

Print(1,"hello")

----------------------

Even though unit 2 was never written to, the error is
thrown when trying to write to unit 1. The problem caused
by leaving the filename null for unit 2 was actually
expressed when writing to unit 1. This is a strange
occurrence, and I would have expected a problem when I
*only* wrote to unit 2 -- however, this was not the case.
Somehow, the error floated into a global IO issue related
to a file that was opened with a null filename. The error
did not specifically fire for the unit with an invalid
filename, but rather wandered to another filename/unit.

LP
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.