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!
Html viewer for FWH?
- Luis Krause
- Posts: 59
- Joined: Tue Oct 11, 2005 1:39 am
- Location: Vancouver, Canada
Html viewer for FWH?
"May the Source be with GNU"
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Luis,
There is one: http://www.subsystems.com
But it is expensive, US$389, and you also have to purchase their editor for $539.
May I ask why you are looking for a standalone? Do you know that you can turn off the toolbar, address bar, and status bars of IE so it doesn't look like IE?
James
There is one: http://www.subsystems.com
But it is expensive, US$389, and you also have to purchase their editor for $539.
May I ask why you are looking for a standalone? Do you know that you can turn off the toolbar, address bar, and status bars of IE so it doesn't look like IE?
James
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- Luis Krause
- Posts: 59
- Joined: Tue Oct 11, 2005 1:39 am
- Location: Vancouver, Canada
Antonio, James, Richard and Shuming
FWH AcitiveX approach might be all we need. 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.
Thank you all for the input... time to analize the best solution.
Regards,
FWH AcitiveX approach might be all we need. 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.
Thank you all for the input... time to analize the best solution.
Regards,
"May the Source be with GNU"
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Luis,
James
Then I think this is all you need.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.
Code: Select all
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
- Luis Krause
- Posts: 59
- Joined: Tue Oct 11, 2005 1:39 am
- Location: Vancouver, Canada
James:
I have to check with Brian what exactly he's looking for, but your sample certainly should do the trick.
Any reason you're not using TOleAuto() class? I.e.:
Function RunExpl( cURL )
local hE
hE := TOleAuto():New("InternetExplorer.Application")
hE:Visible := .T.
hE:ToolBar := .F.
hE:StatusBar := .F.
hE:MenuBar := .F.
hE:Navigate( cURL )
return nil
Luis Krause
I have to check with Brian what exactly he's looking for, but your sample certainly should do the trick.
Any reason you're not using TOleAuto() class? I.e.:
Function RunExpl( cURL )
local hE
hE := TOleAuto():New("InternetExplorer.Application")
hE:Visible := .T.
hE:ToolBar := .F.
hE:StatusBar := .F.
hE:MenuBar := .F.
hE:Navigate( cURL )
return nil
Regards,James Bott wrote:Luis,
JamesCode: Select all
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
Luis Krause
"May the Source be with GNU"
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: