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.
If that does not work, the problem can be resolved by replacing the file VBA.DLL in the Visual Basic folder with the following file VBA.DLL (this has NOT been fully regression tested by Microsoft).

 

 

 

 

 


© 2001-2010 Liquid Technologies Limited. All rights reserved. Privacy Statement