View PDF in VFP Form

MS Web Browser control can be used to display contents of different type of files, including PDF.

Loading XML into a WEB Browser Control from Variable

The code below uses default Internet Explorer XSLT to convert XML into HTML.

Enumerating IE instances


The Windows Shell

provides a powerful set of automation objects that enable you to access the file system, launch programs, and change system settings.

The Shell Windows Method

creates and returns a ShellWindows object that represents a collection of all of the open windows that belong to the Shell, including Internet Explorer.