Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webbrowser control
Message
From
21/11/2012 09:05:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Webbrowser control
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01557741
Message ID:
01557741
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform