![]() |
|
Visual Basic 2010 Express - Wersja do druku +- Praca w domu - Dodatkowa Praca - Zarabianie przez Internet (https://zarabiam.com) +-- Dział: CPA, PPA i content locking (https://zarabiam.com/Forum-Uploading-282) +--- Dział: Dyskusje o uploadingu (https://zarabiam.com/Forum-Dyskusja-o-Uploadzie-286) +--- Wątek: Visual Basic 2010 Express (/Temat-Visual-Basic-2010-Express-84408) |
Visual Basic 2010 Express - PaulRcootiC - 26-01-2014 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 RE: Visual Basic 2010 Express - matek697 - 26-01-2014 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 |