Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    qddW$#%^jtyjtyj's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    721
    Reputation
    7
    Thanks
    148
    My Mood
    Mellow

    [Help]Well could i get some help for a loader like the **** loader

    well today i just want to know how to make the application connect to my forum and when they login it checks on the forum if they are registred and if it is the right password and if the information about the account was the right one. Then it shows another form and hides the login form(you dont need to help me with the last sentence cause it is easy )

    Hope you can help me
    if i get help you are gonna get biiiigg credit!
    Last edited by qddW$#%^jtyjtyj; 06-20-2010 at 04:48 AM.

  2. #2
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Webbrowser1.navigate("forum url")

    webbrowser1.document.getelementbyid("idoflogin").i nnertext = textbox1.text
    same with pw...

    webbrowser1.document.getelementbyid("submit").invo kemember("submit")

    might be click tho...

    if webbrowser1.documenttex*****ntains("Successfully logged in") then
    me.hide
    form2.show

    figure the rest out on your own.



  3. #3
    qddW$#%^jtyjtyj's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    721
    Reputation
    7
    Thanks
    148
    My Mood
    Mellow
    Quote Originally Posted by Blubb1337 View Post
    Webbrowser1.navigate("forum url")

    webbrowser1.document.getelementbyid("idoflogin").i nnertext = textbox1.text
    same with pw...

    webbrowser1.document.getelementbyid("submit").invo kemember("submit")

    might be click tho...

    if webbrowser1.documenttex*****ntains("Successfully logged in") then
    me.hide
    form2.show

    figure the rest out on your own.
    thx

    //toshort

  4. #4
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored
    Crap good job blubb!!
    I haven't done much of Web Browsers myself, i can learn from this

  5. #5
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Yeah, Good concept Sounds familiar


     


     


     



    The Most complete application MPGH will ever offer - 68%




  6. #6
    qddW$#%^jtyjtyj's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    721
    Reputation
    7
    Thanks
    148
    My Mood
    Mellow
    Quote Originally Posted by Blubb1337 View Post
    Webbrowser1.navigate("forum url")

    webbrowser1.document.getelementbyid("idoflogin").i nnertext = textbox1.text
    same with pw...

    webbrowser1.document.getelementbyid("submit").invo kemember("submit")

    might be click tho...

    if webbrowser1.documenttex*****ntains("Successfully logged in") then
    me.hide
    form2.show

    figure the rest out on your own.
    eeh blubb.. I dont got a forum like mpgh. So its like when i get to my forum i need to click login then type in username and password.. But my site has no Success fully logged in

    but another problem is that when i type in username and password it gives an error

  7. #7
    GameTrainerMaker's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    465
    Reputation
    17
    Thanks
    514
    ok here you go, credits to Blubb1337 for helping me a while ago

    [php]
    how bout this. credits to blubb a while ago for helping me

    [PHP]
    Try

    While Not WebBrowser1.ReadyState = WebBrowserReadyState.Complete

    Application.DoEvents()
    End While



    WebBrowser1.Document.GetElementById("ID OF LOGIN").SetAttribute("value", TextBox1.Text)
    WebBrowser1.Document.GetElementById("ID OF PASSWORD").SetAttribute("value", TextBox2.Text)


    WebBrowser1.Document.GetElementById("ID OF LOGIN BUTTON").Focus()

    Application.DoEvents()
    SendKeys.Send("{TAB}")
    SendKeys.Send("{ENTER}")
    Catch ax As Exception
    End Try
    [/php]

  8. #8
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Pm me with a link to your forum.

    @above, sendkeys -> login button is hidden, so don't flame @ below =P

    Login-ID = username
    PW-ID = password
    Loginbutton-ID = login

    on document_completed event
    Code:
    if document.tex*****ntains("Your last visit was on") then
    me.hide
    form2.show
    elseif document.tex*****ntains("You specified an incorrect") then
    msgbox("False information")
    end if
    You may figure out the rest on your own. If you don't know further, feel free to post, I'll help you out.
    Last edited by Lolland; 06-24-2010 at 05:01 AM.



  9. #9
    qddW$#%^jtyjtyj's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    721
    Reputation
    7
    Thanks
    148
    My Mood
    Mellow
    Quote Originally Posted by Blubb1337 View Post
    if document.tex*****ntains("Your last visit was on") then
    me.hide
    form2.show
    elseif document.tex*****ntains("You specified an incorrect") then
    msgbox("False information")
    end if
    ok i tryed this but it gives errors at if document.text

    and it gives an error at elseif document.text

  10. #10
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Post your code?

    It is Webbrowser1.Document........



  11. #11
    qddW$#%^jtyjtyj's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    721
    Reputation
    7
    Thanks
    148
    My Mood
    Mellow
    Quote Originally Posted by Blubb1337 View Post
    Post your code?

    It is Webbrowser1.Document........
    it says

    Error 2 'text' is not a member of 'System.Windows.Forms.HtmlDocument'. C:\Users\Techial2\documents\visual studio 2010\Projects\Split Fire Loader\Split Fire Loader\Form1.vb 56 16 Split Fire Loader

  12. #12
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    post your whole code.

    please, start to read my posts actually.



  13. #13
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    OK, what blubb is trying to say is it should be webbrowser1.document. not just document.

    and also there is no Document.Text it should be Document.InnerText, Document.HtmlText or in this case Documenttext with the period, so not document.text

    Use intellesence


     


     


     



    The Most complete application MPGH will ever offer - 68%




  14. #14
    qddW$#%^jtyjtyj's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    721
    Reputation
    7
    Thanks
    148
    My Mood
    Mellow
    Quote Originally Posted by NextGen1 View Post
    OK, what blubb is trying to say is it should be webbrowser1.document. not just document.

    and also there is no Document.Text it should be Document.InnerText, Document.HtmlText or in this case Documenttext with the period, so not document.text

    Use intellesence
    aaaah ok

    i just need to laugh of myself/

    well i was a bit busy that day. So i could figure it out now, but you helped me.. Thanks

  15. The Following User Says Thank You to qddW$#%^jtyjtyj For This Useful Post:

    NextGen1 (06-24-2010)

  16. #15
    qddW$#%^jtyjtyj's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    721
    Reputation
    7
    Thanks
    148
    My Mood
    Mellow
    Quote Originally Posted by Blubb1337 View Post
    post your whole code.

    please, start to read my posts actually.
    ok i can post my whole code..

    Code:
    Imports System.Net
    Public Class Form1
        Dim file1 As String
        Dim file2 As String
        Dim file3 As String
        Dim file4 As String
        Dim file5 As String
        Dim file6 As String
    
        Private Sub TabPage1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabPage1.Click
    
        End Sub
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim web1 As New WebClient
            Dim update As String
            update = "https://splitfireupdates.110mb.com/loader.txt"
            If update.Contains(Application.ProductVersion) Then
                WebBrowser1.Navigate("https://splitfireupdates.110mb.com/loader.zip")
                MsgBox("Only click this when download is done!")
                MsgBox("are you sure you downloaded it? i know i dont click this without being done downloading it")
                End
            Else
                WebBrowser1.Navigate("https://splitfireteam.******.com/")
            End If
        End Sub
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Try
    
                While Not WebBrowser1.ReadyState = WebBrowserReadyState.Complete
    
                    Application.DoEvents()
                End While
    
    
    
                WebBrowser1.Document.GetElementById("username").SetAttribute("value", TextBox1.Text)
                WebBrowser1.Document.GetElementById("password").SetAttribute("value", TextBox2.Text)
    
    
                WebBrowser1.Document.GetElementById("login").Focus()
    
                Application.DoEvents()
                SendKeys.Send("{TAB}")
                SendKeys.Send("{ENTER}")
            Catch ax As Exception
            End Try
        End Sub
    
        Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
                Dim web As New WebClient
            Dim Files As String
            If WebBrowser1.Document.innertex*****ntains("Your last visit was on") Then
                Me.Hide()
            ElseIf WebBrowser1.Document.tex*****ntains("You specified an incorrect") Then
                MsgBox("False information")
            End If
    
                Files = web.DownloadString("https://splitfireupdates.110mb.com/files.txt")
                If Files = "1" Then
                    file1 = web.DownloadString("https://splitfireupdates.110mb.com/file1.txt")
                    ListView1.Items.Add(file1)
                Else
                    If Files = "2" Then
                        file1 = web.DownloadString("https://splitfireupdates.110mb.com/file1.txt")
                        file2 = web.DownloadString("https://splitfireupdates.110mb.com/file2.txt")
                        ListView1.Items.Add(file1)
                        ListView1.Items.Add(file2)
                    Else
                        If Files = "3" Then
                            file1 = web.DownloadString("https://splitfireupdates.110mb.com/file1.txt")
                            file2 = web.DownloadString("https://splitfireupdates.110mb.com/file2.txt")
                            file3 = web.DownloadString("https://splitfireupdates.110mb.com/file3.txt")
                            ListView1.Items.Add(file1)
                            ListView1.Items.Add(file2)
                            ListView1.Items.Add(file3)
                        Else
                            If Files = "4" Then
                                file1 = web.DownloadString("https://splitfireupdates.110mb.com/file1.txt")
                                file2 = web.DownloadString("https://splitfireupdates.110mb.com/file2.txt")
                                file3 = web.DownloadString("https://splitfireupdates.110mb.com/file3.txt")
                                file4 = web.DownloadString("https://splitfireupdates.110mb.com/file4.txt")
                                ListView1.Items.Add(file1)
                                ListView1.Items.Add(file2)
                                ListView1.Items.Add(file3)
                                ListView1.Items.Add(file4)
                            Else
                                If Files = "5" Then
                                    file1 = web.DownloadString("https://splitfireupdates.110mb.com/file1.txt")
                                    file2 = web.DownloadString("https://splitfireupdates.110mb.com/file2.txt")
                                    file3 = web.DownloadString("https://splitfireupdates.110mb.com/file3.txt")
                                    file4 = web.DownloadString("https://splitfireupdates.110mb.com/file4.txt")
                                    file5 = web.DownloadString("https://splitfireupdates.110mb.com/file5.txt")
                                    ListView1.Items.Add(file1)
                                    ListView1.Items.Add(file2)
                                    ListView1.Items.Add(file3)
                                    ListView1.Items.Add(file4)
                                    ListView1.Items.Add(file5)
                                Else
                                    If Files = "6" Then
                                        file1 = web.DownloadString("https://splitfireupdates.110mb.com/file1.txt")
                                        file2 = web.DownloadString("https://splitfireupdates.110mb.com/file2.txt")
                                        file3 = web.DownloadString("https://splitfireupdates.110mb.com/file3.txt")
                                        file4 = web.DownloadString("https://splitfireupdates.110mb.com/file4.txt")
                                        file5 = web.DownloadString("https://splitfireupdates.110mb.com/file5.txt")
                                        file6 = web.DownloadString("https://splitfireupdates.110mb.com/file6.txt")
                                        ListView1.Items.Add(file1)
                                        ListView1.Items.Add(file2)
                                        ListView1.Items.Add(file3)
                                        ListView1.Items.Add(file4)
                                        ListView1.Items.Add(file5)
                                        ListView1.Items.Add(file6)
                                    End If
                                End If
                            End If
                        End If
                    End If
            End If
        End Sub
    End Class
    hope you can help me...

Page 1 of 2 12 LastLast

Similar Threads

  1. Some advices for how to take the ss,what to post and what not...
    By ElGreco in forum Combat Arms Selling / Trading / Buying
    Replies: 3
    Last Post: 05-21-2011, 11:40 AM
  2. [Help]Could i get Help for a Loader
    By Sydney in forum Visual Basic Programming
    Replies: 20
    Last Post: 07-20-2010, 01:17 AM
  3. Could i get some help for an Injector that injects a dll from ftp?
    By Sydney in forum Visual Basic Programming
    Replies: 9
    Last Post: 06-29-2010, 07:03 AM
  4. Could i get some help for Login System
    By Sydney in forum Visual Basic Programming
    Replies: 26
    Last Post: 06-28-2010, 09:21 PM
  5. hey i need some hacks for this game can any1 help
    By CrUsHa in forum Hack Requests
    Replies: 10
    Last Post: 05-21-2006, 09:14 PM