Public Sub Form3_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Me.BringToFront()
End Sub
but it still shows it behind the first form. I have also tried
Public Sub CheckForUpdate()
Dim PatchVersionRequest As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("https://dl.dropbox.com/u/99076080/Launcher%20Updater/Patch%20Version.txt")
Dim PatchVersionResponse As System.Net.HttpWebResponse = PatchVersionRequest.GetResponse()
Dim PatchVersionStream As System.IO.StreamReader = New System.IO.StreamReader(PatchVersionResponse.GetResponseStream())
Dim PatchVersion As String = PatchVersionStream.ReadToEnd
Dim CurrentPatchVersionStream As System.IO.StreamReader = New System.IO.StreamReader(My.Computer.FileSystem.CurrentDirectory & "/Launcher.wtf")
Dim CurrentPatchVersion As String = CurrentPatchVersionStream.ReadToEnd
If PatchVersion = CurrentPatchVersion * 2 Then
[u][b]Form3.Show()[/b][/u]
Form3.TextBox1.Text = "Update"
Form3.Label1.Text = "Updating Patch-T.MPQ"
[b][u]Form3.BringToFront()[/u][/b]
Else
PictureBox1.Enabled = True
End If
End Sub
But still it shows the third form behind the first form. Is there anyway around this?

New Topic/Question
Reply



MultiQuote





|