4 Replies - 363 Views - Last Post: 19 July 2014 - 03:10 PM Rate Topic: -----

#1 Piratex  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 09-July 14

Webbrowser and Cgi

Posted 11 July 2014 - 02:25 PM

Hi, everyone

I am making a robot that goes around a website, but I have a problem. When my robot does click in a button, this buttom belongs to a form that execute a action cgi, then I do not know when the process cgi has finished for I can continue with the steps of my robot.

Is there any way I can check if the cgi action has been finished?. Thanks a lot
Is This A Good Question/Topic? 0
  • +

Replies To: Webbrowser and Cgi

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,473
  • Joined: 12-June 08

Re: Webbrowser and Cgi

Posted 11 July 2014 - 02:38 PM

Depends on what the action is.
Was This Post Helpful? 0
  • +
  • -

#3 Piratex  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 09-July 14

Re: Webbrowser and Cgi

Posted 11 July 2014 - 03:25 PM

View Postmodi123_1, on 11 July 2014 - 02:38 PM, said:

Depends on what the action is.



The action is set the parameters of a printer.
Was This Post Helpful? 0
  • +
  • -

#4 Piratex  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 09-July 14

Re: Webbrowser and Cgi

Posted 19 July 2014 - 02:44 AM

Anybody Around??
Was This Post Helpful? 0
  • +
  • -

#5 Sheepings  Icon User is offline

  • D.I.C Regular

Reputation: 26
  • View blog
  • Posts: 302
  • Joined: 05-December 13

Re: Webbrowser and Cgi

Posted 19 July 2014 - 03:10 PM

I fail to see the connection cgi has to a printer? :dontgetit:/> If you want to know when a page is loaded, loading or completed, then, use the event handlers from a webbrowser control to check if the page is completed or still busy loading. Example of checking is to put this inside a button and while you navigate, click this:
If Me.WebBrowser.ReadyState = WebBrowserReadyState.Complete Then
        MsgBox("Document loaded")
        Else
        MsgBox("Document loading, please wait.")
    End If
Anything after: WebBrowserReadyState. will give you properties which you can experiment with the status of the loading events.

Hope it helps.

This post has been edited by Sheepings: 19 July 2014 - 04:36 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1