PNG picture files in VB

Need a way to view image files that is in PNG format.
The current VB image controls does not support the format,
or I'm missing something.
Can someone please point me in the correct direction.
MarioKAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
rspahitzConnect With a Mentor Commented:
Go to www.mjscreations.com/rjscreations/sdplug/ and download the following:

The ocx and dependent zlib32 file:
PNGViewerControl.ocx
zlib32.dll

The creation elements (must be accessed individually):
PNG.gif
PNGViewer.ctl
PNGViewer.ctx
PNGViewerControl.vbp
cPNG.cls

Note that the above should probably be added to a group project for testing.

Let me know if you have trouble getting them.

0
 
rkot2000Commented:
you can try to ole view control with this class : MSPhotoEd.3 just drop ole view and select insert from file.
or
you can use webrowser control to load files.
0
 
rspahitzCommented:
I asked this question many months ago and got various pieces that together allow my app to view PNG.  Actually, I compiled the code into an OCX component and then add it into my app.

Would you like the code, or would you rather just have the component?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
MarioKAuthor Commented:
That would be Great rspahitz,

Is it possible to send me both,
I would like to look at the code
but having the ocx can help alot.

MarioK
0
 
MarioKAuthor Commented:
Thanks I got the PNGViewerControl.ocx & zlib32.dll files.
Did not find the ,The creation elements (must be accessed individually):

Would like to see them

MK

0
 
rspahitzCommented:
Try going like this for each of the above:

www.mjscreations.com/rjscreations/sdplug/PNGViewer.ctl

If you do this in IE, it will probably ask where you want to save it...pick a new folder and drop each in there.

If you do it in Navigator, it may show you the text of the document inside the browser at which point you can copy/paste.
0
 
MarioKAuthor Commented:
Thanks rspahitz
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.