I am using the MS Common Dialog Box to let the user select a file to open. After selecting the file, I do some heavy processing (file input and output). My problem/question is, when I select the file to open from the Open File Box (Common Dialog Box), the program begins the heavy processing before the Open File Box has closed, so it blocks some scrolling text I want the user to see on my main form. How do I make sure the Open File Box goes away, before my heavy processing begins? Is there a command to kill it? It does go away eventually, but not until ALL of my processing is completed, which IS NOT what I want.
Thanks,
Xeifrank
Comments
Maybe try a "DoEvents" before the processing starts?
[blue]For[/blue] n = 1 [blue]To[/blue] 5
DoEvents
[blue]Next[/blue] n
Hope that helps.
..:: Zantos ::..