Results 1 to 5 of 5

Thread: Error???

  1. #1

    Thread Starter
    Addicted Member Skeen's Avatar
    Join Date
    Jul 2000
    Location
    Abingdon, Oxon
    Posts
    138

    Thumbs down

    I've just had to format my PC and after re-installing VB6, I tried to run some code which worked fine previously.
    I'm getting the following error message:

    Compile error:

    Can't find project or library.

    And it falls over at the command line function. I've assigned a directory location to the command line in the project properties. It worked fine before, can anyone tell me how to resolve this?

    Cheers

    Skeen
    "It wasn't the booze that made me snooze, It was the Gin that did me in!"

  2. #2
    Addicted Member darrenl's Avatar
    Join Date
    Jul 2000
    Location
    Portsmouth, UK
    Posts
    148
    Sounds like a component or reference you were using is no longer on your re-installed system. Could be some 3rd party tool you downloaded? Look at the project file (.vbp) and see what references it uses.
    Dazzer

  3. #3

    Thread Starter
    Addicted Member Skeen's Avatar
    Join Date
    Jul 2000
    Location
    Abingdon, Oxon
    Posts
    138
    All of the refferences which I origionally chose are still highlighted. Does that mean the library that has been referenced is no longer on my PC? If so, would it be on the Visual Studio disk?

    Thanx for the help
    "It wasn't the booze that made me snooze, It was the Gin that did me in!"

  4. #4
    Addicted Member darrenl's Avatar
    Join Date
    Jul 2000
    Location
    Portsmouth, UK
    Posts
    148
    Could be, if you look at you references VB will tell you if any of them are missing by addin "MISSNG:" to reference. If none are missing then it could be a control, but again when VB loads the project it will give you an error that a control is missing and report to a log file. I've seen some machines setups where VB5 has been upgraded to VB6 and the VB6 projects reference VB5 controls and libraries, this could be what is wrong? Look at the .VBP and check all the references in it.
    Dazzer

  5. #5
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Make sure you reinstalled your Service Packs if you had any installed prior to your formatting.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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