Htmlviewer win versus Mac ????

Hi,

I create a small application with htmlviewer.
Load page on open event.
The page have a widget
Under mac there no problem but under windows the widget don’t start
Is there a difference betwen win and mac htmlviewer ?
I did compilation for Windows under .Mac and windows. Nothing works under Windows.

Thanks

try HTMLViewer - Renderer - WebKit

pffff i hate windows… not works

maybe i don’t do well

do you have a simple example ?

by default htmlviewer on Windows uses IE 9. Maybe widget is not for Internet Explorer?

is it possible htmlviewer use firefox or chrome on windows ???
if yes how can i do that ?

[quote=266908:@jean-marc planas]is it possible htmlviewer use firefox or chrome on windows ???
if yes how can i do that ?[/quote]

Yes

Go into HTMLViewer inspector. Under Renderer select WebKit

See here for versions of HTMLViewer http://blog.xojo.com/blog/htmlviewer_engines_on_windows

There is a way to “change” HTMLViewier into using a different version of IE, but that involves altering the registry and may not be permitted by some corporate installations, if you want to do that let me know and I’ll post a link.

Webkit is Chrome 18 in Xojo. It may not support every needed feature.

IE11 is often better, if of course modifying the registry is permitted.

And since we know nothing about the widget… Does it at least work in common Windows browsers ? Which ones ?

This blog post describes the Registry changes to use a newer version of the native IE renderer:

http://blog.xojo.com/use-newer-version-of-internet-explorer-with-webbrowser-and-htmlviewer

I will try this. i did few days ago but no change. i will try again. thanks

Are you at least able to tell if you widget works in a regular Windows browser ? ? ?

no the widget don’t works on IE 8
I can’t install IE 10, I’m trying install IE 11 for test

The widget works very well on firefox under windows…

[quote=267035:@jean-marc planas]
I can’t install IE 10[/quote]

MS is actually really helpful here: they provide free (but limited function) Virtual Machines preloaded with IE6 thru 11 for testing.

https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/mac/

Finaly i have installed IE 11

widget works perfectly on browser directly
but not under xojo, webkit or not

I had tried change registry like PAUL said but no change.

I’m searching always response for this problem.
if someone woult try the page

just click on one of play button

OK. I tried even with setting the useragent, it simply does not work. But I have a solution for you :

  • Go Insert
  • ActiveX Component…
  • Microsoft Web Browser
    A module named SFDocVw and a class named WebBrowser will appear in your navigator
  • Drag the WebBrowser to your window, size it as you like.
  • Add the Open event with :

Sub Open() me.Navigate("http://vistajeux.com/deezervistajeux.html") End Sub

This uses the “real thing” from Microsoft, it loves your Deezer widget, and it plays music just fine.

See https://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser_methods(v=vs.110).aspx for methods, properties and events.

[quote=267370:@Michel Bujardet]OK. I tried even with setting the useragent, it simply does not work. But I have a solution for you :

  • Go Insert
  • ActiveX Component…
  • Microsoft Web Browser
    A module named SFDocVw and a class named WebBrowser will appear in your navigator
  • Drag the WebBrowser to your window, size it as you like.
  • Add the Open event with :

Sub Open() me.Navigate("http://vistajeux.com/deezervistajeux.html") End Sub

This uses the “real thing” from Microsoft, it loves your Deezer widget, and it plays music just fine.

See https://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser_methods(v=vs.110).aspx for methods, properties and events.[/quote]

I will be eternally grateful to you if it goes…
sorry for my bad english

i will try it and feedback

I did test. Bien entendu :wink:

Si vous parlez franais alors merci beaucoup. Je me dmne avec ce probleme depuis un mois. Merci encore c’est trs apprci.

:slight_smile:

pfff moi j’ai une erreur de javascript . ( peut - tre un module complmentaire manquant dans IE )
IE 11 install et fonctionnel
connect sur deezer
mais a fonctionne bien avec IE direct

You should either change the channel to “Franais”, or continue in English in “General”, as a courtesy to other members.

I tried applying this to get the IE11 renderer:

Dim reg As New RegistryItem("HKEY_CURRENT_USER\\SOFTWARE\\Microsoft") reg = reg.AddFolder("Internet Explorer") reg = reg.AddFolder("Main") reg = reg.AddFolder("FeatureControl") reg = reg.AddFolder("FEATURE_BROWSER_EMULATION") reg.Value(App.ExecutableFile.Name) = &h2710 ' IE 11 renderer

The widget says “player loaded” then when I click on a button I get

current_track 0 Insanity Simple Is Beautiful

But yet no sound.
What is strange is that yesterday the player showed on the screen, but today it remains invisible in both IE itself and in the Microsoft Web Browser control.

Maybe Deezer changed something. I even went to their site as well and no sound either in the Active X control.