02-29-2012, 08:05 AM
One more question.
Is it possible to search For a file and open it threw Web Browser 1? If not then haw do you search for a file and have it open automatically or show up on Panel 2? This is the cod that I used
(Note:I'm new at Visual Basic and I lurn fast but didn't Work.) <!-- s --><img src="{SMILIES_PATH}/icon_e_sad.gif" alt="" title="Sad" /><!-- s -->
Is it possible to search For a file and open it threw Web Browser 1? If not then haw do you search for a file and have it open automatically or show up on Panel 2? This is the cod that I used
Code:
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If CheckBox1.Checked = True Then
WebBrowser1.Navigate(FileOpen, ComboBox1.Text)
Else
If ComboBox1.Text = "" Then
MsgBox("Please enter website", MsgBoxStyle.Critical, "Brouser-Bus")
Else
WebBrowser1.Navigate(ComboBox1.Text)
End If
End If
End Sub
Code:
WebBrowser1.Navigate(FileOpen, ComboBox1.Text)