Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Document Preview in VFP
Message
 
 
À
02/09/2004 11:55:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00935602
Message ID:
00939005
Vues:
16
>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform