<a href="VFPS://myprogram(parameters)">Run my VFP program...</a>Then in the MS Browser control, you need to intercept the browser's default behavior to want to navigate to the new URL. In the BeforeNavigate2 method of the control, put code something like this:
*** ActiveX Control Event *** LPARAMETERS pdisp, url, FLAGS, targetframename, postdata, headers, CANCEL DO CASE CASE LEFT(UPPER(url),7) = "VFPS://" m.lcProgram2Run = SUBSTR(url,8) DO (m.lcProgram2Run) CANCEL = .T. && don't want to actually go to the lcUrl ENDCASEIt is important to set the CANCEL parameter to .T. to avoid having the browser doing its default navigation to your url. I highly recommend that you read Rick Strahl's excellent white paper at http://www.west-wind.com/presentations/shellapi/shellapi.asp It may be old but its GOLD!! Pay particular attention to the section entitled "The Web Browser Control". It should be enough for you to get started and the stuff you'll be able to do with it is amazing. I'm running jQuery scripts from within my VFP app to add some extra pizazz!!