|
-
Mar 30th, 2006, 02:42 AM
#1
Thread Starter
New Member
[RESOLVED]Common Dialog Box Won't Close Until File Done Reading
I am having a problem with VB6 in which a Common Dialog Box won't close until after a file has finished being read.
The user selects a file to read into an array using a Common Dialog Box and they choose "open". Instead of immediately shutting down the Common Dialog Box will stay open until after the file is read.
Visual Basic 6 seems to give priority to file operations and won't give the Common Dialog Box a chance to shut down before moving on and reading the file. Since the file I am trying to read is rather large the program just sits there with the Common Dialog Box open until it is done reading. The user of the program will think it has crashed.
I have also tried creating a progress bar but the Common Dialog Box stays open regardless.
Any suggestions? Thanks in advance.
Last edited by Hack; Mar 30th, 2006 at 10:47 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|