I would like to open default browser from PB. The code I am using is:
GetContextService("Internet", linet)
linet.HyperlinkToURL(ls_url)
This works fine when Firefox or Chrome is default, but not IE. Either nothing happens or the previous default opens. Perhaps IE does not set the registry key that GetContextService is checking?
If that's the case, I thought I could check the registry and if it indicates IE, use ConnectToNewObject("InternetExplorer.Application"), otherwise use the code above.
Any ideas on why IE doesn't work and if my work around might?
Windows 7 / IE 9 / PB 12.5
Thanks