Page 1 of 1

help on saving as png problem

Posted: Mon May 30, 2005 6:05 pm
by 9078712
I am using Teechart6 activeX component from VB6, and getting a strange behaviour:
when VB is running from ASP - no problems - the file is being saved as png and everyone are happy.

but, i'm using COM exe (c++) that runs as a different process, open a thread that calls the VB - then i get an error when trying to saveToFile as png. the error is: "Method '~' of object '~' failed" (very helpfull).

when i changed the exporting from png to gif with the same process - it worked with no problems.

i've been told that it might be related to the lpng.dll, that the COM exe might be not succeeding to load it.

any ideas, anyone?
cheers!

p.s.: do anyone know if the LZW patent for GIF format is still valid?
i read that it expired in 2003/2004. can i now create GIF's with no fear?

Posted: Wed Jun 15, 2005 2:38 pm
by Pep
Hi,
i've been told that it might be related to the lpng.dll, that the COM exe might be not succeeding to load it.

any ideas, anyone?
Yes, I'd say the same as you, seems to be a lpng.dll problem, does this happens in another machines ? Have you tried to install the lpng.dll again ?
p.s.: do anyone know if the LZW patent for GIF format is still valid?
i read that it expired in 2003/2004. can i now create GIF's with no fear?
You can see all about this at : http://www.unisys.com/about__unisys/lzw