I am using the Shell to display an FTP site folders structure which works well until just now when I ran into an FTP site that has 90000 folders.
After I retrieve the list of files from the ftp site, I create a new IShellObject for each item and add it to the parent folder by parentShell.Children.Add(newChildShell) and then do a parentShell.NotifyAdd(newChildShell). This works fine with hundreds of items but it locks up the application when there are 90000 folder items to add.
I noticed that the NotifyAdd is the one that is freezing up the application.
Do you have any suggestions?