Dennis,
If you use the code I posted you aren't using the WebBrowser OLE control, you are launching a full blown IE instance, which the user can interact with. just set loIE.Visbile = .t. after you create it.
>
You can use IE automation or Web Browser control. See http://www.berezniker.com/content/pages/visual-foxpro/view-pdf-vfp-form for more info.>
>So, using WScript.Shell cannot, and will not, do a "wait"? I am just trying to avoid the 'complications' of tinkering with the Web Browser Control.
>
>Another issue is, with the HTML file being shown in the default browser, the user gets to control its printing (Page Setup, Show Background Colors etc.). Can the same be done using the Web Browser Control in a VFP Form?