Prev: Newbie question
Next: Feliz Natal - Merry Christmas
From: John Martens on 22 Dec 2009 01:51 Alwin, I was hoping for a DLL wrapper for it but using the EXE will probably do as well. Thanks, John Op 21-12-2009 22:55, a.nederpelt(a)nederpelt.nl schreef: > download gzip at: http://www.gzip.org/ > Simply. > or use www.xceed.com xceedzip.dll via API. I have a class for that, > but you need to buy a license.... > > Alwin
From: Jamal on 22 Dec 2009 10:43 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: John Martens on 22 Dec 2009 12:20 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: Geoff Schaller on 22 Dec 2009 16:24 <rofl> ...well you need to learn. Fab's stuff is a DLL, the other stuff is COM. "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: Jamal on 22 Dec 2009 13:09
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 ? >> |