rekam
Freshman
Hello !
I'm actually creating windows.Form elements at runtime.
The thing is, when I change the selected item of a TreeView, all elements are killed and recreated (there are more or less of them depending of the selected item).
After a few minute changing the selected item, if I look to the memory process, it uses 100 Mb !! Gasp !
When I create elements, I put them in an array. The first line of the method which create them is Redim myArray(quantity).
It seems this is not enough to really delete them from the memory. So what should I do ?
Thanks !
I'm actually creating windows.Form elements at runtime.
The thing is, when I change the selected item of a TreeView, all elements are killed and recreated (there are more or less of them depending of the selected item).
After a few minute changing the selected item, if I look to the memory process, it uses 100 Mb !! Gasp !
When I create elements, I put them in an array. The first line of the method which create them is Redim myArray(quantity).
It seems this is not enough to really delete them from the memory. So what should I do ?
Thanks !