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

(VISTA) Path/File access error

kZero
P: 23
Hi,

i have problem with this code in windows vista

intfile = FreeFile
Open strDestination For Binary Access Write As #intfile


Run-time error '75':
Path/File access error


however it working in windows xp

can any one help ?
Apr 3 '08 #1
Share this Question
Share on Google+
3 Replies

kadghar
Expert 100+
P: 1,295
Hi,

i have problem with this code in windows vista

intfile = FreeFile
Open strDestination For Binary Access Write As #intfile


Run-time error '75':
Path/File access error


however it working in windows xp

can any one help ?
I'd say strDestination is a string. This string should have the path to the file you want to open. Remember Vista uses diferent paths than XP, and sometimes you have to be administrator in order to open a file located in the root directory of C.
Apr 3 '08 #2

kZero
P: 23
I'd say strDestination is a string. This string should have the path to the file you want to open. Remember Vista uses diferent paths than XP, and sometimes you have to be administrator in order to open a file located in the root directory of C.
thx for reply

really the problem is the file in Drive C:

there is no any way to pass it ?
Apr 4 '08 #3

kadghar
Expert 100+
P: 1,295
thx for reply

really the problem is the file in Drive C:

there is no any way to pass it ?
Move the file to "My documents", or to "shared documents", then you shouldnt have any permission issue.
Apr 4 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.