×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

VFP9-SP2 Help not appearing

VFP9-SP2 Help not appearing

VFP9-SP2 Help not appearing

(OP)
Based on the TT Search results, this is an OLD problem, but it has "raised its ugly head" once again.

I just set up a new Win10 64-bit workstation with VFP5, VFP7, and VFP9-SP2 on it.

All of the VFP's seem to work fine with the exception of VFP9's Help file not appearing when requested from the VFP9 Command window.

I first confirmed that the VFP7 Help file opens just fine from the VFP7 Command window when requested and it is clearly labeled as the VFP 7 Help.

Next I have confirmed that VFP9-SP2's dv_foxhelp.chm file exists in the directory where the VFP9-Tools-Options-File Locations-Help File 'tells' VFP9-SP2 to look for it.

I then confirmed that if I manually go to that directory and double click on the dv_foxhelp.chm file directly it opens just fine.

Finally I tried to follow the multiple suggestions listed in the various TT Search results for the problem (although most of them were for a down-level version of VFP) and none of them resolved the problem.

When I go to the VFP9-SP2 Command window and type HELP - nothing happens.

After so many years of working with VFP I shouldn't actually need the Help system, but sometimes I still need a reminder.

Any other suggestions on how to get the VFP9 Help working from the Command window?

Thanks,
JRB-Bldr

RE: VFP9-SP2 Help not appearing

I hesitate to suggest this because it might seem too obvious, but is it possibly that you have executed SET HELP OFF at some point?

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: VFP9-SP2 Help not appearing

(OP)
Thanks Mike. That was one of the SEARCH suggestions I found to check.

No I had not SET HELP OFF, but, Just In Case, I did a SET HELP ON and tried again - No success

Thanks

RE: VFP9-SP2 Help not appearing

This might because the program/app you need to read the chm file has been deprecated from Windows 7 (ish)...

The version installed on my machine, HH.exe, is just 15kb and dated 2009.

I forget which version you need though, probably the last one was 6.1 or something.

Looking on my hard drive, I have found a copy of HH.exe in an old version of VFP

C:\Program Files\Microsoft Visual Studio\Vfp98\Distrib.src\System

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

Another thought:

When you go to Tools / Options / File Locations / Help File, is "Enable Help" un-ticked in the Change Help Location dialogue?

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: VFP9-SP2 Help not appearing

To make it work, all I had to do was locate a .chm file, do a right mouse click, select open with and then browse to the file in the folder above.

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

(OP)
Mike - Yes the "Enable Help" check was and is ON in the Change Help Location dialogue.

Griff - thanks for the suggestion.
I just now did a whole system search for the file: HH.EXE and found 5 copies of HH.EXE on the workstation.
* C:\Windows
18KB Modified 7/16/2016
* C:\Windows\System32
16KB Modified 7/16/2016
* C:\Windows\SysWOW64
16KB Modified 7/16/2016
* c:\Windows\WinSxS\amd64_microsoft-windows-htmlhelp_31bf3856ad364e35_10.0.14393.0_none_f5ca622d9b6f1f7b
18KB Modified 7/16/2016
* c:\Windows\WinSxS\wow64_microsoft-windows-htmlhelp_31bf3856ad364e35_10.0.14393.0_none_001f0c7fcfcfe176
16KB Modified 7/16/2016

Since they all have the same Modified Date and the Created Date matches the Modified, I can't tell which might be for VFP9 and which might be for VFP7.

When I go into the Properties-Details of both size files I find that, despite the file size being different, the Product Version is listed as the same: 10.0.14393.0

Any suggestions?

Thanks

RE: VFP9-SP2 Help not appearing

That must be the knobbled version.

I could make a copy of the working one available (it's part of the ok to redist list for vfp) if you want.

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

http://xxx/hh.zip

Do your own virus check before using!


Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

(OP)
Griff - I manually went to the VFP9 directory and did a Right Click on the file dv_foxhelp.chm and then did an Open With...

It showed as: Microsoft HTML Help Executable - the same as the working VFP7 Foxhelp.chm file showed.
And when I clicked OK, the VFP9-SP2 Help file opened just fine - outside of the VFP environment.

BTW: One of the other SEARCH results suggestions was to run VFPCLEAN.APP which I did - No Success

Any more suggestions?

Thanks

RE: VFP9-SP2 Help not appearing

The HH.exe is knobbled from win 7 I think, all the ones on your pc, just exit immediately.

The HH on the link above should work, pop it somewhere you can find it and browse to it when you are doing the open with...

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

(OP)
Griff - thanks for the ZIP file.
I un-zipped it and found that the HH.EXE file, via its Properties-Details, is Product Version: 4.73.8412.0

Of the 5 different workstation directories where I previously found HH.EXE, where would this one go?

As to trying to manually open dv_foxhelp.chm with Open With..., I already confirmed that the current HH.EXE opened it just fine.

Regardless, I did the test you suggested with the HH.EXE version you sent and it also worked just fine too.

Thanks

RE: VFP9-SP2 Help not appearing

I think if you try to replace hh.exe windows will pop it back to how it was - I vaguely remember.

I would put it in you VFP.exe folder in ..\program files\ and then associate it with the chm files.

I have taken the zip away now.

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

(OP)
Griff - I moved your copy of HH.EXE into my VFP9 directory.
Then I went to the dv_foxhelp.chm file and did a Right-click Open With...
I checked for it to Always Use This and then browsed to that specific HH.EXE file in the VFP9 directory.
On clicking OK, the file opened fine - outside of the VFP9 environment
But on going back into VFP9, I still get nothing when I type HELP into the Command window.

Thanks

RE: VFP9-SP2 Help not appearing

(OP)
Just another point of reference (maybe relevant, maybe not)....

Everything worked fine on the previous workstation under Win7 32-bit.
Could there be something I have over-looked related to operating under Win10 64-bit?

Thanks



RE: VFP9-SP2 Help not appearing

Well, I've just looked in my registry - doing a search for hh.exe and there are entries:

HKEY_CLASSES_ROOT\chm.file\shell\open\command

HKEY_LOCAL_MACHINE\Software\classes\chm.file\shell\open\command

They look like they could be manually redirected

from

"%SystemRoot%\hh.exe" %1

to
"c:\whereiputhh\hh.exe" %1

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

(OP)
Griff - thanks again for the suggestion.

I ran RegEdit both as myself and as Administrator.

I went to:
HKEY_CLASSES_ROOT\chm.file\shell\open\command
HKEY_LOCAL_MACHINE\Software\classes\chm.file\shell\open\command

For both of them the values were: "%SystemRoot%\hh.exe" %1
But I was not allowed, no matter how I was running RegEdit, to make the change.
And that was with Win10 UAC turned OFF

Thanks

RE: VFP9-SP2 Help not appearing

(OP)
Oh well, we have probably wasted too much brain-power on this already.
I had hoped that there would be a simple resolution, but apparently NO.

I want to thank everyone who offered advice.
Your suggestions/advice was greatly appreciated.

Thanks,
JRB-Bldr

RE: VFP9-SP2 Help not appearing

You could try replacing the HH.exe in the systemroot, looks like M$ does not want you to do that though

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

Probably the only way to do it would be boot from an alternative OS, replace HH.exe and then reboot into windows

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: VFP9-SP2 Help not appearing

JRB,

Right at the start of this thread, you said you don't often need to use the Help, which I can understand given your experience.

For what it's worth, I almost never open the Help from within VFP. I have a shortcut to the CHM on my Windows Quick Launch bar. I open it when I boot the computer (which is about once a week), and simply leave it open the whole time. That way, I can access the Help even if VFP isn't running. Why would I want to do that? To help me answer questions on Tek Tips and elsewhere.

I know that won't help you to know that, but I thought I would mention it anyway.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: VFP9-SP2 Help not appearing

I just looked at what happens in task manager, if I start the help of VFP: foxhhelp9.exe is running, started by OLE automation, which requires foxhhelp9.exe to be registered. So you bark up the wrong tree here, trying to get HH.EXE going. There might be a dependency about it, but I'd say your foxhhelp9.exe isn't registered.

Did you bring over VFP from an old system to your current PC? Have you started vfp9.exe /regserver from a cmd.exe started as admin? And the same for foxhhelp9.exe /regserver?
Turning off UAC and running in an account with administrative permission does not start an exe in elevated mode. You have to start as admin. It's easiest for the cmd.exe as there is a start option for that in the start menu, if you right click on the lower left window icon.

Mike, one advantage of being able to start up VFP help from within VFP9 is not just starting it with F1 as usual, but selecting a keyword in code or command window and launching that topic with F1.

Bye, Olaf.


RE: VFP9-SP2 Help not appearing

(OP)
Olaf - You did it AGAIN !!!!!
NOTE: That is not, in any way, to be-little Mike's and Griff's numerous examples of great advice/suggestions over the years.

Quote (Olaf)

Did you bring over VFP from an old system to your current PC?
I had done a completely new installation of VFP9 onto this new workstation.

But I had not done the

CODE -->

VFP9.EXE /regserver 
or

CODE -->

FoxHHelp9.EXE /regserver 
that you suggest.

So just now I went into CMD as Administrator and executed those command lines from within the VFP9 directory.

Next I went into my VFP9 and typed HELP into the Command window.
SUCCESS

Funny, I never had to do any of that before in any previous Windows OS.
Why I needed to do so this time is still a mystery, but not one that I wish to pursue any further.

Thanks,
JRB-Bldr

RE: VFP9-SP2 Help not appearing

If you installed normal, this shouldn't be necessary, it's two steps you do, if you bring over a VFP installation by copying the Home() folder (and some more of syswow64 and program files/microsoft shared/vfp)
Maybe other things went wrong in the installation, too. Maybe the installation wasn't elevated.

Bye, Olaf.

RE: VFP9-SP2 Help not appearing

Hi,

since you now have your help file running correctly you can consider to update it with the new helpfile which you can find on GitHub:
https://github.com/VFPX/HelpFile/

Regards,
Koen

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close