Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. Public Class Form1
  2. ''********** Update dugme za dropbox ***********
  3. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  4. CheckForUpdates()
  5. End Sub
  6.  
  7. Public Sub CheckForUpdates()
  8. Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("https://dl.dropbox.com/s/4iuxnu09y6ez933/Version.txt?dl=0")
  9. Dim response As System.Net.HttpWebResponse = request.GetResponse()
  10. Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())
  11. Dim newestversion As String = sr.ReadToEnd()
  12. Dim currentversion As String = Label2.Text
  13. If newestversion.Contains(currentversion) Then
  14. MsgBox("You are up to date!")
  15. Else
  16. MsgBox("There is a new update we, will download it now for you.")
  17. WebBrowser1.Navigate("https://dl.dropbox.com/s/oj3swcgkmudpc60/Just4Crack.exe?dl=0")
  18. End If
  19. End Sub
  20.  
  21. '********** Info Update ***********
  22. Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
  23. MsgBox("1. Add New Programs." & Environment.NewLine &
  24. "2. Add Mail for suggestions and bugs." & Environment.NewLine &
  25. "3. It will be a little late for the next update because I'm working on a new project." & Environment.NewLine &
  26. "4. Several blogs have been fixed." & Environment.NewLine &
  27. "5. Add Link for Download New Project." & Environment.NewLine &
  28. "6. Add 64/32 Bit-a")
  29. End Sub
  30.  
  31. Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
  32. Process.Start("https://discord.gg/Rr9qkE2")
  33. End Sub
  34. 'Next Page---------------
  35. Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
  36. Form2.Show()
  37. Me.Hide()
  38. End Sub
  39. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement