Results 1 to 13 of 13

Thread: Error

  1. #1
    Watzup_83
    Guest

    Error

    How come when i move my vb files from 1 folder to another folder
    then open it there will be errors ???
    The errors are :
    Property ItemData in List1 had an invalid file reference.
    Property List in List1 had an invalid file reference.

    Does anyone know ?

  2. #2
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    Can you give more information on the files you are moving? Are you moving ALL the files or just some of them?
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  3. #3
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    Guess:

    Do u have a line of code specific to a File Path?
    ie Open "C:\MyOldFolder\Data\myfile.txt"...

    If so, use:
    VB Code:
    1. Open App.Path & "\myfile.txt"........ 'Dosn't matter where u move ur app to then!

  4. #4
    Watzup_83
    Guest
    i moved the files Myfile.vbp , A.frm and B.frm >> Blinky Bill
    Yap i have something like dat its :
    Open App.Path & "\Folder\" & selected2 For Input As #1

    selected2 is a file selected from a listBox >> Bruce Fox

  5. #5
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    did you move the a.frx and b.frx files as well?
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  6. #6
    Watzup_83
    Guest
    Nope i didnt move the a.frx files
    'll try moving them 2gether and see if the errors still occur >> Blinky Bill

  7. #7
    Watzup_83
    Guest
    YEAH THE ERROR DIDNT COME OUT AFTER I MOVED ALL THE FILES !!!!
    Thanxx Blinky Bill

  8. #8
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    no probs watzup.
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  9. #9
    Watzup_83
    Guest
    I made the Myfile.vbp into MyFile.exe and burn the MyFile.exe into a cd together with the file AutoRun.inf ...
    The autorun.inf contains :
    [autorun]
    open=MyFile.exe
    After burning i tested the cd on another Computer and the cd can autorun and it will automatically execute the MyFile.exe ... BUT when i click on the buttons in another error occured ...
    Run-Time error '75'
    Path/File access error

    Can anyone help mi with this error ???

  10. #10
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    did you include the 'folder' directory on the cd?
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  11. #11
    Watzup_83
    Guest
    Wat do u mean by 'folder' directory on the cd ???
    i burn all the files i needed into the cd but the error kept occuring

  12. #12
    Watzup_83
    Guest
    Actually i also receive this error :
    Run-Time error '52'
    Bad file name or number

  13. #13
    Watzup_83
    Guest
    Hello ???
    Can anyone help mi with this error ???

    I made the Myfile.vbp into MyFile.exe and burn the MyFile.exe into a cd together with the file AutoRun.inf ...
    The autorun.inf contains :
    [autorun]
    open=MyFile.exe
    After burning i tested the cd on another Computer and the cd can autorun and it will automatically execute the MyFile.exe ... BUT when i click on the buttons in another error occured ...
    Run-Time error '75'
    Path/File access error

    Actually i also receive this error :
    Run-Time error '52'
    Bad file name or number

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width