RE: vfp, dynazip and windows7

Author: Jerry Foote

Posted: 2011-02-24 at 13:22:51

That worked..

If I distribute the dlls does the customer have to register dlls that way.

Also I have been playing with chilkat zip tool. The syntax for zipping a

folder is below.

Can I use dynazip the same way? I have always used a form. I like the code

with procedures. I don't want to spend 149.00

Thanks Jerry

============================================================

Procedure zip_folder

PARAMETERS source_folder,what_filename,passcode

*passcode ='anything for 30-day trial'

*what_filename="myZip.zip"

*source_folder="C:\DOWNLOADS\*.*"

LOCAL zip

zip = CreateObject('Chilkat.Zip2')

zip.UnlockComponent(passcode)

* Create a new Zip and append files and directories recursively.

zip.NewZip(what_filename)

zip.AppendFiles(source_folder,1)

zip.WriteZipAndClose

RELEASE zip

RETURN .T.

============================================================================

=

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf

Of Tracy Pearson

Sent: Thursday, February 24, 2011 12:01 PM

To: profox@leafe.com

Subject: RE: vfp, dynazip and windows7

Jerry Foote wrote on 2011-02-24:

> Tracy Do I run the cmd and then issue rergsvr32. What I have been doing

> I copied REGSVR32 to folder where the dlls are now.I then drag the dll

> to the regscr32. Usually that registers it. When I do that I get the

> message

> ---------------------------

> RegSvr32

> ---------------------------

> DllRegisterServer in C:\DynaZip NX\dzstactx.dll failed. Return code was:

> 0x80020009

> ---------------------------

> OK

> ---------------------------

> Thanks Jerry

>

Jerry,

There's the problem. Dragging runs as a standard user. This would only work

if you have turned UAC off. I don't do that.

Click Start > Type COMMAND > Right click the "Command Prompt" icon at the

top of the list > Select Run as administrator > Type the following command:

REGSVR32 "C:\DynaZip NX\dzstactx.dll"

If you get a success message, change the command for the other DLL's you

need to register.

Tracy Pearson

PowerChurch Software

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/18393F12D3BB43599A93BA4374D2A742@jerryfootePC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Jerry Foote