Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prg file association / single instance?
Message
 
 
À
23/04/2005 15:28:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01007821
Message ID:
01007822
Vues:
35
This message has been marked as the solution to the initial question of the thread.
>Hi all,
>
>I'm trying to figure out how to set up the .prg file association so that the first .prg file I doubleclick brings up VFP, and subsequent .prg files I double click on to open up in the same instance of VFP. I tried duplicating what the association for VC6 does to cpp files, but VFP opens and windows puts up a dialog telling me that it can't find the file...and shows me the correct path to the file.
>
>The reason this has become important is that I am trying to integrate my VFP project with models in Borland Together. The class models have a hyperlink property, which I would like to tie to my .prg files, so that when I hit a link to a file in Together, it pulls up the file in my current instance of VFP.
>
>Anybody know how to make the association work, or have a suggestion on how I could get the behavior I have described?
>
>Thanks
>

Hi Russ,

Try the below assosiation
Application used ... : "E:\Program Files\microsoft visual foxpro 9\vfp9.exe" -SHELLOPEN "%1"
Use DDE: Checked
DDE Message: open("%1")
Application: FoxPro
DDE Application: 
Topic: System
It opens all PRGs in the same instance of VFP.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform