programmatically click a html submit button from VB6


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: programmatically click a html submit button from VB6

  1. #1
    James Wegman Guest

    programmatically click a html submit button from VB6

    Oops I accidentally sent this post to vb.database.general it was meant to go
    here. What was I thinking, those DB people are in a world of there own

    I would like to be able to programmatically click a submit button in a html
    document from within my VB6 application. Is this possible? Ofcourse IE5+
    would be open with the relavent html document.

    If this is feasable, I guess the next step would be to wait until the
    request is complete before going on to the next line of VB6 code. Anyway
    this is probably wishful thinking

    Any thoughts would be much appreciated.

    Thanks,

    James Wegman
    kis1@zip.com.au




  2. #2
    Matthew Solnit Guest

    Re: programmatically click a html submit button from VB6

    "James Wegman" <kis1@zip.com.au> wrote in message news:3b00d823@news.devx.com...
    > I would like to be able to programmatically click a submit button in a html
    > document from within my VB6 application. Is this possible? Ofcourse IE5+
    > would be open with the relavent html document.


    If you are plugged in to the HTML DOM (hosting a WebBrowser control) then you
    can just call the form.submit() method, or button.click(). You should then sink
    an event from the control when the page is finished refreshing.

    -- Matthew Solnit



  3. #3
    James Wegman Guest

    Re: programmatically click a html submit button from VB6

    Thanks Matthew I will give your suggestion a wirl.

    James




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center