Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right-click in Explorer to Edit a PRG
Message
De
22/07/2000 21:50:05
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
22/07/2000 21:44:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00395936
Message ID:
00395941
Vues:
15
Thanks Ed!

I'll be passing this along to my buddy and probably try it myself.

One more question - What is DDE?



>
*TinyEdit.PRG
>LPARAMETER cFileToEdit
>IF TYPE('cFileToEdit') = 'C' AND FILE(cFileToEdit)
>   MODI COMM (cFileToEdit) NOWAIT
>ENDIF
>
>In the registry, I add the following to have VFP open the file:
>
>"D:\Program Files\Microsoft Visual Studio\VFP98\VFP6" "D:\Program Files\Microsoft Visual Studio\VFP98\TinyEdit" "%1"
>
>Substitute the actual path for VFP for Program Files\Microsoft Visual Studio\VFP98\ on your target system.
>
>This will start a copy of VFP, firing up TinyEdit.PRG against the file you right-clicked. Each time it starts a new instance of VFP, where DDE access would rely on an existing copy of VFP that was running to start the edit session if it were accessible through DDE. You could also create an alternative DDE server, but it's more effort than it's worth from my POV.
>
>My actual TinyEdit is a bit more complex than this, since I check to see if there's anything that needs to be run in my developer configuration; for me, this means assigning some my standard work environment and initializing SDT, which I check for in the registry. This makes my TinyEdit not so tiny, the one above works fine.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform