ID: Q117835
2.50 2.50a 2.50b 2.60 | 2.50b 2.50c.2.60a
WINDOWS | MACINTOSH
The information in this article applies to:
When you open a project in FoxPro for Windows after the project has been created or modified by FoxPro for Macintosh, the error message "Invalid path or filename" is displayed. This error occurs when the project is located on a network drive and is accessed by both FoxPro for Macintosh and FoxPro for Windows.
This problem occurs when a screen is included in the project and the screen is generated while the default folder is a folder on the Macintosh hard disk. Opening the project (.PJX) file as a database and examining the contents of the Name field for a record of Type capital "S" shows that the Macintosh hard disk and folder name precede the .SPR filename. This entry in the .PJX file is created when the project regenerates the screen file during rebuilding. The rebuilding process shows the screen being regenerated on the network drive. However, the name written to the .PJX file is preceded by the default folder name.
Changing the default folder to the network drive and folder will allow the project to be opened successfully from both platforms. The Name field in the .PJX file for the record(s) of Type capital "S" will now show only the name of the .SPR file (the path isn't included).
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro for Macintosh version 2.6a.
NOTE: This problem does not occur in FoxPro for MS-DOS.
1. In FoxPro for Macintosh, choose View from the Window menu, and then
click the Folder button.
2. Select the Working folder and set it to the FoxPro folder on the
Macintosh hard disk. (This is probably the default setting.)
3. Create a project by choosing New from the File menu and selecting
Project.
4. Place a screen on the network drive. Add the screen to the project by
clicking Add and selecting the screen.
5. Build the project. Note that the .SPR is being built on the network
drive.
6. Close the project.
7. In FoxPro for Windows, choose Open from the File menu and select the
project on the network drive. The message "Invalid path or filename"
appears. Click on the Window menu, and the project name appears at the
bottom of the Window menu. If you click the name of the project, an
empty project screen appears.
Additional reference words: FoxMac FoxWin buglist2.50 buglist2.50a
buglist2.50b buglist2.50c buglist2.60 2.50 2.50a 2.50b 2.50c 2.60
errmsg err msg
KBCategory:
KBSubcategory: FxnetworkGeneral
Keywords : kberrmsg FxnetworkGeneral
Version : 2.50 2.50a 2.50b 2.60 | 2.50b 2.
Platform : MACINTOSH WINDOWS
Solution Type : kbfix
Last Reviewed: May 22, 1998