Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

getcontextservice not working with IE

$
0
0

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


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>