1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VB.Net iFrames Webbrowser Issue - How To Automate iFrames In Visual Basic 2008

Discussion in 'Visual Basic .NET' started by Inforequeter3, Mar 13, 2010.

  1. Inforequeter3

    Inforequeter3 Registered Member

    Joined:
    Apr 29, 2009
    Messages:
    86
    Likes Received:
    40
    Occupation:
    EMAIL LISTS SPECIALIST
    Home Page:
    I am building a FORUM BOT that automates posts on topics that relate to particular keywords. The bot extracts the links based on the keywords of the users input.

    The issue that I'm running into is that the TEXTAREA where the message is entered has an iFrame on it. I can't automate the iFrames if it has buttons, links, messagebox, etc. etc..

    Here is what it looks like in html:

    HTML:
     
    <td class="controlbar"> <textarea name="message" id="vB_Editor_001_textarea" rows="10" cols="60" style="display: none; width: 540px; height: 250px;" tabindex="1" dir="ltr"></textarea> <iframe style="border: 2px inset ; width: 540px; height: 250px;" tabindex="1" id="vB_Editor_001_iframe"></iframe></td> <td class="controlbar">
    
    Any smart guy know how to have the webbrowser control input text into the TEXTAREA so that I can automate this process?

    Anyone who helps me out on this iFrame issue is getting the Forum Poster for FREE!!!



    THE SITE THAT I'M TALKING ABOUT IS WWW.GEARSLUTZ.COM and the exact link is:

    http://www.gearslutz.com/board/newreply.php?do=newreply&noquote=1&p=5149940

    You may have to register real quick to see the page that consists of the iFrames.


    I would appreciate the help.
     
  2. razohad

    razohad Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 11, 2008
    Messages:
    701
    Likes Received:
    1,005
    Occupation:
    Software engginer
    Location:
    online most of the time
    try on webrowser document completed

    PHP:
    Me.Document .GetElementById ("vB_Editor_001_textarea").SetAttribute ("value",the content gos here)