DOCUMENT:Q140224 10-FEB-2000 [foxpro] TITLE :How to Make a ShortCut to Modify a Project or Screen PRODUCT :Microsoft FoxPro PROD/VER:WINDOWS:3.0 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- 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 query words: VFoxWin ====================================================================== Keywords : Technology : kbVFPsearch kbAudDeveloper kbVFP300 Version : WINDOWS:3.0 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2000.