Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Location
    Bangkok, Thailand
    Posts
    10

    Grin Timer controlled progress bar

    Is it possible to catch MSGID_ONTIMER before the HTTP.TestConnection action is finished?

    I am trying to display a timer controlled progress bar during the HTTP.TestConnection action (up to 20 seconds).

    I set Screen.StartTimer(1000) and want to step the progress bar by 5% every second until the HTTP.TestConnection action is finished.

    Is there any other way to show the progress of HTTP.TestConnection action?

    I need some kind of visual progress indicator to entertain the user for 20 seconds while HTTP.TestConnection is trying to verify the conection to my server...

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    I believe that the .testconnection is preemptive, in that it's exclusive during that time.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    Jun 2009
    Location
    Bangkok, Thailand
    Posts
    10

    Star HTTP.TestConnection

    Yes, I am afraid we can not do anything until HTTP.TestConnection is completed...

    HTTP.TestConnection as well as other HTTP and FTP actions should have been implemented in a separate thread...

    Anyway I found that HTTP.TestConnection is not so reliable. With my Internet provider (and this may be the case with many other providers all over the world) in order to log in and be able to use Internet we need to issue any HTTP GET request which will always be successful and whatever URL you want to access you will always be redirected to the provider's login web page.

    Even before you are actually logged in, the HTTP.TestConnection will return TRUE assuming you are connected to Internet, but your not connected until you properly log in with your username and password and then you are able to use Internet.
    Last edited by Superbank; 06-11-2009 at 04:36 AM.

Posting Permissions

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