Re: how to remove a programmatically created DateTimePicker
- From: Branco <branco.medeiros@xxxxxxxxx>
- Date: Fri, 15 May 2009 07:53:58 -0700 (PDT)
Branco wrote:
Ouch! Maybe those warning to don't edit the message in the reader
itself are true after all. Sorry again for the message being sent
before it's finished. Turning to Notepad, now.
Branco wrote:<snip>
Cor Ligthert[MVP] wrote:
OOps, sorry for the unnedited message. Apparently my laptop got a life
of its own and sent the message while it was still being edited. Myff
appfollopgieffs toff efryonneff (takes off foot from mouth).
Branco,
No it does not, the reference has not any more meanings than being a
reference.
Exactly what "does not"? What are you answering to? Please, learn how
to quote when responding to a newsgroup message, this will make
everyone's life easier.
(The garbage collector runs by a time, by instance as there is low memory,
it is not a kind of processor occupier).
I'll do my best trying to translate this phrase, but don't blame me if
the meaning comes out wrong (next time, please try simpler phrases if
English is difficult for you):
"The garbage collector runs in time intervals, for instance when there
(I'll continue as if nothing had happened) =))
"The garbage collector runs in time intervals, for instance when there
is low memory. It's not a kid of" (what? sorry, can't get the meaning
of that).
It should be disposed, but be aware that the method dispose means dispose
unmanaged resources, that has not much to do with disposing an object,
disposing of an object is done by the GC.
I'm perfectly aware of what dispose does: it allows an object to free
resources -- memory handles, file handles, etc) which it may be
holding whithout the need to wait for the garbage collector to kick in
for those resources to be freed. Since the OP is holding reference at
form scope to a control (which means, a window handle, possibly a DC
handle, depending on how the control works, and who know what other
handles), then it does make sense to me that 1) the object myst be
disposed. Itthe variable must be assinged to nothing (that will allow
the GC to collect
.
- Follow-Ups:
- References:
- how to remove a programmatically created DateTimePicker
- From: Co
- Re: how to remove a programmatically created DateTimePicker
- From: Andrew Morton
- Re: how to remove a programmatically created DateTimePicker
- From: Co
- Re: how to remove a programmatically created DateTimePicker
- From: Cor Ligthert[MVP]
- Re: how to remove a programmatically created DateTimePicker
- From: Branco
- Re: how to remove a programmatically created DateTimePicker
- From: Cor Ligthert[MVP]
- Re: how to remove a programmatically created DateTimePicker
- From: Branco
- Re: how to remove a programmatically created DateTimePicker
- From: Branco
- how to remove a programmatically created DateTimePicker
- Prev by Date: Re: how to remove a programmatically created DateTimePicker
- Next by Date: Re: how to remove a programmatically created DateTimePicker
- Previous by thread: Re: how to remove a programmatically created DateTimePicker
- Next by thread: Re: how to remove a programmatically created DateTimePicker
- Index(es):
Relevant Pages
|