Help - FileIce Live Stats
2013-08-28, 05:41 PM, (This post was last modified: 2013-08-28, 05:43 PM by lanzye.)
Hi guys, i'm working a tool what pick Live Stats from FileIce. I made Login form what you must use for login on FileIce and see the stats. Now i need show live stats on Label2 - Label4 - Label6 but i can't do it.

Form1 - Login
Public Class Form1
    Dim StatusLogin As String = "Unlogged"

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        WebBrowser1.Navigate("") 'FileIce Website
        Button1.Enabled = False
    End Sub

    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
        If StatusLogin = "Unlogged" Then
            Button1.Enabled = True
        ElseIf StatusLogin = "Logged" Then
            If WebBrowser1.DocumentText.Contains("Login Failed") Then
                MsgBox("Login Failed, make sure you write right your username and password.", MsgBoxStyle.Critical, "FileIce Live Stats")
            End If
        End If
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        WebBrowser1.Document.GetElementById("username").InnerText = TextBox1.Text
        WebBrowser1.Document.GetElementById("password").InnerText = TextBox1.Text
        StatusLogin = "Logged"
    End Sub
End Class

Form2 - Stats
Public Class Form2

    Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Label2.Text = Form1.WebBrowser1.Document.GetElementById("live1").InnerText 'Earnings Today
        Label4.Text = Form1.WebBrowser1.Document.GetElementById("live2").InnerText 'Earning This Month
        Label6.Text = Form1.WebBrowser1.Document.GetElementById("clock").InnerText 'Server Time
    End Sub
End Class

I had tried using another WebBrowser in Form2, but i don't remember how to save cookies so when Form2 appear WebBrowser show with error (You must logged in ..)
Share This Thread :

2013-08-29, 04:01 PM,
Bump! Anyone can help me?
2013-08-31, 09:29 PM,
Check the PM and then tell me ^_^
2013-08-31, 09:30 PM,
You need to learn how to get strings, google it there are many tutorials.
2013-08-31, 09:38 PM,
(2013-08-31, 09:29 PM)Wakanda Wrote: Check the PM and then tell me ^_^

I saw your PM, but the problem is when i open Form2 is like i logged out from FileIce.
2013-08-31, 10:08 PM,
I think you can use this with WebBrowser too:
This might be helpful too:

[Image: Cq7OnC1.png]
If You Don’t Build Your Dreams, Someone Will Hire You To Help Build Theirs
2013-08-31, 10:12 PM,
I hope I will see this tool release soon!

Related Threads
Thread Author Replies Views Last Post
  Need Few Instructions That Can Help me Create Video Whiteboard Animation EvaHarrison 1 347 2018-08-17, 05:53 PM
Last Post: CharlieHarper
  help with embed adult videos to my site adlof 1 522 2018-02-16, 10:22 PM
Last Post: Enabled
  Need help is possible? shikoattia 1 562 2018-01-28, 03:25 PM
Last Post: CharlieHarper
  help templet error W3C vip2 0 346 2017-08-24, 10:45 PM
Last Post: vip2
  Blogging help Photos?? dontbejello87 2 523 2017-08-04, 08:12 AM
Last Post: dontbejello87

About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2019 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top