>I tried playing around with the web browser ole a little, but I cannot figure out how they set it up. Do you know where I can find a web page that tells one how the OLE controls are setup (parameters, etc.)?
You can find the Web Browser control docs at
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/browser_control_node_entry.asp.
Drop the Web Browser control on the form and give it name oWeb. Add NODEFAULT to Refresh() method to avoid an error. After that you can use Naviagate() or Naviagate2() methods to view web pages or files.
lcFileName = "C:\Somedirectory\Somefile.doc"
thisform.oWeb.Naviagate("file://" + lcFileName)
--sb--