Zinefer Posted March 23, 2009 Posted March 23, 2009 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
Richard Robertson Posted March 23, 2009 Posted March 23, 2009 Are you using the background option? If not, your script is paused until the download finishes.
Zinefer Posted March 23, 2009 Author Posted March 23, 2009 (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 March 23, 2009 by Zinefer
Richard Robertson Posted March 23, 2009 Posted March 23, 2009 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now