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 On Mon, Feb 10, 2025 at 1:26 PM Richard Kaye <[email protected]> wrote: > If you’ve manually overridden it’s possible all bets are off and you’ll > have to use the Open with… dialog to change system-wide. > > -- > > rk > > From: ProfoxTech <[email protected]> On Behalf Of Joe Yoder > Sent: Monday, February 10, 2025 1:00 PM > To: [email protected] > 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 <mailto:[email protected]> > 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 <mailto:[email protected]> On Behalf Of > Frank Cazabon > > Sent: Monday, February 10, 2025 10:37 AM > > To: mailto:[email protected] > > 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] _______________________________________________ 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/CABQeDnWrw=dze4bx6-coq0o52jcq4hqn5skcdjrz2ajtrry...@mail.gmail.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.

