WinRT: Open link in internet explorer no matter the default browser

Sistr

Is there any way to force a link to be open using Internet Explorer ? (I do prefer some other browser but they doesn't handle facebook url callback well on windows phone)

Currently I’m using that code:

auto uri = ref new Windows::Foundation::Uri(str);
auto launchOptions = ref new Windows::System::LauncherOptions();

launchOptions->DisplayApplicationPicker = true;

Windows::System::Launcher::LaunchUriAsync(uri, launchOptions);

It does display a picker to let the user choose either ie or another installed browser, but it doesn’t force ie. I also tried:

auto uri = ref new Windows::Foundation::Uri(str);
auto launchOptions = ref new Windows::System::LauncherOptions();

launchOptions->PreferredApplicationDisplayName = "Internet Explorer";

Windows::System::Launcher::LaunchUriAsync(uri, launchOptions);

But it complain about PreferredApplicationPackageFamilyName not being set. And I’m unable to find the PFN of internet explorer in any documentation nor after googling.

Does anyone has the same issue ?? I can't use any c#, only winrt C++ api. I already found the solution using c# but sadly it's incompatible with the project I'm working on ...

Thx for your help,

Damien

Sistr

Just to follow up on that subject, there is no way to do that, neither using C++ or c#. I got the confirmation from Microsoft support team.

Thx

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

how to open link in internet explorer using html or any browser language?

Why is internet explorer the only browser that can open .url links by default?

How to set default browser to Internet Explorer in R?

Open link in opened browser not the default one

Angular&Electron - Open link in default browser

Visual Studio opens the default browser instead of Internet Explorer

Set Internet Explorer as the default browser from the command line

Open link in Internet Explorer with POST data using javascript/jquery

Click link in Internet Explorer

C# .Net 6 - How to open a link in default browser?

Can't open a link when the default browser has been changed

Browser specific css for Internet Explorer

I have a program that opens websites, and I set my default browser to google chrome, but it still uses Internet Explorer

Open a link in a specific browser

phonegap open link in browser

How to open link in a browser?

Browser removing "#" on link open

Set default browser to OPEN browser

html code to open a file:// link in chrome browser that uses the chrome extension "open in IE" by default

Add browser action button in internet explorer BHO

Launch Chrome browser from Internet Explorer

Running Oracle Forms inside Internet Explorer Browser

Browser-update message Internet Explorer 8

Internet Explorer is opening when redirecting to my browser

Internet Explorer: Start Internet Explorer 9 in Internet Explorer 7 mode as default

Permission denied for clicking link in Internet Explorer 11

click on link text in internet explorer using vba

vba intercept internet explorer link click

VBA Internet Explorer Webpage Link Selection