Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 1 Jahr, 12 Monaten
Letzter Beitrag:
vor 1 Jahr, 12 Monaten
Beteiligte Autoren:
Steven Sitas, Sammy Broeders

Google Map function in Windev 20

Startbeitrag von Sammy Broeders am 24.02.2016 18:33


I use the Google Map function, works Always ok but now when i use the streetview function i get the error as in the attach. Anyone now how it comes?
[attachment 1878 Knipsel.JPG]


take a look here :
Unfortunately for me, the patch didn't solve the problem for ALL my users.

You can ignore the patch and go to the faq 10478 (just under the above) called:
"How to make the HTML Control emulate IE11 ?"

This will solve ALL your problems !!!!

One thing to do - that isn't in the code in the faq - is FIRST check to see that the setting in the registry - ("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION") is ALREADY there ..
If NOT - and it happens on almost ALL my users - the simple copy and paste of the above code will not work.

Steven Sitas

von Steven Sitas - am 24.02.2016 19:49
Just a quick and dirty FIX for the code PC Soft published:
Check the code before using, because the forum sometimes "misses" text etc ...

sExecutableName is a string
nVersionIE is int
nResult is int
bResExist is boolean
bResCreate is boolean

// for the current executable
sExecutableName = fExtractPath(ExeInfo(exeName),fFileName + fExtension )
// Read the current setting
bResExist = RegistryExist("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION")
IF bResExist=False THEN
bResCreate = RegistryCreateKey("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION")
IF bResCreate=False THEN
Info("Problem updating registry (FEATURE_BROWSER_EMULATION)"+ErrorInfo())

nVersionIE = RegistryQueryValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION",sExecutableName )
// Already IE 10 or 11 forced?
IF NOT nVersionIE IN (10001,11001) THEN

// No
// // is forced IE11
nVersionIE = 11001 // 10001 for IE10, IE11 11001 for
nResult=RegistrySetValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION",sExecutableName,nVersionIE)
IF nResult=True THEN
Info("registry updated")
Info("Problem updating the registry "+ErrorInfo())

von Steven Sitas - am 24.02.2016 19:53
Thanks a lot Steven!
It works ok for me.

von Sammy Broeders - am 25.02.2016 09:03
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.