|
-
Apr 11th, 2005, 12:10 PM
#1
Thread Starter
New Member
TreeView Hangs
I'm using the TreeView control to display a list of airports worldwide. The fields include:
Country, State/Prov, City, Airport
The source is a simple text file. The total number of Airports locations is 23,821. The Tree loads up and displays all the airports correctly. The problem occurs when you end the program. If you close it while in VB6 it freezes VB6 for close to two minutes. (You can run other apps during this time, only VB6 is frozen). If you compile the program and run it outside of VB the same problem occurs. When you end the program it clears the screen immedialtey but if you pull up the task list the program still shows as loaded and running. After a short delay the program then shows as still loaded but "not responding". It does eventually close. (On closing I "unload" the form and then "End" the program).
If I limit the number of Airports displayed the "Hang" time is reduced accordingly. Could this be related to some kind of memory problem? Does the TreeView have a maximum number of branches? Never had this problem before. Any ideas?
Thanks,
Dave W
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
|