what i did was i use a select statement in opening multiple IE just for testing but the main function is what you put number on a textbox then the number the IE's will open for example i put 100 on textbox then when i click a button then 100 IE's will open so if im going to use select statement when opening 100 IE my code will be crazy... heres my sample code..
Code:Private Sub btnGenerate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGenerate.Click Dim num As Double Try num = txtNoOfMulti.Text Catch ex As Exception MsgBox("You Must Enter a Number", MsgBoxStyle.Exclamation) End Try Select Case num Case "1" System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") Case "2" System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") Case "3" System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") Case "4" System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") Case "5" System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") System.Diagnostics.Process.Start("iexplore", "www.mail.yahoo.com") End Select End Sub




Reply With Quote