>>>Try running the Test.prg. At the beginning is the statement SYS(2333), which allow the form to host the ActiveX control. Also, in the Init of the IE control place the statement NODEFAULT. Forget why, but it once needed it.
>>
>>Do you mean in the Refresh method of the control? In any case, your class has absolutely no code, it only the form that does it. I'll spend few more minutes on it, but I don't think it's something I can use.
>
> My Bad. You are right, the Refresh.
>
>>
>>The links with @@ are not recognised by VFP, e.g. the BeforeNavigate2 event simply doesn't happen.
>
> Odd. Before I answered thread, I downloaded the zip file, and ran the example. It ran fine for me.
>As for the '@@' in the links. They are there to identify vfp commands from standard html links.
>
>P.S. I learned this trick of integrating IE into Fox from Ken Levy some 15+ years. I think he or someone else wrote an article about do it. Pop him a message and see if he has any addition resources.
The refresh already had NODEFAULT. I'm running Windows 7 and the sample indeed doesn't work for me.
In theory, it may be related to IE security settings, but I don't want to adjust them from what I have now.
If it's not broken, fix it until it is.
My Blog