Visual Basic & Internet Explorer

Talk2Tom11
02-05-2004, 02:23 PM
Hey I was wondering if you would be able to help me with alittle part of my program... I was wondering what the code is to make it so that when I click a picture within my program, it will open Internet Explorer. and also, how to make another picture open Windows Explorer?

Csharp
02-05-2004, 03:09 PM
something like this then...

Private Sub PictureBox1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
System.Diagnostics.Process.Start("IEXPLORE.EXE", "http://google.com")
End Sub

Private Sub PictureBox2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox2.Click
System.Diagnostics.Process.Start(Environment.GetFolderPath(Environment .SpecialFolder.Personal))
End Sub

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum