Hi Sergey,
>I'm curious what line
createobject( "ReportListener" )
is for? The code seems to work fine w/o it.
It's a trick I found in an article from Walter Nicholls. Creating the report listener loads gdiplus.dll and initalizes the GDI+ environment. Once the environment is initialized, it remains so until you shut down the EXE.
--
Christof