Home All Groups Group Topic Archive Search About

Can't delete VB.NET directories & files...

Author
20 Jul 2006 9:17 PM
Dan
Hi - I'm about a week into learning VB.NET, and I'm finding I can't delete
any of the VB.NET directory structures that contain my test projects I've
been trying to create.  I've never seen this before...  Whenever I try, it
says something like "access is denied" and "make sure the disk is not
write-protected and file is not currently in use".  Is there something VB.NET
does that would cause this?  I'm starting to build up a bunch of test
directories that I no longer need.

Any help on this would be greatly appreciated.

Dan

Author
20 Jul 2006 10:47 PM
Samuel Shulman
If you try to delete the exe it will fail.

Did you make sure that these files are not protected?

Show quoteHide quote
"Dan" <D**@discussions.microsoft.com> wrote in message
news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
> Hi - I'm about a week into learning VB.NET, and I'm finding I can't delete
> any of the VB.NET directory structures that contain my test projects I've
> been trying to create.  I've never seen this before...  Whenever I try, it
> says something like "access is denied" and "make sure the disk is not
> write-protected and file is not currently in use".  Is there something
> VB.NET
> does that would cause this?  I'm starting to build up a bunch of test
> directories that I no longer need.
>
> Any help on this would be greatly appreciated.
>
> Dan
Author
21 Jul 2006 2:42 PM
Dan
Hi - I can't delete anything in those directories, whether or not it's an
..exe.  For some reason something's got a lock on them.  Do you know of a way
to check what's using a file or directory?  Also, how do you make sure a
file's not protected?  I can right-click and choose properties on any of
them, and make sure they're not set to "read-only".  Is there anything else I
can try?


Thanks a lot!


Dan





Show quoteHide quote
"Samuel Shulman" wrote:

>
> If you try to delete the exe it will fail.
>
> Did you make sure that these files are not protected?
>
> "Dan" <D**@discussions.microsoft.com> wrote in message
> news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
> > Hi - I'm about a week into learning VB.NET, and I'm finding I can't delete
> > any of the VB.NET directory structures that contain my test projects I've
> > been trying to create.  I've never seen this before...  Whenever I try, it
> > says something like "access is denied" and "make sure the disk is not
> > write-protected and file is not currently in use".  Is there something
> > VB.NET
> > does that would cause this?  I'm starting to build up a bunch of test
> > directories that I no longer need.
> >
> > Any help on this would be greatly appreciated.
> >
> > Dan
>
>
>
Author
21 Jul 2006 3:06 PM
Samuel Shulman
Did you try resetting the Read Only property of the files?




Show quoteHide quote
"Dan" <D**@discussions.microsoft.com> wrote in message
news:B20FFE3B-5958-40F3-96D6-D860EED64BD0@microsoft.com...
> Hi - I can't delete anything in those directories, whether or not it's an
> .exe.  For some reason something's got a lock on them.  Do you know of a
> way
> to check what's using a file or directory?  Also, how do you make sure a
> file's not protected?  I can right-click and choose properties on any of
> them, and make sure they're not set to "read-only".  Is there anything
> else I
> can try?
>
>
> Thanks a lot!
>
>
> Dan
>
>
>
>
>
> "Samuel Shulman" wrote:
>
>>
>> If you try to delete the exe it will fail.
>>
>> Did you make sure that these files are not protected?
>>
>> "Dan" <D**@discussions.microsoft.com> wrote in message
>> news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
>> > Hi - I'm about a week into learning VB.NET, and I'm finding I can't
>> > delete
>> > any of the VB.NET directory structures that contain my test projects
>> > I've
>> > been trying to create.  I've never seen this before...  Whenever I try,
>> > it
>> > says something like "access is denied" and "make sure the disk is not
>> > write-protected and file is not currently in use".  Is there something
>> > VB.NET
>> > does that would cause this?  I'm starting to build up a bunch of test
>> > directories that I no longer need.
>> >
>> > Any help on this would be greatly appreciated.
>> >
>> > Dan
>>
>>
>>
Author
21 Jul 2006 3:24 PM
Dan
I just figured out why...  these file and folders are subdirectories of a
folder that I have protected by EPF (Encryption Plus Folders) software. 
Sorry for taking up your time with this, but I really appreciate your help
and ideas.

Take care -

Dan



Show quoteHide quote
"Samuel Shulman" wrote:

> Did you try resetting the Read Only property of the files?
>
>
>
>
> "Dan" <D**@discussions.microsoft.com> wrote in message
> news:B20FFE3B-5958-40F3-96D6-D860EED64BD0@microsoft.com...
> > Hi - I can't delete anything in those directories, whether or not it's an
> > .exe.  For some reason something's got a lock on them.  Do you know of a
> > way
> > to check what's using a file or directory?  Also, how do you make sure a
> > file's not protected?  I can right-click and choose properties on any of
> > them, and make sure they're not set to "read-only".  Is there anything
> > else I
> > can try?
> >
> >
> > Thanks a lot!
> >
> >
> > Dan
> >
> >
> >
> >
> >
> > "Samuel Shulman" wrote:
> >
> >>
> >> If you try to delete the exe it will fail.
> >>
> >> Did you make sure that these files are not protected?
> >>
> >> "Dan" <D**@discussions.microsoft.com> wrote in message
> >> news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
> >> > Hi - I'm about a week into learning VB.NET, and I'm finding I can't
> >> > delete
> >> > any of the VB.NET directory structures that contain my test projects
> >> > I've
> >> > been trying to create.  I've never seen this before...  Whenever I try,
> >> > it
> >> > says something like "access is denied" and "make sure the disk is not
> >> > write-protected and file is not currently in use".  Is there something
> >> > VB.NET
> >> > does that would cause this?  I'm starting to build up a bunch of test
> >> > directories that I no longer need.
> >> >
> >> > Any help on this would be greatly appreciated.
> >> >
> >> > Dan
> >>
> >>
> >>
>
>
>
Author
21 Jul 2006 4:25 PM
Michael D. Ober
That doesn't make sense.  I just deleted folders and files that are
encrypted.  The file system was on a "foreign" XP system and I connected via
the C$ share.  My user on that system is completely helpless when it comes
to managing her files.

Mike Ober.

Show quoteHide quote
"Dan" <D**@discussions.microsoft.com> wrote in message
news:C352A612-5FC9-40B3-81D9-322F708E44B1@microsoft.com...
>I just figured out why...  these file and folders are subdirectories of a
> folder that I have protected by EPF (Encryption Plus Folders) software.
> Sorry for taking up your time with this, but I really appreciate your help
> and ideas.
>
> Take care -
>
> Dan
>
>
>
> "Samuel Shulman" wrote:
>
>> Did you try resetting the Read Only property of the files?
>>
>>
>>
>>
>> "Dan" <D**@discussions.microsoft.com> wrote in message
>> news:B20FFE3B-5958-40F3-96D6-D860EED64BD0@microsoft.com...
>> > Hi - I can't delete anything in those directories, whether or not it's
>> > an
>> > .exe.  For some reason something's got a lock on them.  Do you know of
>> > a
>> > way
>> > to check what's using a file or directory?  Also, how do you make sure
>> > a
>> > file's not protected?  I can right-click and choose properties on any
>> > of
>> > them, and make sure they're not set to "read-only".  Is there anything
>> > else I
>> > can try?
>> >
>> >
>> > Thanks a lot!
>> >
>> >
>> > Dan
>> >
>> >
>> >
>> >
>> >
>> > "Samuel Shulman" wrote:
>> >
>> >>
>> >> If you try to delete the exe it will fail.
>> >>
>> >> Did you make sure that these files are not protected?
>> >>
>> >> "Dan" <D**@discussions.microsoft.com> wrote in message
>> >> news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
>> >> > Hi - I'm about a week into learning VB.NET, and I'm finding I can't
>> >> > delete
>> >> > any of the VB.NET directory structures that contain my test projects
>> >> > I've
>> >> > been trying to create.  I've never seen this before...  Whenever I
>> >> > try,
>> >> > it
>> >> > says something like "access is denied" and "make sure the disk is
>> >> > not
>> >> > write-protected and file is not currently in use".  Is there
>> >> > something
>> >> > VB.NET
>> >> > does that would cause this?  I'm starting to build up a bunch of
>> >> > test
>> >> > directories that I no longer need.
>> >> >
>> >> > Any help on this would be greatly appreciated.
>> >> >
>> >> > Dan
>> >>
>> >>
>> >>
>>
>>
>>
Author
21 Jul 2006 8:53 PM
Dan
Hi Michael -

I guess it depends on the encryption s/w you're using.  From the Help file
in EPF:

"Folders that are included in the Protected Folders List are protected from
having their attributes changed, which includes copying, moving, renaming, or
deleting the folder."


Take care -

Dan




Show quoteHide quote
"Michael D. Ober" wrote:

> That doesn't make sense.  I just deleted folders and files that are
> encrypted.  The file system was on a "foreign" XP system and I connected via
> the C$ share.  My user on that system is completely helpless when it comes
> to managing her files.
>
> Mike Ober.
>
> "Dan" <D**@discussions.microsoft.com> wrote in message
> news:C352A612-5FC9-40B3-81D9-322F708E44B1@microsoft.com...
> >I just figured out why...  these file and folders are subdirectories of a
> > folder that I have protected by EPF (Encryption Plus Folders) software.
> > Sorry for taking up your time with this, but I really appreciate your help
> > and ideas.
> >
> > Take care -
> >
> > Dan
> >
> >
> >
> > "Samuel Shulman" wrote:
> >
> >> Did you try resetting the Read Only property of the files?
> >>
> >>
> >>
> >>
> >> "Dan" <D**@discussions.microsoft.com> wrote in message
> >> news:B20FFE3B-5958-40F3-96D6-D860EED64BD0@microsoft.com...
> >> > Hi - I can't delete anything in those directories, whether or not it's
> >> > an
> >> > .exe.  For some reason something's got a lock on them.  Do you know of
> >> > a
> >> > way
> >> > to check what's using a file or directory?  Also, how do you make sure
> >> > a
> >> > file's not protected?  I can right-click and choose properties on any
> >> > of
> >> > them, and make sure they're not set to "read-only".  Is there anything
> >> > else I
> >> > can try?
> >> >
> >> >
> >> > Thanks a lot!
> >> >
> >> >
> >> > Dan
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > "Samuel Shulman" wrote:
> >> >
> >> >>
> >> >> If you try to delete the exe it will fail.
> >> >>
> >> >> Did you make sure that these files are not protected?
> >> >>
> >> >> "Dan" <D**@discussions.microsoft.com> wrote in message
> >> >> news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
> >> >> > Hi - I'm about a week into learning VB.NET, and I'm finding I can't
> >> >> > delete
> >> >> > any of the VB.NET directory structures that contain my test projects
> >> >> > I've
> >> >> > been trying to create.  I've never seen this before...  Whenever I
> >> >> > try,
> >> >> > it
> >> >> > says something like "access is denied" and "make sure the disk is
> >> >> > not
> >> >> > write-protected and file is not currently in use".  Is there
> >> >> > something
> >> >> > VB.NET
> >> >> > does that would cause this?  I'm starting to build up a bunch of
> >> >> > test
> >> >> > directories that I no longer need.
> >> >> >
> >> >> > Any help on this would be greatly appreciated.
> >> >> >
> >> >> > Dan
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>
Author
24 Jul 2006 12:53 PM
Michael D. Ober
EPF must be an add-on to Windows.  The native Windows Encrypted File System
doesn't protect against deletion.

Mike.

Show quoteHide quote
"Dan" <D**@discussions.microsoft.com> wrote in message
news:E1BF8AFD-B23C-4A09-83D0-6DF3FDE45B67@microsoft.com...
> Hi Michael -
>
> I guess it depends on the encryption s/w you're using.  From the Help file
> in EPF:
>
> "Folders that are included in the Protected Folders List are protected
> from
> having their attributes changed, which includes copying, moving, renaming,
> or
> deleting the folder."
>
>
> Take care -
>
> Dan
>
>
>
>
> "Michael D. Ober" wrote:
>
>> That doesn't make sense.  I just deleted folders and files that are
>> encrypted.  The file system was on a "foreign" XP system and I connected
>> via
>> the C$ share.  My user on that system is completely helpless when it
>> comes
>> to managing her files.
>>
>> Mike Ober.
>>
>> "Dan" <D**@discussions.microsoft.com> wrote in message
>> news:C352A612-5FC9-40B3-81D9-322F708E44B1@microsoft.com...
>> >I just figured out why...  these file and folders are subdirectories of
>> >a
>> > folder that I have protected by EPF (Encryption Plus Folders) software.
>> > Sorry for taking up your time with this, but I really appreciate your
>> > help
>> > and ideas.
>> >
>> > Take care -
>> >
>> > Dan
>> >
>> >
>> >
>> > "Samuel Shulman" wrote:
>> >
>> >> Did you try resetting the Read Only property of the files?
>> >>
>> >>
>> >>
>> >>
>> >> "Dan" <D**@discussions.microsoft.com> wrote in message
>> >> news:B20FFE3B-5958-40F3-96D6-D860EED64BD0@microsoft.com...
>> >> > Hi - I can't delete anything in those directories, whether or not
>> >> > it's
>> >> > an
>> >> > .exe.  For some reason something's got a lock on them.  Do you know
>> >> > of
>> >> > a
>> >> > way
>> >> > to check what's using a file or directory?  Also, how do you make
>> >> > sure
>> >> > a
>> >> > file's not protected?  I can right-click and choose properties on
>> >> > any
>> >> > of
>> >> > them, and make sure they're not set to "read-only".  Is there
>> >> > anything
>> >> > else I
>> >> > can try?
>> >> >
>> >> >
>> >> > Thanks a lot!
>> >> >
>> >> >
>> >> > Dan
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > "Samuel Shulman" wrote:
>> >> >
>> >> >>
>> >> >> If you try to delete the exe it will fail.
>> >> >>
>> >> >> Did you make sure that these files are not protected?
>> >> >>
>> >> >> "Dan" <D**@discussions.microsoft.com> wrote in message
>> >> >> news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
>> >> >> > Hi - I'm about a week into learning VB.NET, and I'm finding I
>> >> >> > can't
>> >> >> > delete
>> >> >> > any of the VB.NET directory structures that contain my test
>> >> >> > projects
>> >> >> > I've
>> >> >> > been trying to create.  I've never seen this before...  Whenever
>> >> >> > I
>> >> >> > try,
>> >> >> > it
>> >> >> > says something like "access is denied" and "make sure the disk is
>> >> >> > not
>> >> >> > write-protected and file is not currently in use".  Is there
>> >> >> > something
>> >> >> > VB.NET
>> >> >> > does that would cause this?  I'm starting to build up a bunch of
>> >> >> > test
>> >> >> > directories that I no longer need.
>> >> >> >
>> >> >> > Any help on this would be greatly appreciated.
>> >> >> >
>> >> >> > Dan
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>
Author
21 Jul 2006 12:50 PM
Michael D. Ober
Reboot and then delete them before you open VStudio.

Mike.

Show quoteHide quote
"Dan" <D**@discussions.microsoft.com> wrote in message
news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
> Hi - I'm about a week into learning VB.NET, and I'm finding I can't delete
> any of the VB.NET directory structures that contain my test projects I've
> been trying to create.  I've never seen this before...  Whenever I try, it
> says something like "access is denied" and "make sure the disk is not
> write-protected and file is not currently in use".  Is there something
> VB.NET
> does that would cause this?  I'm starting to build up a bunch of test
> directories that I no longer need.
>
> Any help on this would be greatly appreciated.
>
> Dan
Author
21 Jul 2006 2:40 PM
Dan
Hi - rebooting doesn't help.  For some reason something's got a lock on them.
Do you know of a way to check what's using a file or directory?



Show quoteHide quote
"Michael D. Ober" wrote:

> Reboot and then delete them before you open VStudio.
>
> Mike.
>
> "Dan" <D**@discussions.microsoft.com> wrote in message
> news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
> > Hi - I'm about a week into learning VB.NET, and I'm finding I can't delete
> > any of the VB.NET directory structures that contain my test projects I've
> > been trying to create.  I've never seen this before...  Whenever I try, it
> > says something like "access is denied" and "make sure the disk is not
> > write-protected and file is not currently in use".  Is there something
> > VB.NET
> > does that would cause this?  I'm starting to build up a bunch of test
> > directories that I no longer need.
> >
> > Any help on this would be greatly appreciated.
> >
> > Dan
>
>
>
Author
21 Jul 2006 3:29 PM
Cor Ligthert [MVP]
Dan,

With what are you deleting those files?

Cor

Show quoteHide quote
"Dan" <D**@discussions.microsoft.com> schreef in bericht
news:61D9C835-5812-47BA-BE2A-2FC99E607184@microsoft.com...
> Hi - rebooting doesn't help.  For some reason something's got a lock on
> them.
> Do you know of a way to check what's using a file or directory?
>
>
>
> "Michael D. Ober" wrote:
>
>> Reboot and then delete them before you open VStudio.
>>
>> Mike.
>>
>> "Dan" <D**@discussions.microsoft.com> wrote in message
>> news:4BB54A6C-5082-4101-96E2-0F50462C9A4F@microsoft.com...
>> > Hi - I'm about a week into learning VB.NET, and I'm finding I can't
>> > delete
>> > any of the VB.NET directory structures that contain my test projects
>> > I've
>> > been trying to create.  I've never seen this before...  Whenever I try,
>> > it
>> > says something like "access is denied" and "make sure the disk is not
>> > write-protected and file is not currently in use".  Is there something
>> > VB.NET
>> > does that would cause this?  I'm starting to build up a bunch of test
>> > directories that I no longer need.
>> >
>> > Any help on this would be greatly appreciated.
>> >
>> > Dan
>>
>>
>>