Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit PRG From Explorer Context Menu
Message
De
03/07/2000 16:58:25
 
 
À
03/07/2000 11:18:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00387742
Message ID:
00387865
Vues:
11
Keith,

I wanted to do this several months ago and it eluded me. When I saw your message, it made me try again and here is how you can do it.

1. Make sure that you do a print screen of the edit section in explorer so you can go back to it if you need to.

2. In the default vfp directory, create a program called edprg.prg. This program just needs the lines:
PARAMETERS lcFiletoEdit
MODIFY COMMAND (lcFiletoEdit) NOWAIT
RETURN

3. In the Edit action screen, uncheck the DDE box.

4. In the action field, put the following: (put your own pathing in)
d:\vfp\vfp6.exe d:\vfp\edprg.prg %1

It seems to work pretty well for me. Let me know if you get it to work.

Bill

>I'm trying to figure out how to add an Edit selection to my Explorer context menu. Most of the time if I double click a .PRG from Win Explorer I want to edit a program as opposed to running it. In fact I can't *remember* the last time I wanted to run a PRG that way.
>
>I'm looking at View > Options > File Type and under Microsoft Visual FoxPro Program the Open action has some DDE dialog. There's an Open message, but I've tried using an Edit message without much success.
>
>It seems that what I'm trying to accomplish is very much like a drag-and-drop operation (uhhh...without dragging or dropping :-)
>
>Two questions:
>1) is there a reference that talks about the various topics and messages that VFP understands?
>2) is there a way of doing what I'm trying to do?
>
>Thanks for any assistance you can lend.
>
>
> ...kt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform