Microsoft KB Archive/130466

= PRB: Double-click in File Manager Starts Wrong FoxPro Version =

Article ID: 130466

Article Last Modified on 2/11/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q130466



SYMPTOMS
When an .APP file is started from a program icon or by double-clicking in File Manager, Visual FoxPro is invoked instead of FoxPro for Windows and Visual FoxPro fails.

When a FoxPro version 2.x .APP file is invoked from Visual FoxPro, Visual FoxPro fails and displays this error message:

Object file "

CAUSE
When Visual FoxPro is installed, the .APP file extension is automatically associated with Visual FoxPro, not FoxPro for Windows.



WORKAROUND
Use any one of the following three possible solutions. The first applies to Windows NT, and the second and third apply to any Windows platform.

 Using REGEDT32 in Windows NT, revise the software hive entry of HKEY_Local_Machine under Software, Classes, APP from the value of Visual.FoxPro.Application.3 to MSFoxPro. Be careful when using the Registry Editor. -or-

 In the File Manager, select any FoxPro version 2.x .APP file. Then choose Associate from the File menu. In the Associate dialog box, associate the files with the .APP extension to Microsoft FoxPro for Windows. Click the OK button, and the registry will be automatically updated. Attempting to change the association in any other fashion causes a general protection (GP) fault in the File Manager. -or-

  Revise your application icons to have a fully-qualified path that invokes your application. A sample command line for an application might be something like this:   C:\FPW26\FOXPROW.EXE INVOICES.APP 



STATUS
This behavior is by design.

Additional query words: kbfest VFoxWin

Keywords: kbenv KB130466

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.