FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister  MasterVB.NET
Visual Basic 2005 .NET Forum
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Urgent Zip Program problem.
 
Post new topic   Reply to topic    MasterVB.NET Forum Index -> Windows Registry and File I/O
View previous topic :: View next topic  
Message
Author
sidewinder
Newbie
Joined: 19 Jul 2006
Posts: 1

PostPosted: Wed Jul 19, 2006 1:00 pm    
Post subject: Urgent Zip Program problem.
Reply with quote

Hi ,
I have written a program to zip files with Shell32 in C#.
The program zips the folders and then deletes the original folders.
The problem is that the folders are big in size ,each being atleast 10MB in size.
Now when the program starts the delete process it gives me that the folder cannot be deleted because it is being used by other process.
Now I think that the zip process is not completed and the delete process starts and hence the error.
Is there any way to know that the folders are not being used anymore and then i can proceed with the delete operation.
Or is there anything that will tell me that the zip prcess is over.
I am using the thread.sleep method but it aint helping.

Thanks



 

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MasterVB.NET Forum Index -> Windows Registry and File I/O All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Archieve

Powered by phpBB © 2001, 2002 phpBB Group, used in Visual Basic 2005 .NET Forum

| Visual Basic .NET Forum | Online Recipe Archiver | Shareware Freeware PAD | Lowongan Kerja | Kamus Online | Health Supply | Digital Camera Review |
Orang Paling Keren

RSS