How to Make a ShortCut to Modify a Project or Screen

ID: Q140224

3.00 WINDOWS kbinterop kbhowto

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0

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 reference words: 3.00 VFoxWin KBCategory: kbinterop kbhowto KBSubcategory: FxinteropGeneral

Keywords          : FxinteropGeneral 
Version           : 3.00
Platform          : WINDOWS


Last Reviewed: March 19, 1997
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.