Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double-click prg in Explorer to edit ??? How ???
Message
From
20/12/1999 18:53:14
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00306483
Message ID:
00306498
Views:
32
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform