Post

Launch Firefox in C#

This post talks about how to launch Firefox in C#.

I talked about this topic in this post, but today’s content is brand new. Yes, finally I find out how to launch Firefox without an exception. Then HOW?

The old code to launch Firefox was,

1
Process.Start("https://docs.lextudio.com/blog");

And the new code is,

1
Help.ShowHelp(null, "https://docs.lextudio.com/blog");

I don’t understand why Microsoft implements them differently and I don’t want to waste my time to dig .NET Framework source code under that MS-RL. Maybe the guys want to promote Internet Explorer, isn’t it?

© Lex Li. All rights reserved. The code included is licensed under CC BY 4.0 unless otherwise noted.
Advertisement

© - Lex Li. All rights reserved.

Using the Chirpy theme for Jekyll.

Last updated on November 06, 2024