Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

objShell.Namespace(zipfile)

Status
Not open for further replies.

Troy28M

Programmer
Jan 24, 2005
24
0
0
US
I have code that pulls a zip file from my web server and then using the CopyHere command, I unzip the file to another location. The problem is that about 5 percent of the machines, the objShell.Namespace(zipfile) is returning the "file not found", err number -2147024894.

Like I said, most of the systems run this without issue but the 5% are giving me a headache. The file is sitting there and still unable to Set it.

Any ideas?

myZipFile = "D:\Justzipped.zip"
Set objSource = objShell.NameSpace( myZipFile ).Items( )
 
Does anyone know how to use winzip to extract files from a zip. Just trying to find a way to get the files without the namespace technique, since some systems will not allow it.

 

Native ZIP support is for WinXP or better...you probably already know this...just throwing it out there again.



--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Thank you dm4ever! I knew it was something very simple and that last S is how I am feeling now.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top