Web- und Software Development

Hyperlink im Standardbrowser oeffnen – Quicky Csharp

Written By: Mario Priebe - Aug• 10•08

Ein Linklabel erstellen und dieses Clickevent hinzufügen:

1
2
3
4
5
6
7
8
try
{
    System.Diagnostics.Process.Start(linkLabel1.Text);
}
catch (Exception)
{
    MessageBox.Show("Standardbrowser nicht gefunden");
}

Related Blogs

Ähnliche Beiträge

You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.