Unable to Open Include File


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1

    Default Unable to Open Include File

    I know this question has been posted numerous times, and I have done several searches relating to it, but I cannot solve this problem.
    I'm using PBP 2.6. I have several programs that use DT's interrupts with no problem. I am in the process of setting up another old computer (Windows XP). Programs using DT_INTS-14.BAS, REENTER PBP.BAS, and ALLDIGITAL.PBP Includes run just fine. When I try to use DT-INTS-18.BAS and REENTER PBP-18.BAS, I get the error, only on that computer. My other computer is also Windows XP.

    All of the Includes are in PBP root directory ( also put them in PBP Include directory as well - probably not needed.)

    I am totally at a loss as to what could be causing this - - any suggestions?

    Ken

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,520


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    Have you verified that the file extension is .bas and not .pbp?
    As long as the file is in the PBP folder or in the same folder as the source file from which you include the other file(s) it should work.

    /Henrik.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    Thanks Henrik :

    Yes, the extension is ,bas. I wonder if it has something to do with the computer - -
    I am running two other XP's using the same programs, etc. Both work just fine. Perhaps I will try deleting all the related include files and re-load them. This is not the end of the world for me, just a real PITA, not to mention my desire to find out why.

  4. #4
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    Any reason why you are running such an old OS on the PC's

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    No reason at all. I'm satisfied with them.

  6. #6
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    You do know how vulnerable XP is these days - Updates stopped years ago !

  7. #7
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    Here is my point:

    Check file attributes;

    Right click the files that work; see how their attributes are applied; and apply the same attributes to other two that do not work.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  8. #8


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    First of all, thanks to everyone that responded.

    I FOUND THE PROBLEM ! !

    These tired old eyes are not what they used to be. Turns out, the Include file REENTERPBP-18.BAS had TWO DOTS between 18 and BAS

    (ReenterPBP-18..BAS)

    I had copied and pasted the files numerous times, but just perpetuated the problem. Not sure what caused the other warning, perhaps this caused that as well - - Anyway, all is good.

    Thanks again for everyone's suggestions

Similar Threads

  1. Open aninclude file
    By MINHLE in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 26th March 2011, 17:42
  2. How to open INCLUDE file
    By SKOLS1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th January 2011, 17:50
  3. MCSP Open File From Explorer
    By CocaColaKid in forum General
    Replies: 0
    Last Post: - 2nd March 2009, 20:49
  4. Cannot Open File Compile Error
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th January 2009, 18:18
  5. Fatal error (unable to open)
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th April 2005, 10:43

Members who have read this thread : 3

You do not have permission to view the list of names.

Posting Permissions

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