Advanced Zip Library


  •  Main Page

  •  About AZL

  •  AZL News

  •  Change Log

  •  Sample Code

  •  Download Demo

  •  Purchase AZL

  •  AZL Forum

  •  Contact Us







Advanced Zip Library

Advanced Imagery Library

Text Into PDF

The VB Zone

Hits Since 10/20/07:

Windows Vista

Windows Vista offers a new level of security and control to your operating system that many would say is long overdue. However, along with the extra security comes extra steps for developers to ensure they can properly operate within this new environment.

Windows Vista by default has you running as a user on your operating system, not an administrator. Then whenever you try to access a part of the operating system that is sensitive (i.e. - the Windows directory, System32 directory, Program Files directory, the system registry, etc), the OS halts and the user is prompted to authorize such access. This disallows malicious programs from reading or fouling up sensitive system files or configurations.

That's great, however now when you go to run REGSVR32.EXE in order to register the VB5 or VB6 version of the "Advanced Zip Library" COM DLL's (AdvZipLib.dll or AdvZipLib5.dll), the operating system will give an error, or in some cases... will silently fail it's attempt to register the file. The reason for this is you are trying to insert information into the system's registry (which is restricted) as a standard user, not an administrator. So for security reasons, you are blocked.

Here's how to work around that:
  • Right-click on the START button and select "Explorer". This will bring up "Windows Explorer"

  • Go to the following directory:  C:\Windows\System32\

  • Copy the Inf-ZIP libraries (ZIP32.DLL & UNZIP32.DLL) and the Advanced Zip Library (AdvZipLib.dll or AdvZipLib5.dll) here. If Windows prompts you to authorize copying files here, click YES

  • Right click on the CMD.EXE file in the same directory, then select "Run As Administrator". When Windows prompts you to authorize running this program as the administrator, click YES

  • Enter the following at the command prompt:

    REGSVR32.EXE C:\Windows\System32\AdvZipLib.dll

    ~ or ~

    REGSVR32.EXE C:\Windows\System32\AdvZipLib5.dll

  • Because you are telling Windows to register the COM DLL under the Administrator account, you have full access to the registry and the operation will succeed this time


*IMPORTANT: Windows Vista does NOT include the run-time files for Visual Basic 5.0. It does include the run-time files for Visual Basic 6.0. Use the following URL to download and install the VB5 run-time files (remember to run the installation as Administrator):

http://support.microsoft.com/kb/180071