Default browser is Chrome but IDE keeps launching IE

Hi there,

I’m building a web app running the IDE on a virtual Win XP system (Parallel Desktop on my Mac).
This is because it will be easier to build an app with a connection to MSSQL db.

When running the app from the IDE, it keeps launching the app in IE (v6) with “unsupported browser” error and not launching Chrome which is the default browser on the my XP machine.

Any idea why this happens and how to fix it ?

Thanks,

Olivier

Have now chrome frame installed in IE as workaround but why is my app not opening in the default browser ?

Are you seeing this with 2013r3.1?

Hi Jason,

I’m sure it’s 2013r3, not sure it’s r3.1, I’ll check tomorrow, I’m not at the office right now (21pm in Brussels).
I’ll let you know.

Thanks anyway.

Ok Olivier. I thought that we had this problem a while back and that it was fixed.

I just checked, it’s the 2013r3.1 version.

Would you mind checking again.

Changing the default bowser is the easiest way to check the app behavior with different browsers without deploying the app.

Thanks

I just tried with 2013r3.1 and XP. I see the same problem here. If you don’t mind, please create a Feedback report about this and we will look into it.

Thanks Jason.
Feedback 30342 created.

XP SP 1, 2 or 3 ?
Not sure if thats relevant as I don’t think MS changed the way the default browser was set in the registry in the various SP’s

It’s XP SP3.
I don’t have any spare SP1 or 2 to test other XP versions.
It can be reproduced easily with the Xojo sample web app in EddieElectronics.

Have a peek in the registry & see whats in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html
and
HKEY_CLASSES_ROOT\http\shell\open\command

Norma,

Here below the registry keys exported (french XP)

Hkey_current_user:

[code]Nom de la cl: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html
Nom de la classe:
Heure de dernire criture: 22/10/2013 - 10:38
Valeur 0
Nom: Progid
Type: REG_SZ
Donnes: ChromeHTML

Nom de la cl: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithList
Nom de la classe:
Heure de dernire criture: 22/10/2013 - 10:38
Valeur 0
Nom: a
Type: REG_SZ
Donnes: chrome.exe

Valeur 1
Nom: MRUList
Type: REG_SZ
Donnes: ab

Valeur 2
Nom: b
Type: REG_SZ
Donnes: NOTEPAD.EXE

Nom de la cl: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithProgids
Nom de la classe:
Heure de dernire criture: 09/10/2013 - 09:06
Valeur 0
Nom: htmlfile
Type: REG_NONE
Donnes:

Valeur 1
Nom: ChromeHTML
Type: REG_NONE
Donnes:

[/code]

Hkey_classes_root:

Nom de la cl: HKEY_CLASSES_ROOT\\http\\shell\\open\\command Nom de la classe: <Sans classe> Heure de dernire criture: 22/10/2013 - 12:36 Valeur 0 Nom: <SANS NOM> Type: REG_SZ Donnes: "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" -- "%1"

Odd since I’d expect the command to be the one from
HKEY_CLASSES_ROOT\http\shell\open\command

If you create a simple desktop app with a listbox on the window & this code in the open event of the listbox what do you get ?

Dim data As String
  Dim reg As New RegistryItem("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\.html")
  
  if reg is nil then
    Listbox1.addrow "1) nil reg key HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\.html"
  else
    Listbox1.addrow "1) reg key HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\.html"
  end if
  
  Try
    Dim userChoiceItem As RegistryItem = reg.Child("UserChoice")
    
    if userChoiceItem is nil then
      Listbox1.addrow "2) nil reg key UserChoice"
    else
      Listbox1.addrow "2) reg key UserChoice"
    end if
    
    Dim progID As String = userChoiceItem.Value("Progid")
    
    Listbox1.addrow "3) reg key Progid = " + progid
    
    reg = New RegistryItem("HKEY_CLASSES_ROOT\" + progID + "\\shell\\open\\command")
    
    if reg is nil then
      Listbox1.addrow "4) nil reg key " + "HKEY_CLASSES_ROOT\" + progID + "\\shell\\open\\command"
    else
      data = reg.Value(0)
      
      Listbox1.addrow "4)  reg key " + "HKEY_CLASSES_ROOT\" + progID + "\\shell\\open\\command = " + data
    end if
    
  Catch err As RegistryAccessErrorException
    
    reg = New RegistryItem("HKEY_CLASSES_ROOT\\http\\shell\\open\\command")
    if reg is nil then
      Listbox1.addrow "5) nil HKEY_CLASSES_ROOT\\http\\shell\\open\\command"
    else
      data = reg.Value(0)
      Listbox1.addrow "5)  reg key " + "HKEY_CLASSES_ROOT\\http\\shell\\open\\command " + data
    end if
    
  End Try

Running the test app:
stop in debugger with RegistryAccessErrorException on statement

Dim userChoiceItem As RegistryItem = reg.Child("UserChoice")

when resuming, the list box gives:

  1. reg key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html
  2. reg key HKEY_CLASSES_ROOT\http\shell\open\command “C:\Program Files\Google\Chrome\Application\chrome.exe” – “%1”

the access error is expected

If you open a cmd shell and type in
C:\Program Files\Google\Chrome\Application\chrome.exe
does chrome launch ?

Yes, Chrome is launching

Windows 8, Chrome is default and otherwise operates as normal but IE launches when testing a web app.
Any more news on this topic?

I believe this is fixed for 2013r4, although I don’t have a case # handy.

wow r4, I just downloaded 3.3!!!

Thanks Paul!

3.3 is still up on the download page. Is this correct?
Also my other PC loads up default browser ok, similar specs and running 3.3