******************************************************************************
 PNG Reader
 Copyright  2000 by Warren Galyen
 wgalyen@earthlink.net
 Posted on Compiled.org for your pleasure!
******************************************************************************

 DESCRIPTION:
------------------------------------------------------------------------------
 This is a class module which allows reading/displaying of PNG images in VB.
 To use, simply load the file using "LoadFile", then draw it to a picturebox or
 form handle using "DrawToDC". You can also monitor the load progress by using
 the class event "LoadProgress". Simply define:
 -  "Public Sub <classname>_LoadProgress(Max As Long, Value As Long)"

 P.S. The zlib DLL must be copied to your windows/system directory before using.
      I might port the zlib source to VB just to make the class completely independent.

 LICENSE AND DISCLAIMER:
------------------------------------------------------------------------------
 This code may freely be used in your programs (author credit is appreciated). 
 This code is released exclusivly for Compiled.org and it is forbidden to distribute
 the code on any other servers, in newsgroups, etc. without mentioning the URL
 of this site or the name of the author. If you wish to distribute the code on
 commercial websites or by  any other means, then the express permission of the
 author is required.