By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,727 Members | 766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,727 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Jul 20 '06 #1
Share this Question
Share on Google+
10 Replies


P: n/a

If you try to delete the exe it will fail.

Did you make sure that these files are not protected?

"Dan" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.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

Jul 20 '06 #2

P: n/a
Reboot and then delete them before you open VStudio.

Mike.

"Dan" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.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

Jul 21 '06 #3

P: n/a
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?

"Michael D. Ober" wrote:
Reboot and then delete them before you open VStudio.

Mike.

"Dan" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.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


Jul 21 '06 #4

P: n/a
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

"Samuel Shulman" wrote:
>
If you try to delete the exe it will fail.

Did you make sure that these files are not protected?

"Dan" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.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


Jul 21 '06 #5

P: n/a
Did you try resetting the Read Only property of the files?


"Dan" <Da*@discussions.microsoft.comwrote in message
news:B2**********************************@microsof t.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" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microso ft.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



Jul 21 '06 #6

P: n/a
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

"Samuel Shulman" wrote:
Did you try resetting the Read Only property of the files?


"Dan" <Da*@discussions.microsoft.comwrote in message
news:B2**********************************@microsof t.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" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.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


Jul 21 '06 #7

P: n/a
Dan,

With what are you deleting those files?

Cor

"Dan" <Da*@discussions.microsoft.comschreef in bericht
news:61**********************************@microsof t.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" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microso ft.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



Jul 21 '06 #8

P: n/a
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" <Da*@discussions.microsoft.comwrote in message
news:C3**********************************@microsof t.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" <Da*@discussions.microsoft.comwrote in message
news:B2**********************************@microso ft.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" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microso ft.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



Jul 21 '06 #9

P: n/a
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


"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" <Da*@discussions.microsoft.comwrote in message
news:C3**********************************@microsof t.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" <Da*@discussions.microsoft.comwrote in message
news:B2**********************************@microsof t.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" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.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



Jul 21 '06 #10

P: n/a
EPF must be an add-on to Windows. The native Windows Encrypted File System
doesn't protect against deletion.

Mike.

"Dan" <Da*@discussions.microsoft.comwrote in message
news:E1**********************************@microsof t.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" <Da*@discussions.microsoft.comwrote in message
news:C3**********************************@microso ft.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" <Da*@discussions.microsoft.comwrote in message
news:B2**********************************@microso ft.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" <Da*@discussions.microsoft.comwrote in message
news:4B**********************************@microso ft.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




Jul 24 '06 #11

This discussion thread is closed

Replies have been disabled for this discussion.