xbpHtmlViewer : change default browser ??

This forum is for general support of Xbase++
Post Reply
Message
Author
carry
Posts: 3
Joined: Tue May 11, 2010 4:19 am

xbpHtmlViewer : change default browser ??

#1 Post 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

User avatar
Tom
Posts: 1171
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: xbpHtmlViewer : change default browser ??

#2 Post by Tom »

I worry if Firefox has an AX class. I think there is none.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

carry
Posts: 3
Joined: Tue May 11, 2010 4:19 am

Re: xbpHtmlViewer : change default browser ??

#3 Post 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

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: xbpHtmlViewer : change default browser ??

#4 Post 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
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: xbpHtmlViewer : change default browser ??

#5 Post 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 ?
greetings by OHR
Jimmy

Post Reply