Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webbrowser control
Message
De
21/11/2012 09:05:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Webbrowser control
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01557741
Message ID:
01557741
Vues:
56
i have the following code:
lcFName = FULLPATH([Attachments\]+ALLTRIM(thisform.Business.data.fname))
lcFName1=[file://]+lcFName
IF NOT EMPTY(m.lcFName) AND FILE(m.lcFName)
	=WaitForReadyState()

	thisform.Pgf1.Page2.oWB.Navigate(lcFName1)
	*thisform.Pgf1.Page2.oWB.Navigate([about:blank])
ENDIF
if the file to navigate to is html or txt it opens IN the control
if the file is adoc or xls file it opens up in word or excel.

how can I make it so it shows ANY file IN the control??


Thanks

Peter
Peter Cortiel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform