Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

Detecting the version of WinZip from within Access

I have a small function in my Access database that allows the client to send me the back end, via a  WinZip file.  It uses the WinZip command line add-on.

I need to find a way through the registry to detect :

1) If Winzip is installed
2) If the command line add-on is installed
3) If it is registered or unregistered

Any help would be appreciated.
0
Andy Brown
Asked:
Andy Brown
  • 2
  • 2
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You can read these registry keys:

My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Nico Mak Computing\WinZip\WinIni

There are several values in there you could use:

SN or SN1 - I presume one of these is the Serial Number, obviously if not present you would have a non-registered version
win32_version - this would tell you the version

I'm not sure about the CommandLine utility ... I don't have it installed, so can't tell. You might also contact Nico Mak for this information, and for the legality of using WinZip in this fashion.
0
 
Jeffrey CoachmanMIS LiasonCommented:
AndrewDBrown,

FWIW,
Also note that this functionality (Zip, compressed files) is built into Windows XP (as a Compressed Folder)

So there is less and less need for anyone to buy/install Winzip.

JeffCoachman
0
 
Andy BrownAuthor Commented:
But you can't create a zip file from a command line prompt using XP compression (or can you)?
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
To me, the correct way to do this would be to include some sort of zip utility with your application. Depending on the enduser to have a specific version of a specific program is pretty much a guarantee for failure. Here's a library that can be used with VBA, although the walkthrough here is for VB (should port over directly, however):

http://www.vbaccelerator.com/codelib/zip/zip.htm

There are others out there as well ... Polar Software has a zip component that works with Access, for example.
0
 
Andy BrownAuthor Commented:
That's a great idea.  Thank you everyone.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now