I have to say I never use Windows/File Explorer to start up VFP so I'm probably 
not the best person to advise. 😊 

I will add that in my dev system when I double click on a PRG it does start up 
VFP and open the PRG in a modi comm window as opposed to running it.

I'm sure a careful comparison of the registry settings between the 2 machines 
will lead you to the a solution that works for you, Joe.

--

rk

From: ProfoxTech <[email protected]> On Behalf Of Joe Yoder
Sent: Monday, February 10, 2025 4:49 PM
To: [email protected]
Subject: Re: VFP file association issues

I checked the registry and found "(Default) REG_SZ Visual.Foxpro.Program"
and 'Contact Type REG_SZ application/prg". I also checked the same
location on my laptop which works normally and it has completely different
data. Maybe this is because the hot fixes have not been installed.

The version number on this system is 7423. I believe this means it has
been fully updated. I initially understood that VFP9SPRT was to update
Service Packs and Hot Fixes all at once. When I discovered this does not
work I switched to separate files. Is it possible that that misadventure
may be the cause of my issues?

I should mention that My VFP Task Bar shortcut includes a "-c SetDefault"
Parameter. Setdefault.prg is a program that sets the default to the value
returned from a GETDIR(). This allows me to invoke VFP from anywhere but I
get control only after the Folder I want to work in is selected. This
works properly.

When I navigate to a folder with a .PRJ file and select the .PRJ, The
project manager comes up and the default is set to the folder containing
the .PRJ - all is well.

When I find a random .PRG file and select it, Foxpro attempts to run the
code but usually fails because of something like a reference to an index
file. This happens because the Default is still pointing at C:. .DBF files
fail the same way.

More ideas?

Thanks in advance,
Joe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/byapr10mb339811c5cd36f0481a205dabd2...@byapr10mb3398.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to