PNG Image
I have PNG images in my table in the DB. When I am in design mode, the images appears fine when I preview the report absolutely no errors. When I run the report from my program, I get an "Integer overflow" error. The only difference I can think of it when in design mode the report is loaded from a file. When running the report from the program, the report is loaded from a stream. Any ideas? Thanks.
Forgot to mention that using JPEG in the exact same scenario works just fine.
I have determined that I don't even need to connect to DB to get this error. I created a report with only an image on it. I assigned a PNG image. In the designer it runs without error. When running the report from the program, I get 'Integer overflow'.
Forgot to mention that using JPEG in the exact same scenario works just fine.
I have determined that I don't even need to connect to DB to get this error. I created a report with only an image on it. I assigned a PNG image. In the designer it runs without error. When running the report from the program, I get 'Integer overflow'.
Comments
Alas, I figure out the problem. Under Project Options->Compiler->Runtime errors I have 'Overflow checking' selected. Strange but true.