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
  Make Fileice gateway script compatible? metro 8 1,129 2015-02-04, 11:52 PM
Last Post: metro
  AdWork Media Stats NIRVANA 18 1,994 2014-10-29, 05:51 PM
Last Post: NIRVANA
  [SOURCE] on-the-live Lowercase to Uppercase & Vice Versa Text Converter (Multiline) Peakfire 0 479 2014-02-24, 08:50 PM
Last Post: Peakfire
  "Error loading gateway files!" with FileIce Orbiat 7 1,621 2013-11-30, 12:20 AM
Last Post: Blackmoney
  Fileice Statistics Wakanda 33 4,730 2013-11-23, 03:52 AM
Last Post: Wakanda

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

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