Page 1 of 1

xbpHtmlViewer : change default browser ??

Posted: Wed Feb 29, 2012 3:38 am
by carry
i am using DCHTMLVIER (aka xbpHtmlViewer) more and more for dynamic web content. The problem is that some scripts and routines have problems running in Internet Explorer because it is not "as compatible" to the HTML standards as Firefox or others (yes - even IE 8 and IE 9 are pretty bad).

My idea is to change the source code of AXCTRLS.PRG to use anotherweb browser for xbpHtmlViewer.

This is the beginning of the source code of axctrls.prg :

#define SBAR_PROGID "MSComctlLib.SBarCtrl"
#define SBAR50_PROGID "COMCTL.SBarCtrl"
#define TBAR_PROGID "MSComctlLib.Toolbar"
#define TBAR50_PROGID "COMCTL.Toolbar"
#define RTF_PROGID "RICHTEXT.RichtextCtrl"
#define HTML_PROGID "Shell.Explorer" <============================= this is the one i am trying to change to Firefox
#define IMGLISTCTRL50_PROGID "COMCTL.ImageListCtrl"
#define MSCOMCTRL_LICENSE "9368265E-85FE-11d1-8BE3-0000F8754DA1"
#define MSCOMCTRL50_LICENSE " qhj ZtuQha;jdfn[iaetr "

But changing the above line to something like

#define HTML_PROGID "FirefoxURL" or
#define HTML_PROGID "FirefoxHTML"

doesn´t work. Are these wrong PROGIDs ? or is there more to change ? or is it impossible to use another browser for xbpHtmlVierer class ??

Thanks in advance

Klaus Bischoff

Re: xbpHtmlViewer : change default browser ??

Posted: Wed Feb 29, 2012 4:11 am
by Tom
I worry if Firefox has an AX class. I think there is none.

Re: xbpHtmlViewer : change default browser ??

Posted: Wed Feb 29, 2012 4:56 am
by carry
Aaaargh - i didn´t think of that !

Pity :-( They guys who are develloping active web pages - mostly for maps (google, bing, osm stuff) all HATE Internet Explorer - and tell us it´s near to impossible to get a solid and working solution with IE. At least they would need loooooooooooooooooooooots of extra time (and money ;-) )

One possible solution could be the installation of a Chrome rendering engine into the IE 8 or 9. We tried that and it seems to solve some of the problems. But we are still in fear that the next "incompatibility" is just around the corner.

How do you handle those IE incompatibilities in your software ? Do you devellop all scripts and web routines especially for IE ???

Thanks

Klaus

Re: xbpHtmlViewer : change default browser ??

Posted: Wed Feb 29, 2012 8:22 am
by rdonnay
Klaus -

I think that your only solution is to make sure that you write only for IE.
What features of HTML are not working?

Roger

Re: xbpHtmlViewer : change default browser ??

Posted: Wed Feb 29, 2012 1:10 pm
by Auge_Ohr
carry wrote:mostly for maps (google, bing, osm stuff)
what did you try to do ? do you want to "download" a Google-Map ? must your user interact with Browser ?