473,320 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Locked folders

I have created some folders and some files using VB.net 2003 and I want to
delete everything after I have finished but I can't deleat the folders
because there is a .lck file in each one.

Thanks in advance for any help.

Malcolm
Feb 12 '07 #1
8 1172
Do you mean you have a database open within these folders?

What type of files were created within them?

--
Newbie Coder
(It's just a name)
Feb 12 '07 #2
fuck dotnet it doesn't work right anywhere

and the framework is not on any machines

-Larry

Feb 13 '07 #3
anything that prohibits you from deleting files or folders when you
have permissions is MALWARE by definition
uninstall DOTNET _CRAP_

Feb 13 '07 #4
Larry Linson schreef:
anything that prohibits you from deleting files or folders when you
have permissions is MALWARE by definition
uninstall DOTNET _CRAP_
It has nothing to do with .NET, you just can't delete non-empty folders.
--
Rinze van Huizen
C-Services Holland b.v
Feb 13 '07 #5
sorry dog

I can delete non-empty folders
RIGHT CLICK DELETE

On Feb 13, 4:49 am, "C-Services Holland b.v."
<cshNOSPAMPLE...@csh4u.nlwrote:
Larry Linson schreef:
anything that prohibits you from deleting files or folders when you
have permissions is MALWARE by definition
uninstall DOTNET _CRAP_

It has nothing to do with .NET, you just can't delete non-empty folders.

--
Rinze van Huizen
C-Services Holland b.v

Feb 14 '07 #6
Hi Thanks for the reply. It is not a database the files are created to
resolve linked paths then once the files are resolved they are relocated and
everything deleted. The problem is the lock files prevent me deleting the
folders all the files are deleted OK. Closing the program deletes the lock
files and i can manually delete the folders.
I need to delete the folders while the program is running.

"Newbie Coder" wrote:
Do you mean you have a database open within these folders?

What type of files were created within them?

--
Newbie Coder
(It's just a name)
Feb 14 '07 #7
Larry Linson schreef:
sorry dog

I can delete non-empty folders
RIGHT CLICK DELETE
Yes pooch, in explorer, because explorer does recursive delete. Try
deleting a non empty folder in VB6, you can't.
--
Rinze van Huizen
C-Services Holland b.v
Feb 14 '07 #8
Mack wrote:
Hi Thanks for the reply. It is not a database the files are created to
resolve linked paths then once the files are resolved they are relocated and
everything deleted. The problem is the lock files prevent me deleting the
folders all the files are deleted OK. Closing the program deletes the lock
files and i can manually delete the folders.
I need to delete the folders while the program is running.
Then I guess you'll have to provide more information on how you're
creating those folders, and to which code you're passing them... It
seems it's a specific issue of the actual code you're using.

Regards,

Branco.

Feb 14 '07 #9

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

Similar topics

2
by: Ken Durden | last post by:
I'm setting up an interface where clients must perform external locking before calling certain commands. I do this to force them to specify the duration the action they performed must persist...
7
by: Andrea Moro | last post by:
I'm writing my first windows control library. A simple textbox with some numeric facilities. Well, there is a strange thing that happen. I want to add a locked property. As many other property,...
10
by: Martin Ho | last post by:
I am running into one really big problem. I wrote a script in vb.net to make a copy of folders and subfolder to another destination: - in 'from.txt' I specify which folders to copy - in...
8
by: kevin.vaughan | last post by:
Good Afternoon Everyone, Could someone please explain why I can't set the Subform control Visible attribute to False as below? The statement for the locked attributes work but not for the...
1
by: =?Utf-8?B?UmFjaW5yaG9uZGE=?= | last post by:
I had a hard drive failure and had to re-load Microsoft Office XP. When I first loaded, I had no data files so I imported my pst files from my old hard drive and now I have double of everything...
1
by: veeves | last post by:
I am using Access 2000 and 2002. I use Access only to create the database design. Then I move the MDB file to a server where an application connects to it using ASP.Net. Occasionally I will...
8
by: litespeed | last post by:
It seems that I am locked out of my database. I am not an advanced ACCESS user but did develop a fairly decent database that meets the needs of my job. I set up security at the beginning when I...
6
by: ljstern | last post by:
Hello. I am using MS Access 2003 with XP/pro. I have a form that has the following properties set through the property sheet: form: AllowAdditions = False CartridgeID field: Locked = True ...
11
by: fniles | last post by:
One of our application uses VB6 and Access97 database. Another application uses VB.NET 2005. This morning for about 15 seconds when the application tries to read either a query or a table from the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.