Question : Dispose
Hi,
(1) are all objects created inside the code of a form disposed once the form itself is disposed ? (The question includes datasets, dataadapters, tables, arrays etc., etc.)
(2) The same questions goes for a procedure that creates a large array (with redim, for example). Once the procedure ends, what happens with the memory the variables inside the procedure has used ? Should the array be disposed of manually ?
(3) Can one view the ammount of memory used at debug-time ?
Cheers,
Mike
|