Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Code:
    Public Class Form1
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            WebBrowser1.Navigate("https://splitfireteam.******.com/login.forum?")
            Button1.Enabled = False
        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 = TextBox2.Text
    
            WebBrowser1.Document.GetElementById("login").InvokeMember("Click")
        End Sub
    
        Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
            Button1.Enabled = True
            If WebBrowser1.DocumentTex*****ntains("Your last visit was on") Then
                MsgBox("Sucesss")
            ElseIf WebBrowser1.DocumentTex*****ntains("You specified an incorrect") Then
                MsgBox("Failed")
            End If
        End Sub
    End Class



  2. The Following User Says Thank You to Blubb1337 For This Useful Post:

    qddW$#%^jtyjtyj (06-24-2010)

  3. #17
    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
    Code:
    Public Class Form1
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            WebBrowser1.Navigate("https://splitfireteam.******.com/login.forum?")
            Button1.Enabled = False
        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 = TextBox2.Text
    
            WebBrowser1.Document.GetElementById("login").InvokeMember("Click")
        End Sub
    
        Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
            Button1.Enabled = True
            If WebBrowser1.DocumentTex*****ntains("Your last visit was on") Then
                MsgBox("Sucesss")
            ElseIf WebBrowser1.DocumentTex*****ntains("You specified an incorrect") Then
                MsgBox("Failed")
            End If
        End Sub
    End Class

    thx now it worked

  4. #18
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Pleasure, you didn't understand the part if the login button.

    You first focused it and then hit tab -> you are on any other link but not on the button.

    You may either focus it and then hit enter(only if you don't know the id of the button) or use the method I've posted above(common method, best one)



  5. #19
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    or use SQL >.>
    Ah we-a blaze the fyah, make it bun dem!

  6. The Following User Says Thank You to Hell_Demon For This Useful Post:

    'Bruno (06-24-2010)

  7. #20
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Kinda hard to use SQL for a free forum. SQL sure is the very best solution. But you cannot access to the database of a free host(only local if you have a localhost(95% of the sites)).



  8. #21
    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
    Kinda hard to use SQL for a free forum. SQL sure is the very best solution. But you cannot access to the database of a free host(only local if you have a localhost(95% of the sites)).
    well i got my own hosting computer... But how can i transfer all the forum files over to my hosting pc?

Page 2 of 2 FirstFirst 12

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