All I need to do is zip up an Excel file. The code I am using is this:
Dim myZipper As New FastZip
myZipper.CreateZip(txtFilePath.Text, "C:\", True, "")
It seems like simple enough code, I took it from the wiki under resources (thanks for that by the way). The full error message is this:
"The process cannot access the file 'C:\hiberfil.sys' because it is being used by another process."
I have no idea why it would need to access a system file that is associated with hibernation. I am working on a lap top FYI, using XP, VS2008 and programming in VB.Net obviously. I've read a couple of pages after googling this error message which suggest deleting the file and trying again but it is in use apparantly but I dont know what by. And even if this did fix my issue, would it happen again another time or on other machines once I publish the application?
If anyone could point me in the right direction, I'd appreciate it.