>>If you are using VFP 7.0 and implementing an interface, you want to use the EventHandler() function of 7.0 and not the bind events of vfpcom.dll.
>thank u very much ,bob.Is my internet control interface right? such as
>
>IMPLEMENTS IWebBrowserApp IN "c:\winnt\system32\shdocvw.dll"
>
I think, no. You need to implement DWebBrowserEvents interface and use
BeforeNavigate2() event. You need also to set a Cancel parameter to .T. if you do not want a navigating to link.