Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double-click prg in Explorer to edit ??? How ???
Message
De
20/12/1999 18:15:51
 
 
À
20/12/1999 17:59:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00306483
Message ID:
00306491
Vues:
26
>Is there a way to tell Windows (NT4 SP4) to open a prg file for editting in VFP when I double-click it?
>

Go into Windows Explorer, open up the Tools/Folder Options dialog, the File Types Tab, and find the entry for .PRG files (on mine it's named Microsoft Visual FoxPro Program), and modify the settings. You'll want to create an edit action (I use a tiny .PRG to do a modify program taking the clicked file as an argument since I don't know what the DDE dialog is to fire up the Modify Command dialog is otherwise) and then make that edit action the default for the .PRG extension. My tiny edit launcher looks like:

*TinyEdit.PRG - lives in the VFP Home directory
LPARAMETER cProgToModi
MODIFY COMMAND (cProgToModi) NOWAIT

and the edit action Application Used looks like:

"d:\program files\microsoft visual studio\vfp98\vfp6.exe" "d:\program files\microsoft visual studio\vfp98\tinyedit" "%1"

Use DDE is not checked.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform