Sign in to follow this  
Followers 0
Zinefer

Downloading a file freezing embedded IE?

4 posts in this topic

I have a gui interface with an embedded IE to display a loading gif, however, when I download a file with INETGET() it will freeze the gif inside of the ie object, for the duration of the download...

Does anyone know a way around this?

Thanks

Share this post


Link to post
Share on other sites



Are you using the background option? If not, your script is paused until the download finishes.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Are you using the background option? If not, your script is paused until the download finishes.

No, i'm not. However, there is nothing in my code that is actually making the gif "animated"... Nothing else will pause the gif, and I am convinced its a wierd bug... Does anyone else have a good option on how to download a file that wont reproduce this odd error?

Thanks.

EDIT: You were right, this snippet fixed my problem:

While (@InetGetActive) 
    Sleep(100)
WEnd

Thanks alot!

Edited by Zinefer

Share this post


Link to post
Share on other sites

Painting the window is something that needs to be done. If the window isn't allowed to be painted, it'll cause problems.

Good job on solving it though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0