Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Basic 2005 Express Edition Help

Status
Not open for further replies.

olabaz

Programmer
Aug 31, 2007
9
0
0
US
Hi need some help, i made a windows application with a menutoosltrip, (the thing that says File, Edit, etc. on your windows) and i want to make one so that it links to a website like google.com or something.

here's a visual


File|Edit|Sites
|
Google--links to google.com when clicked
Yahoo
 
Code:
  Dim webAddress As String = "[URL unfurl="true"]http://www.google.com/"[/URL]
  Process.Start(webAddress)

________________________________________________________
Zameer Abdulla
Help to find Missing people
 
wow thanks and do i have to type anything else like

googlemenustriptoolbar1 or anything like that
 
When you double click on the menu it will automatically add its code like
Code:
    Private Sub GoogleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GoogleToolStripMenuItem.Click

    End Sub

You need to paste code in between the lines. Finally it will look like
Code:
    Private Sub GoogleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GoogleToolStripMenuItem.Click
        Dim webAddress As String = "[URL unfurl="true"]http://www.google.com/"[/URL]
        Process.Start(webAddress)
    End Sub


________________________________________________________
Zameer Abdulla
Help to find Missing people
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top