:: On Thu, 10 Feb 2022 09:54:30 -0800
:: (microsoft.public.vb.general.discussion)
:: <su3jgp$19gn$
1...@gioia.aioe.org>
:: Aoli <Ao...@Aoli.com> wrote:
> Usually if I exit the IDE and restart the IDE, the problem will be
> gone. This time the file remains locked even though in the IDE I set
> attributes to vbNormal then it still fails to Kill.
This means that something is holding a handle on the file and/or it's
open in exclusive mode (locked) by something; for example if you open
the file inside a separate object or spawned process, if your program
crashes, the separate object/process may still be alive in memory and
holding the file open