Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prg file association / single instance?
Message
From
25/05/2005 13:53:39
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01007821
Message ID:
01017597
Views:
36
Took me a while to get back to this, but it works great. Thanks Sergey!

>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform