CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2010
    Location
    Houston, TX.
    Posts
    16

    Warnings Invalid Search path. New 2 C#.

    I'm trying to learn c#, been programming many years. I'm trying to build an application I developed 20 years ago. Have VC# express.

    What is below message telling me?

    Warning 1 Invalid search path '%lib%' specified in 'LIB environment variable' -- 'The system cannot find the path specified. ' ConsoleApplication1

    Warning 2 Invalid search path 'c:\program files (x86)\devstudio\vc\mfc\lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified. ' ConsoleApplication1

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Warnings Invalid Search path. New 2 C#.

    Can you post the code?

  3. #3
    Join Date
    Jun 2008
    Posts
    2,477

    Re: Warnings Invalid Search path. New 2 C#.

    [ code][ /code]

  4. #4
    Join Date
    Oct 2010
    Location
    Houston, TX.
    Posts
    16

    Re: Warnings Invalid Search path. New 2 C#.

    It does this with one line of code or even no code, I must have some configuration wrong.

  5. #5
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Warnings Invalid Search path. New 2 C#.

    Sounds like a PERMISSION problem. Check the USER NAME when the app is running (in Task Manager). Most likely not YOU, so you can't see that folder on Vista+
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  6. #6
    Join Date
    Oct 2010
    Location
    Houston, TX.
    Posts
    16

    Re: Warnings Invalid Search path. New 2 C#.

    I am the only user on a windows 7 system. I uninstalled and reinstalled VC# express and am still having the same problem.

Tags for this Thread

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

Featured