I had a similar issue trying this with .NET Core and getting a Win32Exception
, I dealt with it like so:
var ps = new ProcessStartInfo("http://myurl")
{
UseShellExecute = true,
Verb = "open"
};
Process.Start(ps);
More Related Contents:
- Interaction between forms — How to change a control of a form from another form?
- How to remove all event handlers from an event
- Get current folder path
- Loop through Textboxes
- Cursor.Current vs. this.Cursor
- How to detect Windows shutdown or logoff
- How to handle click event in Button Column in Datagridview?
- List vs BindingList Advantages/DisAdvantages
- How do I fix a .NET windows application crashing at startup with Exception code: 0xE0434352?
- Combining multiple Attributes to a single Attribute – Merge Attributes
- Create dynamic buttons in a grid layout – Create a magic square UI
- How do I group Windows Form radio buttons?
- Forms not responding to KeyDown events
- how to bind datatable to datagridview in c#
- DateTimePicker: pick both date and time
- How to display a Windows Form in full screen on top of the taskbar? [duplicate]
- How can we change the background color of all other forms from one form?
- DataGridView keydown event not working in C#
- Data binding for TextBox
- Binding an enum to a WinForms combo box, and then setting it
- Detect change of resolution c# WinForms
- How to register Windows Forms with Simple Injector
- Hide some properties in PropertyGrid at run-time
- Developing C# on Linux [closed]
- How do I minimize a WinForms application to the notification area?
- How to install a Font programmatically (C#)
- Disable WinForms ProgressBar animation
- Custom Color Palette in Visual Studio Color Property Editor
- Remove top and bottom padding from Text drawn on an Image
- How do I get a directory size (files in the directory) in C#?