Recent content by johnnyj2j

  1. J

    Get String From String

    I have this string 91.202.165.65:8080 and I want to take everything before the : and the string will always change the only thing that stays the same is : Ideas? Thanks in advance
  2. J

    Screenshot Area (Picturebox)

    Thanks for answering me on 2 forums rep++ :)
  3. J

    Screenshot Area (Picturebox)

    trying to screen shot the area of my picture box 1 then put it to picture box 2 with this code Dim area As Rectangle = PictureBox1.Bounds Dim capture As System.Drawing.Bitmap Dim graph As Graphics capture = New System.Drawing.Bitmap(Bounds.Width, Bounds.Height...
  4. J

    Save Image From Webbrowser

    so what I want to do in webbrowser1 is to save a picture like above...... I can not use the url of the picture to do this because its protected (putting it in a picture box would also be acceptable) ideas ??? thanks in advance
  5. J

    HtmlElementCollection Sort Links

    ooo.... thx makes it so much neater :) hey how would I pull the elements of a page like this Dim PageElements AsHtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("a") from a http webrequest page like this?Dim request AsHttpWebRequest = DirectCast(WebRequest.Create(Link)...
  6. J

    Start Embedded Youube Video On Website

    im doing this because im trying to learn all aspects of vb.net I cant just skip all the webbrower and httpwebrequest.... and as for the endearing myself thanks ^^ I try :)
  7. J

    Start Embedded Youube Video On Website

    then you would be wrong cough~~~(*******) iv tried several things WebBrowser1.Document.GetElementById().InvokeMember("click") Dim allelements As HtmlElementCollection = WebBrowser1.Document.All For Each webpageelement As HtmlElement In allelements If webpageelement.GetAttribute(Type) = Name...
  8. J

    Start Embedded Youube Video On Website

    there's a youtube video on the sites below embedded into the site and I cant figure out how to start them threw my webbrowser likenation.com/p.php?p=youtube&vid=639 likenation.com/p.php?p=youtube&vid=952 likenation.com/p.php?p=youtube&vid=247 any ideas ? thanks in advance The page html...
  9. J

    HtmlElementCollection Sort Links

    Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("a") Dim Pages() As String = {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""...
  10. J

    HtmlElementCollection Sort Links

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("a") For Each CurElement As HtmlElement In PageElements TextBox3.Text =...
  11. J

    Clicking A Website Button (HtmlElementCollection)

    can anyone help me with this ?
  12. J

    Clicking A Website Button (HtmlElementCollection)

    so im making a bot for the site youlikehits.com and im having some difficulty I can get it to press the first button the will load a the first page but I cant get it to load the next button on that page as show below the first pic is the starting page and the button (click 1) makes it go to the...
Top Bottom