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:53:14
 
 
À
20/12/1999 18:15:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00306483
Message ID:
00306498
Vues:
31
>>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.

Excellent !!! I've been wanting this for longer than I care to admit !!

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform