Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2002
    Location
    Idaho
    Posts
    2

    Grin Error // Help Please !

    My first........... Can someone offer a suggestion! Please.....

    Error Cannot open file C:\Programs\story.txt for reading

  2. #2
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244

    Re: Error // Help Please !

    Hi Ray

    Sure!

    Suggestion 1 : offer more info as to what 'bit' is producing the error
    Suggestion 2 : make sure the txt file exists in the path it's meant to reside
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  3. #3
    Join Date
    Oct 2002
    Location
    Idaho
    Posts
    2

    Re: Error // Help Please !

    1. I don't know what "Bit" it is.
    2. It is in the Autoplay\Program folder and loaded from there.
    3. I also tried loading the sample from the lesson disk and received the same error message ??

    The txt file is in the Autoplay\program folder.

    I get the error after it builds for burning to the CD.

  4. #4
    Join Date
    Jul 2000
    Location
    NY
    Posts
    332

    Re: Error // Help Please !

    Sounds like it is trying to load the .txt file from

    %SrcDrv%\Programs\story.txt.

    Where it doesn't exist since you say you built and ran the program from the Autoplay folder.

    Since you built and ran the program on your C: Drive, C: = your %SrcDrv% (SrcDRV = Drive letter were the .exe is running from or Source Drive)

    Now if you burn the program and files to a CD and the CD has a folder called Programs and within that folder is the file story.txt is should work. since it will be looking for the file in that location relative to you CD drive.

    For example if your CD dirve is D:, D: would be your source Drive and it would look for the file at:

    D:\Programs\story.txt.

    hope this makes sense..

Posting Permissions

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