[ RemoveHandler ] Needed ?

T

teo

Hallo,

I have used many time the AddHandler method (becuse I'm
buildin an array of controls).

Now I 'd like to know if I have to use the
RemoveHandler method.

In fact I use the array of control till I close my app,
and I think that when my app close,
all the AddHandler are automatically "discarded".

Any idea about the "need" of the RemoveHandler?
 
C

Cor Ligthert [MVP]

Teo,

No there is no need to remove the handlers when you are closing your
program.

I hope this helps,

Cor
 
T

teo

Thanks.

Another array question.

My array was declared as follow
Dim myArray (10)

on closing the app I have to
dscard it (like myArray = nothing or similar)
or there is no need to discard it
because it is discarded automatically?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top