|
-
Jul 3rd, 2003, 02:37 AM
#1
Thread Starter
Hyperactive Member
UnZip - Info-Zip
Hello
I have an app that I'm trying to write code for an autoupdate feature. I have the part done that goes and gets the file from the web page. But the file is zipped so I now need to unzip it. I want it to be fully automatic and all the user sees is the progress bar. I downloaded the Info-Zip dll, modules, classes and code. This is how they say is should be set up to use for unzipping:
Code:
Private WithEvents m_cUnzip As cUnzip
Dim sFIle As String, sFolder As String
sFIle = App.Path & "\Databases\" & DBString
sFolder = App.Path & "\Databases\"
' Set the zip file:
m_cUnzip.ZipFile = sFIle
' Set the base folder to unzip to:
m_cUnzip.UnzipFolder = sFolder
' Unzip the file!
m_cUnzip.Unzip
But when I run it I get:
Object variable or With block variable not set (Error 91)
Debug points to the Line
Code:
m_cUnzip.ZipFile = sFIle
I've tried some diffferent set statements but I can't get it to work.
Any Ideas?
Thanks
David
-
Jul 5th, 2003, 10:26 AM
#2
Lively Member
tried this?
Private WithEvents m_cUnzip As New cUnzip
-
Jul 14th, 2003, 03:36 PM
#3
Frenzied Member
-
Jul 15th, 2003, 10:42 PM
#4
Lively Member
Personally, I'd recommend cab10.dll, which you can get info on here
Dont shoot me ... its just easier, thats all. And win95 compatible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|