help executing a hyperlink

can someone please give me the syntax for opening a hyperlink when a picturebox is clicked on a form

also, are there any mouse over text properties available i don't see them in the objects properties.


thanks


Answer this question

help executing a hyperlink

  • Ramyakeerthi

    Is this WindowsForms or web forms For web forms, you should visit the ASP Forums.

  • Ayman Farouk

    it's a windows application
  • Shaun Wilde

    When reporting any errors, you should always include some sample code and the complete stack trace, so we can see what's going on.

    Are you running the app in a partial trust context, like from a network share



  • UserVBA



    System.Diagnostics.Process.Start("http://www.url.com");

     

    This launches the specified URL in the system's default browser.

    There's no separate MouseOver event. You can use MouseHover (raised when the mouse stays over the control for some time), or use a combination of MouseEnter and MouseLeave.

  • chill_pill

    i guess in theory it was on a network share, that's where my projects are stored and i was trying to execute the code from within vb. once i did the build and ran the executable, it was fine.

    i did change the code to just process.start(http://www.theurl.com), though

     


    thanks

  • Piers Lawson

    daniel:

    thanks for the reply. when i click the graphic in vbe 2005, i get a "security exception was unhandled" error.

  • help executing a hyperlink