M MTmace Member Joined Feb 1, 2005 Messages 9 Programming Experience Beginner Nov 8, 2005 #1 I need to completely remove a dataset from my application. I tried the following: Me.dsLossNotice.Clear() Me.dsLossNotice.Dispose() That only seems to clear the data. Thanks, MTmace
I need to completely remove a dataset from my application. I tried the following: Me.dsLossNotice.Clear() Me.dsLossNotice.Dispose() That only seems to clear the data. Thanks, MTmace
S sevenhalo Well-known member Joined Oct 21, 2005 Messages 137 Location Iowa Programming Experience 3-5 Nov 8, 2005 #2 That's all you need to do. The garbage collecter handles the rest. It doesn't immediately run, but disposing of a control marks it to be collected. As far a modifying the garbage collecter and forcing it to run, you're on your own. That's one of the things that MS explicitly says not to mess with. Upvote 0 Downvote
That's all you need to do. The garbage collecter handles the rest. It doesn't immediately run, but disposing of a control marks it to be collected. As far a modifying the garbage collecter and forcing it to run, you're on your own. That's one of the things that MS explicitly says not to mess with.
A aniskhan Well-known member Joined Oct 24, 2005 Messages 90 Location D.I.Khan Programming Experience 1-3 Nov 8, 2005 #3 re DISPOSE releases all the resources CLEAR clear all the rows in table you can add a control but can't remove it from application ,if can then HOW?? Upvote 0 Downvote
re DISPOSE releases all the resources CLEAR clear all the rows in table you can add a control but can't remove it from application ,if can then HOW??