I am using MS Access 2013 with Windows 8.1. I am looking for a way to extract a qzip encoded file in VBA rather than "shelling out" to an external program. A little background: I am receiving and importing an XML file that contains a FedEx/UPS shipping label in .zpl format for a Zebra Printer. The xml file contains the contents for the label in a Base64-encoded string that is then "gzipped".
I am able to successfully read in the xml file and extract the label contents value. Then I decode the string, so far so good. Now I need to extract the gzip decoded string. I am able to to do this manually using an external program and it works; the label prints fine. I am hoping to avoid having to shell to an external program.
I have heard of a free .dll called "zlib.dll" that I could create a reference to and call the extract routine in code, but I am having problems find the actual file (all links are dead) and then finding any documentation for actual procedure calls.
Any help would be greatly appreciated.