| Dart Home | PowerTCP Zip Compression for .NET | Custom Development | Reply | PowerTCP Zip Compression for .NET Topics | Forums |
| Author | Forum: PowerTCP Zip Compression for .NET Topic: Archive1.open - now how to close it? |
| buckshaw From: Oviedo, FL USA Posts: 6 Member Since: 09/08/06 |
posted January 5, 2007 11:43 AM Hello, Advise if you will please. archive1.open(szFfile) I look in the archive1.items() and do not find my item. I would now like to close this archive and delete it. If I use: If System.IO.File.Exists(szFfile) Then System.IO.File.Delete(szFfile) End If I get the file in use by another process error. Sure, I know I should get archive1 to release this file, but how. I can not find it. Thank you. |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted January 5, 2007 12:11 PM Hello, I would suggest you to call Archive1.Clear and then try to delete the said archive. Do let me know if this is of help or not. Regards, Amit |
| buckshaw From: Oviedo, FL USA Posts: 6 Member Since: 09/08/06 |
posted January 5, 2007 12:48 PM Hey, archive1.clear archive1.reset Neither of the two solve the symptom. Same symptom. The documenttation suggests that these comamnds would apply to the archive1.items(x) I am on vs2003 VB and dotnet 1.1 Everything else I am doing with archive1. is working as expected. Tks |
| buckshaw From: Oviedo, FL USA Posts: 6 Member Since: 09/08/06 |
posted January 5, 2007 1:00 PM Hold on, My Bad. the archive.clear did work. I had used it in the wrong catch. archive1.unzip(sz) did not raise an error when there were items.count = 0 (nothing to unzip) I am ok with that. Plesee close this request and thank you for your time. |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted January 5, 2007 2:40 PM Hello, It is nice to hear that the response was helpful. Do let me know if you require further assistance/ clarifications. Regards, Amit |
| Reply | PowerTCP Zip Compression for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|