473,508 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
10 2905

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
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
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3639
by: Samuel | last post by:
I am building an web application that will be hosted on load balanced servers (multiple front and one backen db). The application will have to allow users to upload files onto the server. For...
2
28367
by: U C | last post by:
Hi, Can i delete files in cdump folder. Whats the basic use of having files in cdump folder. Is there any need to take backup when deleting the same. I am having solaris if we can delet then what...
0
2077
by: SeanR | last post by:
I have a function to copare two files. It will first copy the original file form a different server to a local temp path and then compare that version to a version that has been restored form tape....
1
1461
by: huzz | last post by:
I need to write script in c# that will scan directories for files and insert the files and directory names in the database.. I've have two tables tblDir and tblDocs. Example: -Directory1...
1
1146
by: ltt19 | last post by:
Hi Does anybody knows hot to Get all directories and files in a HDD. I took a look at System.IO.IsolatedStorage.IsolatedStoregeFile but I could not specify the HDD that i want (for example D: or...
2
4727
by: createdbyx | last post by:
I am trying to make a file sync utillity to sync files between my laptop and my desktop pc. On my desktop machine (xp pro sp2) I have shared my "Visual Studio Projects" folder using windows simple...
4
4190
by: rn5a | last post by:
I have a ListBox which should list all the files & directories that exist in a particular directory. The problem is I can get the ListBox to list either all the files or all the directories but not...
1
1563
by: =?Utf-8?B?SnVsaWE=?= | last post by:
i cannot delete some user accounts on my laptop. i am the computer administrator and these accounts im trying to delete are limited accounts. i select delete account in the user accounts and it...
5
33126
by: fniles | last post by:
I am using VB.NET 2005. When I try to delete a folder that has files underneath it, it gave me "the directory is not empty" error. f = New IO.DirectoryInfo("C:\myfolder") If f.Exists Then...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7499
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.