>>>>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.
Interesting,
I am run VFP9 Sp2 on Windows 9 sp1 with IE 9. It ran correctly right out of the zip file.
When it first starts, you sould see a spinning "Welcome" in the form, do you? If not, be sure to change the directory to the where the demo resides. Otherwise it can not find the underlieing HTML pages. Of course in a real app this would need to be changed to a relative or absolute path method.
Greg Reichert