![]() |
|
Help? Stuck with my alerts program. - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Coding (https://sinister.li/Forum-Coding--71) +--- Thread: Help? Stuck with my alerts program. (/Thread-Help-Stuck-with-my-alerts-program) |
Help? Stuck with my alerts program. - Villain - 07-08-2013 Hey,
I know most of you will just say, its easy your shit at coding but I need help with something. I am trying to make a program in vb.net which when you open it it says if you got any alerts, this is the code atm, also is there a way to make it auto login from your browser saved passwords? Code I got so far; Code: Imports System.Net
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim Client As New WebClient
Dim Availability As String = Client.DownloadString("http://diversebox.net/")
If Availability.Contains("Alerts (1)") Then
Label1.Text = "yes"
Else
Label1.Text = " no"
End If
End Sub
End Class |