Czesc,napisalby mi ktos kod zrodlowy do Visual Basic 2010 Express taki ze jak klikne button np. o nazwie "start" dojdzie do 60% i wyświetli się "Please Update.Update is download in this link" jak by byl blad w tekscie po angielsku to poprawcie
JUZ SAM ZROBILEM KOD TEMAT DO USUNIECIA
(Ten post był ostatnio modyfikowany: 26-01-2014, 12:57 przez PaulRcootiC.)
ja tu zacząłem robić, miałem wstawiać odświeżam a ty już chcesz temat zamykać ;p
Gdyby ktoś kiedyś szukał:
robimy button, timer i progressbar
Kod:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
ProgressBar1.Increment(1)
If ProgressBar1.Value = 60 Then
Timer1.Stop()
MsgBox("Program version is old! Press OK to download update.", MsgBoxStyle.Information)
System.Diagnostics.Process.Start("http://google.com")
ProgressBar1.Value = 0
End If
End Sub
End Class