(VISTA) Path/File access error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kZero
    New Member
    • Nov 2006
    • 23

    (VISTA) Path/File access error

    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 ?
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    #2
    Originally posted by kZero
    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.

    Comment

    • kZero
      New Member
      • Nov 2006
      • 23

      #3
      Originally posted by kadghar
      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 ?

      Comment

      • kadghar
        Recognized Expert Top Contributor
        • Apr 2007
        • 1302

        #4
        Originally posted by kZero
        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.

        Comment

        Working...