Results 1 to 7 of 7

Thread: Textbox in HTML in IE

  1. #1

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    heres a question:

    anyone know how to have your program locate a specific textbox in IE!? (on on the HTML page)

    Like Gator can....

    I can do it no problem if my app is the webbrowser but not if IE is being used....

    Thanks
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Yeah,
    you just look through the HTML for :
    <input type="text" name="...">

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    How do I send the Text to the HTML page that IE has open?
    Without using Sendkeys! (its not acurate)
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well,
    Why bother using IE to do it for you ?
    Just send the data yourself.

    The only other way I can think of doing it would be to save the page that IE has open, enter the text you want entered into the HTML source code yourself, then have IE open the page on the HDD.

    Should be relatively quick.

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  5. #5

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    ok...I think your missing my idea.

    You know my VBworld browser....when you click the send button in the code window, it dumps the contents right into the textarea "Your reply".

    I want my app to be able to "see" the source code for the currently open HTML page in IE. (not having to save every page it loads) when it sees the right "textbox" it will pop up ready to fill it in.

    Just like Gator

    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    hey,im in a hurry.
    i dont know too much about the webbrowser control, but how about useing the document property ?

    its suppose to allow access to the page.

    eg.
    Document.message.Text = "hey, im in a hurry." etc...

    cya tomorrow
    its in msdn.

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    plenderj! Your killin me!! LOL

    I know how to do it in my own webbrowser...

    I need to know about grabbing the Document from IE

    !??

    Thanks!
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width