Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Mvan12's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    Australia
    Posts
    11
    Reputation
    10
    Thanks
    0
    first image - puu.sh / 6Jm1Y
    second image - puu.sh / 6Jqpu

    so in the first picture, that box is separate to the flash game, and shows the current people on the program ive made (However that example is from the old defunct one I mentioned earlier.

    second picture is an error i get.

  2. #17
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    Which htmlelement is causing the exception to be thrown? What is it's inner text, inner html, etc?

    Instead of looping over ALL of the elements, use GetElementsByTagName("input"), or whatever type of element the 'verify button' is, and continue from there. Still get the exception?

    edit: first image: Are you trying to show a list of players who are using YOUR program, or, a list of players available in the flash game? If the 2nd, idk.

    I tested
    Code:
        Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
            Dim _elems As HtmlElementCollection = WebBrowser1.Document.All
            Dim _str As String = ""
            For Each xx As HtmlElement In _elems
                _str = xx.GetAttribute("value")
    
                If _str = "Verify" Then
                    MsgBox("Exception?") ''this didn't occur on the home page
                ElseIf _str <> "" Then
                    MsgBox("value: " & _str) ''this occurred a few times
                End If
            Next
        End Sub
    and can't get an exception..but then again I'm only on the home page.
    Last edited by abuckau907; 02-04-2014 at 03:02 AM.
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

  3. #18
    Mvan12's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    Australia
    Posts
    11
    Reputation
    10
    Thanks
    0
    Ok, that worked a charm, thanks!!

    For the first picture, its a list of people using my program.

  4. #19
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    Then you need a central server (..could be as simple as your home PC).

    1) Your program has to connect to the server (and "register"/login)
    2) The server will tell you who else is online

    Create new thread if you need help with that I guess.
    Last edited by abuckau907; 02-04-2014 at 02:59 AM.
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

  5. #20
    Mvan12's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    Australia
    Posts
    11
    Reputation
    10
    Thanks
    0
    Ok, well ill research into it, thanks heaps for everything man!!!

  6. #21
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    Glad to hear that. Np.
    Last edited by abuckau907; 02-04-2014 at 03:19 AM. Reason: ..
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Help] How would I go about making this?
    By xBear Grylls in forum Visual Basic Programming
    Replies: 1
    Last Post: 03-19-2013, 02:31 PM
  2. How would I go about injecting scripts with no injector?
    By misterzombro in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 7
    Last Post: 01-21-2013, 04:27 AM
  3. How would I go about spawning a single crate?
    By jordantylermoore in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 2
    Last Post: 01-14-2013, 12:47 PM
  4. how you should say about this game DmC
    By Ceguro in forum Flaming & Rage
    Replies: 0
    Last Post: 12-19-2012, 08:07 PM
  5. How would i go about doing this
    By TJC20207 in forum Combat Arms Mod Discussion
    Replies: 1
    Last Post: 04-25-2010, 04:20 PM