From: John Martens on
Jamal,

I'm not so into Regsvr'ing DLL's. Why do I need to do this with this DLL
but with FabZip DLL's ?

John


Op 22-12-2009 19:09, Jamal schreef:
> John,
>
> I did not use it. However, I just tested now and it works fine in VO.
>
> 1. Regsvr32 xgzip.dll (a MUST as admin).
>
> 2. Create a wrapper in VO using the Tools menu, Automation Server, click
> the Type Lib, then select the xgzip.dll.
>
> Here is a sample:
>
> METHOD PushButton1( ) CLASS gzipwin
> LOCAL o AS igzip
> LOCAL uRetVal AS USUAL
>
> o := IGZip{}
>
> IF o:fInit
> o:Compress("c:\myfile.dbf", "c:\myfile.gzip")
>
> o := NULL_OBJECT
>
> InfoBox{,"", "Zipped "}:show()
> ELSE
> InfoBox{,"", "NOT Zipped"}:show()
>
> ENDIF
>
> RETURN NIL
>
> Use can also use late bound:
>
> local o as OleAutoObject
> o := OleAutoObject{"XStandard.GZip.1"}
>
> etc.
>
> Jamal
>
>
> "John Martens" <adsl672100(a)tiscali.nl> wrote in message
> news:4b30ffd9$0$28144$5fc3050(a)news.tiscali.nl...
>> Jamal,
>>
>> Thanks for the link. Do you use it as well and did you make a wrapper
>> for it ?
>>
>> Cheers,
>> John
>>
>>
>> Op 22-12-2009 16:43, Jamal schreef:
>>> Here is a free DLL http://www.xstandard.com/en/documentation/xgzip/
>>>
>>> Jamal
>>>
>>>
>>> "John Martens" <adsl672100(a)tiscali.nl> wrote in message
>>> news:4b2fc35e$0$28169$5fc3050(a)news.tiscali.nl...
>>>> I'm using ZIP compression (with FabZip) but I'm asked to send files
>>>> compressed with GZip.
>>>>
>>>> Did anyone make a function to zip to GZip ?
>>>
From: Jamal on
Did you visit the site and read the requirements? <g>

You really need more about this stuff. Regsvr32.exe is required so the
control is registered under the Window registry and for you to use the
OleAutoObject either early bound or late-bound; this using the method of the
DLL very easy.

I don't use Fabzip and I do not know if they hard coded the function calls
or not.

Jamal

"John Martens" <adsl672100(a)tiscali.nl> wrote in message
news:4b310d7d$0$28147$5fc3050(a)news.tiscali.nl...
> Jamal,
>
> I'm not so into Regsvr'ing DLL's. Why do I need to do this with this DLL
> but with FabZip DLL's ?
>
> John
>
>
> Op 22-12-2009 19:09, Jamal schreef:
>> John,
>>
>> I did not use it. However, I just tested now and it works fine in VO.
>>
>> 1. Regsvr32 xgzip.dll (a MUST as admin).
>>
>> 2. Create a wrapper in VO using the Tools menu, Automation Server, click
>> the Type Lib, then select the xgzip.dll.
>>
>> Here is a sample:
>>
>> METHOD PushButton1( ) CLASS gzipwin
>> LOCAL o AS igzip
>> LOCAL uRetVal AS USUAL
>>
>> o := IGZip{}
>>
>> IF o:fInit
>> o:Compress("c:\myfile.dbf", "c:\myfile.gzip")
>>
>> o := NULL_OBJECT
>>
>> InfoBox{,"", "Zipped "}:show()
>> ELSE
>> InfoBox{,"", "NOT Zipped"}:show()
>>
>> ENDIF
>>
>> RETURN NIL
>>
>> Use can also use late bound:
>>
>> local o as OleAutoObject
>> o := OleAutoObject{"XStandard.GZip.1"}
>>
>> etc.
>>
>> Jamal
>>
>>
>> "John Martens" <adsl672100(a)tiscali.nl> wrote in message
>> news:4b30ffd9$0$28144$5fc3050(a)news.tiscali.nl...
>>> Jamal,
>>>
>>> Thanks for the link. Do you use it as well and did you make a wrapper
>>> for it ?
>>>
>>> Cheers,
>>> John
>>>
>>>
>>> Op 22-12-2009 16:43, Jamal schreef:
>>>> Here is a free DLL http://www.xstandard.com/en/documentation/xgzip/
>>>>
>>>> Jamal
>>>>
>>>>
>>>> "John Martens" <adsl672100(a)tiscali.nl> wrote in message
>>>> news:4b2fc35e$0$28169$5fc3050(a)news.tiscali.nl...
>>>>> I'm using ZIP compression (with FabZip) but I'm asked to send files
>>>>> compressed with GZip.
>>>>>
>>>>> Did anyone make a function to zip to GZip ?
>>>>
From: Carlos Rocha on
Geoff,

I'm with you about the Java thing, along with some other "state-of-art"
technology, like msi <g>. But gzip and zip are both good compressor
technologies, very close to each other. The Gzip advantage comes (only?)
when used with "tar" to produce a so called "tarball", which is a much
more efficient way to create a multi-file compressed storage, and I
guess it's the reason why it's so widely used in the web.
Besides, to keep my PC environment clean I got rid of the Window zip
facility and installed the wonderful 7-zip, and I'm now able to use all
kind of compressor algorithms, even those not invented yet <g>

> Not really.
>
> Designers of website should be cognizant of what they put users and
> developers through. Why use gzip when more common formats are
> appropriate? Usually it is laziness. It's the same with websites that
> insist on using Java. We no longer load java into new PCs and actively
> prevent such downloads. Hence we won't visit web sites or use tools
> that insist on Java.
>
> It is all part of keeping a PC environment as clean as possible.
>
--
Carlos Rocha
From: Fabrice Foray on
Hi John,
at my website, I have (for VO2.5 but I can send you a VO2.8 version)
all the definitions to use ZLib from VO.

ZLib is using Deflate, and you can find some functions ( gzopen,
gzwrite, ... ) that allow creation of GZipped files.
If you are interested, send me a private email. ( And I may also
update the Version at my Homepage )

Regards,
Fabrice.

On Dec 21, 7:50 pm, John Martens <adsl672...(a)tiscali.nl> wrote:
> I'm using ZIP compression (with FabZip) but I'm asked to send files
> compressed with GZip.
>
> Did anyone make a function to zip to GZip ?

From: Geoff Schaller on
<g>

The thing I've got against java is everything else that comes with it.
Before you know it, the user has unwittingly ticked the box for the
google tool bar and Java update and then you're wondering why the PC
takes an extra 2 minutes to boot up.



"Carlos Rocha" <carlos.deletethis.rocha(a)doossier.com> wrote in message
news:Q6KdnWMIMMCvF6zWnZ2dnUVZ8midnZ2d(a)novis.pt:

> Geoff,
>
> I'm with you about the Java thing, along with some other "state-of-art"
> technology, like msi <g>. But gzip and zip are both good compressor
> technologies, very close to each other. The Gzip advantage comes (only?)
> when used with "tar" to produce a so called "tarball", which is a much
> more efficient way to create a multi-file compressed storage, and I
> guess it's the reason why it's so widely used in the web.
> Besides, to keep my PC environment clean I got rid of the Window zip
> facility and installed the wonderful 7-zip, and I'm now able to use all
> kind of compressor algorithms, even those not invented yet <g>
>
>
> > Not really.
> >
> > Designers of website should be cognizant of what they put users and
> > developers through. Why use gzip when more common formats are
> > appropriate? Usually it is laziness. It's the same with websites that
> > insist on using Java. We no longer load java into new PCs and actively
> > prevent such downloads. Hence we won't visit web sites or use tools
> > that insist on Java.
> >
> > It is all part of keeping a PC environment as clean as possible.
> >
>
> --
> Carlos Rocha

First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4
Prev: Newbie question
Next: Feliz Natal - Merry Christmas