473,654 Members | 3,062 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 2918

If you try to delete the exe it will fail.

Did you make sure that these files are not protected?

"Dan" <Da*@discussion s.microsoft.com wrote in message
news:4B******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:4B******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:4B******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:4B******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:B2******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:4B******* *************** ************@mi crosoft.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*@discussion s.microsoft.com wrote in message
news:B2******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:4B******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com schreef in bericht
news:61******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:4B******* *************** ************@mi crosoft.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*@discussion s.microsoft.com wrote in message
news:C3******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:B2******* *************** ************@mi crosoft.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*@discussion s.microsoft.com wrote in message
news:4B******* *************** ************@mi crosoft.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*@discussion s.microsoft.com wrote in message
news:C3******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:B2******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:4B******** *************** ***********@mic rosoft.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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3649
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 performance reasons, I do not want to store binary files in the db (cuz there will be frequently retrieved and stored and many will be within the range of 10 MB - powerpoint slides and pdf files) so uploaded files will have to stay on the front end web...
2
28443
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 is the command for the same. thanks Regards umesh
0
2091
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. Once the compare is complete the file that was copied to a temp location needs to be deleted. I am using the method file.copy(sourcePath, tempPath, true) to copy the file and then file.delete(tempPath) to delete the file. On some of the files...
1
1469
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 a_file1 a_file2 Directory1_1 b_file1
1
1156
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 C: If somebody has any idea... Thanks....
2
4743
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 file sharing. And have specified the "Allow network users to change my files." option as well. Then on my laptop (xp home sp2) I have mapped a network drive using windows explorer. So on my laptop I have a Y: drive that points to the "Visual...
4
4221
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 the 2 of them together. This is what I tried: Sub Page_Load(.....) Dim dInfo As DirectoryInfo dInfo = New DirectoryInfo(Server.MapPath(MyDir))
1
1583
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 asks if i want to delete or keep files. i select delete files and then confirm the deletion of the account. it will sit there for a minute and then say "not responding". i have deleted accounts before, and for some reason it just freezes and...
5
33149
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 f.Delete() --error "the directory is not empty" End If How can I delete a folder with files underneath it ? Thank you.
0
8375
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8707
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8482
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2714
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1593
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.