Results 1 to 5 of 5
  1. #1
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed

    [Request] Filling In Webboxes with Information Through Visual Basic

    I want to be able to enter information in a textbox in my program and have it fill in the infomation a web application. please help Thank you

  2. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Make a
    Code:
    sendkeys.send("{KEYS}")
    should be the easy one.... Or make your own webbrower with auto fill!
    -Rest in peace leechers-

    Your PM box is 100% full.

  3. #3
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed

    I Found Out How

    I found out how so Just Incase anyone wants to know....I Used this Code

    Note : When you See ("Green") You Replace , Such As I would replace ID with my variable

    Code:
    Public Class Form1
    
        Inherits System.Windows.Forms.Form
        Dim asd
    
        Private Function GetBtnByValue(ByVal value As String) As HtmlElement
            For Each d As HtmlElement In Webbrowser1.Document.GetElementsByTagName("input")
                'If (d.GetAttribute("type").ToLower = asd.Text Or d.GetAttribute("type").ToLower = "submit") Then
                If (d.GetAttribute("type").ToLower = "submit") Then
                    If (d.GetAttribute("value") = value) Then
                        Return d
                        Exit For
                    End If
                End If
            Next
        End Function
    
        
    
        Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            WebBrowser1.Document.GetElementById("ID").SetAttribute("value", TextBox1.Text())
            
    
            'GetBtnByValue("What the Button Says").InvokeMember("Click")
    
    
    
        End Sub
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            WebBrowser1.Navigate("https://website.com") 'the target
        End Sub
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
             'GetBtnByValue("What the Button Says").InvokeMember("Click")
        End Sub
    End Class

  4. #4
    geebes888's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    144
    Reputation
    10
    Thanks
    17
    My Mood
    Sneaky
    Thanks brah i'll keep dis in mind for later.
    [IMG]https://i644.photobucke*****m/albums/uu165/geebes888/V1.png[/IMG]

    -Advertisements(Permanent ban)
    -Flaming(1+ day ban)
    -Nazi or Racist content/comments ( 5+ day ban)
    -Bumping old threads 1 week or older( 3 day ban)
    -Using outside download sources "Links"( 3+ day ban)
    -Spamming( 1+ day ban) -Begging for hacks ( 1 day ban)-
    No virus scan( 1 day ban)
    -Fake VirusScan ( 7+ day ban) -Posting Viruses,keyloggers (permanent ban) -
    Disrespect of Staff members (5+ day ban)




    OMfG i hate hate noobs that ask for hacks they shuld just go in a hole and die

    Thank me if i helped, or just thank me anyway


    [Respect list]

    Toymaker- for his crack hacking team.

    [MPGH]-XpliCitt-

    [MPGH]User1

    [MPGH]Liz

    [MPGH]Whitten

  5. #5
    CodeHPro's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    116
    Reputation
    10
    Thanks
    76
    My Mood
    Aggressive
    Quote Originally Posted by Coder Never View Post
    I found out how so Just Incase anyone wants to know....I Used this Code

    Note : When you See ("Green") You Replace , Such As I would replace ID with my variable

    Code:
    Public Class Form1
    
        Inherits System.Windows.Forms.Form
        Dim asd
    
        Private Function GetBtnByValue(ByVal value As String) As HtmlElement
            For Each d As HtmlElement In Webbrowser1.Document.GetElementsByTagName("input")
                'If (d.GetAttribute("type").ToLower = asd.Text Or d.GetAttribute("type").ToLower = "submit") Then
                If (d.GetAttribute("type").ToLower = "submit") Then
                    If (d.GetAttribute("value") = value) Then
                        Return d
                        Exit For
                    End If
                End If
            Next
        End Function
    
        
    
        Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            WebBrowser1.Document.GetElementById("ID").SetAttribute("value", TextBox1.Text())
            
    
            'GetBtnByValue("What the Button Says").InvokeMember("Click")
    
    
    
        End Sub
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            WebBrowser1.Navigate("https://website.com") 'the target
        End Sub
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
             'GetBtnByValue("What the Button Says").InvokeMember("Click")
        End Sub
    End Class
    dam noob give me credit that's what i posted it for
    https://www.mpgh.net/forum/33-visual-...utomating.html

Similar Threads

  1. problem with the visual basic tut
    By Elliwood in forum WarRock - International Hacks
    Replies: 5
    Last Post: 05-30-2007, 12:45 AM
  2. [REQUEST]Need any hack with GPS!
    By naomelembro14 in forum WarRock - International Hacks
    Replies: 24
    Last Post: 04-25-2007, 12:35 PM
  3. [REQUEST]Any Hack progs with ONLY gps?...
    By naomelembro14 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 04-24-2007, 03:46 PM
  4. Replies: 2
    Last Post: 03-01-2007, 07:10 PM
  5. [Help] Atom API with Visual Basic 6.0 or .NET
    By Bull3t in forum Visual Basic Programming
    Replies: 5
    Last Post: 07-23-2006, 09:21 AM

Tags for this Thread