Hello
Has anyone developed a FWH class that can view html without depending on any browse (like a sample René posted some time ago using OLE to load IE)?
I'm looking for a standalone viewer so show html file to users.
Thanks!
The idea of having a non-browser dependent html viewer was just to show the user html files, but not wanting to give them web access from within the app for security reasons.
Function RunExpl(cURL)
local hE
hE := CreateOleObject("InternetExplorer.Application")
OLESetProperty(hE,"Visible", .T.)
OLESetProperty(hE,"ToolBar", .F.)
OLESetProperty(hE,"StatusBar", .F.)
OLESetProperty(hE,"MenuBar", .F.)
OLEInvoke(hE,"Navigate",cURL)
SysRefresh()
return nil
James Bott wrote:Luis,
- Code: Select all Expand view RUN
Function RunExpl(cURL)
local hE
hE := CreateOleObject("InternetExplorer.Application")
OLESetProperty(hE,"Visible", .T.)
OLESetProperty(hE,"ToolBar", .F.)
OLESetProperty(hE,"StatusBar", .F.)
OLESetProperty(hE,"MenuBar", .F.)
OLEInvoke(hE,"Navigate",cURL)
SysRefresh()
return nil
James
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 68 guests