In This Topic
    VB6 Could not execute LINK.EXE
    In This Topic

    Description
    When building large Visual Basic 6 projects you get the error: Could not execute 'C:\Program Files\Microsoft Visual Studio\VB98\LINK.EXE'?

    The Problem
    When VB6 launches the linker it passes all the files that need linking as command line arguments. However there is a maximum command line size which fails if exceeded (i.e. for large projects) and produces the above error message.

    The Solution
    Microsoft suggests a work around is to build your project executable files into a folder with a short path such as C:\.

    NOTE: Please read Microsoft Knowledge Base Article - 316010 before using this fix.