|
Rank: Advanced Member Groups: Member
Joined: 12/23/2013 Posts: 115
|
Hi,
how can I use default resource handler installed on the system? For example: my machine has installed software which can be invoked by links like vmrc://clone:blabla...
In Chrome (or IE), when I click this link, an application will start on my box.
I'm aware that I can register custom resource handlers but I actually want to use those installed on the system (without registering it) - just like Chrome does. Can you provide some guidance?
Thank you, Stefan
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
I believe you just call ShellExecute with the Url.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/23/2013 Posts: 115
|
Thanks for the reply. I was wondering if there's a way to find out which Urls need to be called using ShellExecute. I mean, I shouldn't call it for Urls starting with http or https resource handlers and also not for any registered custom resource handlers. In other words: is EO.WebBrowser only handling http and https resource handlers by default or are there others?
Thank you, Stefan
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
You would need to handle LaunchUrl event. Any protocol that is not recognized by the browser engine will trigger that event. You can then call ShellExecute in that event to pass that Url to the OS.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/23/2013 Posts: 115
|
Thanks! That sounds like a plan.
cheers, Stefan
|
|