Hi everyone, I've got an app that does some data collect from a web site once a button is pushed. Once the data is returned I write into various text boxes.
The first problem I have is that if the collection takes too long, parts of the application screen turn gray (basic default background color) and blank out any of the older data until the data collection is complete and the screen is repainted. The question here is how do I stop this gray-screen thing from happening? Do I need to spin this data collection sub procedure off as a separate thread? The second problem is that during the same long data collection stage the screen will sometimes flash to a command window and then back. When this happens the returning application screen is sometimes gray (see above problem). Now, the important thing to note is that this problem only happens when I launch the application using wperl.exe. If I start with perl.exe the command window is in the background and hence no flashing occurs; however, the above gray-screen thing still happens. Any ideas why these things are happening and how I can stop them? Thanks