Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Double-click .DBF in Explorer opens 2-copies in VFP-7

Status
Not open for further replies.

justamistere

Programmer
Jul 25, 2002
67
US
We have been using VFP-6, then installed VFP-7 also on WIN-2k-SP4 O/S. When right-clicking and selecting "open with", and choosing "Microsoft (r) Visual FoxPro (r) 7-SP1" it opend just one copy.

I had edited the registry "...vfp7.exe\shell" To the "FriendlyCache" value, shown above, I added the " 7-SP1". To the "FriendlyCache" value "...vfp6.exe", I added a " 6" to distinguish the two. This fixed the problem on 4 PC's. I have one that's stubborn.

We have gone through the process of "right-clicking" on a .dbf and "Choose Program", "always open with", and pointing to the vfp7 executable. Two copies of the .dbf aliased as "A" and "B" are opened for say 12345.dbf

the exact registry key mentioned above starts at:
"My Computer\HKEY_CLASSES_ROOT\Application\vfp6.exe"

I have also tried changing the "command" key value among ...-SHELLOPEN "%1" and ...-SHELL and ...-SHELLOPEN
none made any difference.

...the "FriendlyCache" is not so friendly.
 
I believe double click .DBFs is broken in 8.0 also, but works fine in VFP 9.0!

Rick
 
I have seen this before. It relates to the associations. Open Windows Explorer, Tools->Folder Options and choose the file types tab. Find the .dbf extension and click the Advanced button. Click on open click the Edit button and check these properties.

Application used to perfom action: "C:\Program Files\Microsoft Visual FoxPro 8\vfp8.exe" -SHELL
Use DDE: checked
DDE message: Open("%1")
Application: FoxPro
DDE Application Not Running: Blank
Topic: System

HTH

Regards,

Mike
 
You will need to make the obvious changes for VFP7.

Regards,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top