In addition, you're missing gdiplus_locs.h file.
>Thank you so much for the fast reply.
>I can see that this can be perfect solution. But like most the times, something gets stuck.
>When I run the code, I am getting in the second last row with the:
>
>loGraphics.DrawImagescaled(loImage, 0, 0, 324, 198) code.
>
>The error message I am getting is:
>GDI+ FCC Library
>gpgrapics
>Error: 1098
>Method: drawimagescaled
>Line: 4
>error _GDIPLUS_NOGDIPOBJECT_LOC
>
>Maybe you know what I am missing with error.
>Thanks again for your help.
>
>Johann
--sb--