Article ID: 137841
Article Last Modified on 10/7/2003
APPLIES TO
- Microsoft Project 4.1 Standard Edition, when used with:
- Microsoft Windows NT 3.51 Service Pack 5
This article was previously published under Q137841
SYMPTOMS
When you run a Microsoft Project add-in such as the
Update Resources
program found on the
Tracking toolbar, the following error message
appears if the active project is saved to a location other than the
program directory:
Can't run 16-bit Windows program. Cannot find file <filename> (or one of its components). Check to ensure the path and filename are correct and that all required libraries are available.
The same error message appears if a Visual Basic for applications macro
uses the AppExecute method and the full path to the executable file is not
specified.
RESOLUTION
When you use the
AppExecute method, be sure to supply the full path
to the executable file. For example, change the button command for
Update
Resources from this
AppExecute Command:="Timetrak.exe"
to this:
AppExecute Command:="" & Application.Path & "\Timetrak.exe"
To change the command for a toolbar button, press
CTRL and click the
toolbar button. Change the command in the
Customize Tool dialog box.
STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft
Project listed above.
Additional query words: AppExecute
Keywords: kbbug kbpending kbusage KB137841