Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Thank you again! I can't tell you how much I and my company appreciate what you've done! I love this place!..."

Geography

Where in the world do Tek-Tips members come from?
keepingbusy (Programmer)
22 May 12 17:36

Hi

For some reason each time I try to access the VFP 9 help file the following messagebox appears:

An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you wish to allow this interaction?

If you select Yes, the help file does appear but when you try to view the examples, the hyperlinks will not expand.

A couple of searches revealed that this could be setting in IE so I changed that without success. I am also using a FireFox browser but that doesn't have settings the same as IE9.

I have not installed any additional software and this message has only recently appeared. Virus checked etc all done.

Any suggestions would be very much appreciated as the help file is very useful.

I am using VFP9, Windows 7.

Thank you

Lee
danfreeman (Programmer)
22 May 12 20:46
Is the help file on a network drive?
MikeLewis (Programmer)
23 May 12 5:13
Lee,

Which setting in Internet Explorer did you try? The reason I ask is that there is a specific setting that tells it to prompt for permission when it encounters a page with ActiveX controls. The setting in question is Options / Security / Custom Level / Automatic Prompting for ActiveX controls. You need this to be set to Disable.

The fact that Firefox is your default browser doesn't make any difference. The FoxPro help file uses IE to render its pages.

Failing that, I think Dan's suggestion is worth following up. Microsoft doesn't like its CHM Help files being accessed across a network. If that's what you're doing, try moving it to a local drive.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy

keepingbusy (Programmer)
24 May 12 15:43

danfreeman: No, the help file is on a standalone desktop computer

Mike: "Automatic Prompting for ActiveX controls. You need this to be set to Disable". Yes, this is already set at disable.

I'm racking my brains on this one, just not sure why it's happening.

Apologies for the delay in replying and thanks for your posts so far.

Lee
Helpful Member!  OlafDoschke (Programmer)
25 May 12 1:54
In IE9 I don't find the options about ActiveX and scripting in the extended tab of the internet options. In this section you could allow ActiveX.
Why use an ActiveX within the chm? Could you replace it by something else?

Bye, Olaf.
keepingbusy (Programmer)
25 May 12 5:23
Hello Olaf

I am not creating a chm I'm trying to use the VFP 9 help file for my own guidance unless I've misunderstood you.

Lee
Helpful Member!  danfreeman (Programmer)
25 May 12 14:26
In your original post you mention using Firefox. Walk away from that. It is unrelated. The Windows help system uses the Internet Explorer ActiveX control to display help topics. This actually doesn't have anything to do with VFP since it's the Windows help system that's misbehaving.

OK? Got that? Just want to make sure we've established that as a baseline. smile

Given that baseline, we're obviously looking at EITHER IE security settings *or* Windows security settings. It could go either way. For example, if you have that help file installed in a directory where executable content is "controlled" (not the right word), you might rightly expect Windows to jump up and say hello.

Since you say that this was working before and only recently stopped working, you need to figure out what changed. When something stops working, that should always be your first question: what changed?

A likely candidate is either Windows Update or IE's update (or even both). It's your job to figure out which.
OlafDoschke (Programmer)
25 May 12 18:08
Ok, misunderstood.

I suggest you simply try to download the enhanced community version of the fox help from VFPX here:
http://vfpx.codeplex.com/releases/view/23319

Install and then see if the new chm does not misbehave. Otherwise still the question is about IE or windows settings.

Bye, Olaf.
danfreeman (Programmer)
25 May 12 18:35
One other question: how are you opening this help file?

Are you doing it from inside VFP or are you double-clicking it from Windows Explorer?
keepingbusy (Programmer)
26 May 12 10:02
Olaf: Downloading now as I post this....

danfreeman: From inside VFP. And with regards to: "Since you say that this was working before and only recently stopped working, you need to figure out what changed. When something stops working, that should always be your first question: what changed?"

A likely candidate is either Windows Update or IE's update (or even both). It's your job to figure out which."

This is something I have been trying do and as far as I am aware, nothing has changed. I have also carried out a restore to a previous point over a month ago just in case. I use the VFP 9 help file to assist with my projects and look for sollutions to the best of my ability.

I'll see what happens with the new VFP help file but it appears to me that the last few posts I have made on Tek-Tips seem to have had some negative replies so for that reason, I wont bother you again guys.

Thanks for all the help in the past.

Lee
danfreeman (Programmer)
26 May 12 11:54
Don't go away! We're just getting to some interesting information!

You've now provided important information we didn't have before: that you're opening the help file from within VFP. What happens if you double click the file from Windows Explorer? This is a very important piece of the puzzle, not some mental game-play.

If the help file opens just fine outside of VFP, then we know your instance of VFP doesn't have sufficient privileges to launch outside processes. If not, then another problem is indicated. Either way, it's important to know before deciding what to do next.
Helpful Member!  MikeLewis (Programmer)
26 May 12 12:46
Lee,

I'm sorry you think some of your recent posts have had negative responses. I don't know the details, but I'm sure that's not what was intended.

As far as your present problem is concerned, Dan and Olaf do seem willing to help. So please stay around; you might still get a solution.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy

keepingbusy (Programmer)
26 May 12 15:03
Ok sorry guys sad, perhaps it was just me misinterpreting the responses (thanks Mike).

In answer to danfreeman: "You've now provided important information we didn't have before: that you're opening the help file from within VFP. What happens if you double click the file from Windows Explorer? This is a very important piece of the puzzle, not some mental game-play."

Yes, I can open the help file outside of VFP9 within windows explorer with no errors.

The mystery continues....

Thank you


Lee
danfreeman (Programmer)
26 May 12 16:00

Quote:

Yes, I can open the help file outside of VFP9 within windows explorer with no errors.

That actually lifts the veil on the mystery quite a bit. There's nothing at all wrong with the help file, or with Windows. VFP is running with the wrong permissions level. I'm betting, as I suggested earlier, a Windows Update changed this but you may not have noticed the behavior for some time so you don't associate it.

What happens if you right-click on VFP9.exe and choose "Run as Administrator"? The help file should work just fine.

If that's the case, you have several options. All of them revolve around right-clicking vfp9.exe, choosing Properties, and visiting the Compatibility tab.

For future reference, you might want to create a desktop shortcut to the help file and always open it that way anyway. I often have the VFP help file open even if VFP isn't running. smile
MikeLewis (Programmer)
28 May 12 4:25

Quote (Dan)

I often have the VFP help file open even if VFP isn't running.

Including for when you're answering questions on Tek Tips, I assume.

Mike



__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy

keepingbusy (Programmer)
28 May 12 5:30
Good morning

I'm not back until tonight so don't have access to my desktop computer. As soon as I can I will update this thread with a result.

The joys of iPads I say!

Thanks again guys


Lee
keepingbusy (Programmer)
28 May 12 14:15

danfreeman

I tried your suggestion by running the vfp9.exe file as an administrator but I'm still getting the ActiveX message when I try to use the Help File.

I have already created a shortcut from the Help File to my desktop and that works fine.

The compatibility was set to Windows XP service pack 3 and the run as administrator check box was clicked. VFP9 runs ok but again the help file gave the activex message.

So in view of that, I am happy for the time being that I can at least use the help file if needs be and when I get some more time I'll look into this a bit deeper and post back.

I'm giving you stars for your help (and inspiration)

Thanks again for your posts guys, I appreciate it.


Lee
OlafDoschke (Programmer)
29 May 12 4:29
As the chm works directly, but not from within vfp9, try to register vfp9.exe via calling "vfp9.exe /regserver". Do the same with foxhhelp9.exe, which you find in \PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\VFP.

This is not as easy with Win7 as in XP. Either you turn UAC off for the moment, or you need to elevate by running cmd.exe by right click and "run as admin" and then executing these command lines from there while cmd.exe runs as admin.

But actually reinstalling VFP9 should also help with it, then.

Bye, Olaf.
keepingbusy (Programmer)
31 May 12 10:00

Hi Olaf

Quote (OlafDoschke)

"But actually reinstalling VFP9 should also help with it, then."


I tried a reinstall but still got the same message ActiveX message. I will take a look at your other suggestions and post back in due course.

The fact I have access to the help file via a desktop shortcut helps in any case.

Thank again


Lee
danfreeman (Programmer)
31 May 12 13:09
If you're going the reinstall route be careful of the pitfalls.

If the initial install was flawed, and lead to this problem, then repeating exactly the same process will probably achieve exactly the same result! <g>

Make sure you run the installer as administrator!
OlafDoschke (Programmer)
31 May 12 15:34
dan is right, that could help.

But actually as you said the help refused to work recently, my thinking was the flaw could be fixed by a reinstall. Because of course while installing, the vfp9 runtimes and fox9hhelp.exe are registered during the setup process.

You might try to uninstall first, then perhaps install to C:\Users\Public\VFP9 instead of the default installation folder.

Bye, Olaf.

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!

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