ZIP.DirectoryDLL = "Set Directory"


ZIP.DirectoryDLL = "Set Directory"

Postby riddick on Wed Oct 20, 2004 1:25 pm

Hello

my problem is:
my ISP do not allow to register any dll´s. so i want to try this syntax:
ZIP.DirectoryDLL = "Set Directory"

my code:
line
24 set ZIP = server.createobject("aspZip.EasyZIP")
25 ZIP.DirectoryDLL =server.MapPath("/zip/unzdll.dll")

i got this answer:
Serverobjekt- Fehler "ASP 0177 : 800401f3"

Server.CreateObject-Fehler

/zip/unzip.asp, line 24

Wrong ProgID additional information on microsoft .....

Is there anybody out there who can explain the right syntax?

i tried many combinations, but there was no solution.


thanx
riddick
riddick
 
Posts: 5
Joined: Wed Oct 20, 2004 1:17 pm

Postby John on Thu Oct 21, 2004 11:13 am

You should register the easyzip.dll before using it;

regsvr32 easyzip.dll
John
 
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain

Postby riddick on Thu Oct 21, 2004 3:30 pm

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by John</i>
<br />You should register the easyzip.dll before using it;

regsvr32 easyzip.dll
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

i know, but i want to register only the unzip dll.
i want to register it only for some users not for all.
so i thought, i could register the dll in a different folder.
for example:

d:compzipundll.dll

is this possible?

i don´t know how.

and another question is:
what is the code to call this dll in an asp-site?

my attempt:
set ZIP = server.createobject("aspZip.EasyZIP")
ZIP.DirectoryDLL = "D:compzipunzdll.dll"

thanx for help
riddick
 
Posts: 5
Joined: Wed Oct 20, 2004 1:17 pm

Postby John on Fri Oct 22, 2004 10:14 am

Yes you can do that, just copy the unzip.dll at D:compzip and give read permission to the IIS user.

set ZIP = server.createobject("aspZip.EasyZIP")
ZIP.DirectoryDLL = "D:compzip"
John
 
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain

Postby riddick on Fri Oct 22, 2004 10:31 am

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by John</i>
<br />Yes you can do that, just copy the unzip.dll at D:compzip and give read permission to the IIS user.

set ZIP = server.createobject("aspZip.EasyZIP")
ZIP.DirectoryDLL = "D:compzip"


<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

and what is the right code to register these dll´s
for d:compzip

for example:
regsrv32 D:compzipunzdll.dll
is that right?

even if i try to register this way, i get an error.

"d:compzipunzdll.dll was loaded, but the dllregisterserver entry
point was not found.

DLLRegisterServer may not be exported, or a corrupt version of
d:compzipunzdll.dll may be in memory. Consider using PView to detect and remove it"

where´s my fault?

thanx
riddick
 
Posts: 5
Joined: Wed Oct 20, 2004 1:17 pm

Postby John on Fri Oct 22, 2004 10:51 am

The unzdll.dll is not registered dll, is just a support file (lib) for the aspEasyZIP. You don't need to register it.

Just register the easyzip.dll, that's all.
John
 
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain

Postby riddick on Fri Oct 22, 2004 11:18 am

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by John</i>
<br />The unzdll.dll is not registered dll, is just a support file (lib) for the aspEasyZIP. You don't need to register it.

Just register the easyzip.dll, that's all.
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

hi john,
i´ve registered aspeasyzip.
but now following error happened:
"VBScript- Error '800a01b6'
The Object don´t support the property or method :'DirectoryDLL'

line 39"

line
38 set ZIP = server.createobject("aspZip.EasyZIP")
39 ZIP.DirectoryDLL = "D:compzip"

where is the problem
riddick
 
Posts: 5
Joined: Wed Oct 20, 2004 1:17 pm

Postby John on Fri Oct 22, 2004 12:05 pm

Because it's ZIP.DLLDirectory = xxx and not ZIP.DirectoryDLL [:)]
John
 
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain

Postby riddick on Fri Oct 22, 2004 12:10 pm

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by John</i>
<br />Because it's ZIP.DLLDirectory = xxx and not ZIP.DirectoryDLL [:)]
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

thank u.
thats it!!!!!!!!!

[:D]
riddick
 
Posts: 5
Joined: Wed Oct 20, 2004 1:17 pm


Return to Zip

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Fatal error: Not able to open ./cache/data_global.php in D:\Hosting\6480136\html\ForosBB3\includes\acm\acm_file.php on line 106