Looking in the Registry under HKEY_CLASSES_ROOT Look for the .prg. I usually just type it out to jump to it once the tree is selected and HKEY_CLASSES_ROOT is opened.
There the (Default) entry should be Visual.FoxPro.Program
If it isn't, I sure would like to know what is there.
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Joe Yoder Sent: Monday, February 10, 2025 1:00 PM To: profoxtech@leafe.com Subject: Re: VFP file association issues
I was sure the VFP9/Regserver would do the trick! it appeared to execute properly but the problem persists.
The association seems to be correct but somehow VFP itself needs to know the difference between a call to open a file for editing or a call to run the code. Also the Default needs to be set to the folder from which the request was issued.
More ideas?
Thanks in advance, Joe
On Mon, Feb 10, 2025 at 10:40 AM Richard Kaye rkaye@invaluable.com wrote:
You should be able to run vfp9 /regserver at an admin command prompt to update the default registry settings for VFP including its file associations.
--
rk
From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Frank Cazabon Sent: Monday, February 10, 2025 10:37 AM To: profoxtech@leafe.com Subject: Re: VFP file association issues
Hi Joe,
if you just right click on any prg file in File Explorer and choose "Open With" and select Visual FoxPro, that should work
Frank.
Frank Cazabon
[excessive quoting removed by server]