Microsoft KB Archive/140224

= How to Make a ShortCut to Modify a Project or Screen =

Article ID: 140224

Article Last Modified on 2/10/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q140224



SUMMARY
This article shows how to create a shortcut in Windows 95 to modify a form or project in Visual FoxPro instead of running it.



MORE INFORMATION
Currently, under Windows 95, Visual FoxPro only supports the actions of the OPEN command, which attempts to run the selected program or project. However, you can create a shortcut to a program that executes the functionality you want.

For Example, to have a shortcut to a Project that you want Visual FoxPro to modify when you double-click it, create a program that contains this line of code: MODIFY PROJECT HOME+'\samples\mainsamp\tastrade.pjx' NOWAIT Save the program as Shortcut2tastrade. Create a shortcut to this program, and then drop the shortcut on your Desktop. Then you can double-click the shortcut to open or modify the project instead of running the main program.

NOTE: It is important that you use the NOWAIT clause. Otherwise, you'd have to press the ESC key to cancel the program.

This same method can be used with forms. It will also work with other FoxPro versions; Visual FoxPro is not required.

Additional query words: VFoxWin

Keywords: KB140224

-

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

© Microsoft Corporation. All rights reserved.