Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Document Preview in VFP
Message
 
 
To
02/09/2004 11:55:06
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00935602
Message ID:
00939005
Views:
15
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform