How to copy an object in a array?
- From: "Alain" <alain@xxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 14:26:57 +0100
Hello everybody.
Sorry for my bad english; my mother tongue is french.
I would like to keep a copy of an object in an array.
So, I do, for example:
set array(5) = my_file_object
but this code keeps a reference to this objet, not a copy of the object.
So, if a destroy my_file_object and if a do:
array(5).Delete
to delete my file, it don't work!
How can I keep a copy of my object to be able to do:
array(5).Delete
even if my_file_object is destroyed ?
Thanks a lot for your help.
Alain.
.
- Follow-Ups:
- Re: How to copy an object in a array?
- From: Paul Randall
- Re: How to copy an object in a array?
- From: Richard Mueller [MVP]
- Re: How to copy an object in a array?
- Prev by Date: Re: Reading Time zone offset
- Next by Date: Re: Add User to Local Administrators Group
- Previous by thread: Error 70 and error 424 trying to use Navigate2 or Shell.Application.Windows
- Next by thread: Re: How to copy an object in a array?
- Index(es):
Relevant Pages
|
Loading