In my ToolstripMenu, there's an item called Info, when u push that Item, i want a new firefox/internetexplorer/... form opend. The link is http://www.jiict.be.
I can't use linklabels, but i can't figure out code to past in the clickevent...
Any suggestions? (would like to use the menutoolstrip...)
Greetings..

You can just use Process.Start() :

private void button1_Click(object sender, EventArgs e)
    {
      using (System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo()
      {
        ErrorDialog = true,
        ErrorDialogParentHandle = this.Handle,
        UseShellExecute = true,
        FileName = @"http://www.apexsoftware.com"
      })) { };
    }

works perfect!
but i need to know what the code actually means (it's for school and i need to know what my code means...)
so u just open a proces, than define some properties and that's it?
Ty!

Pretty much. The error dialog properties just show a nice error message if the process fails to starts. The using() just enforces calling IDisposable.Dispose() .

Please mark this thread as solved if you have found an answer to your question and good luck!

Marked :)
Thanks for the advice!
Project is almost done now...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.