designer crash on preview with larger image component

Stimulsoft Reports.NET discussion
Post Reply
sw
Posts: 22
Joined: Fri Jan 26, 2007 10:26 pm

designer crash on preview with larger image component

Post by sw »

Hi,

I am trying to associate a larger image (2M) to an image component on the designer. On preview, it will generate an error "error CS1647: An expression is too long or complex to compile near 'Reports.Report.InitializeComponent()'. I am guessing it is caused by the embedded image data. Is there anyway to avoid this problem?

thanks,

sw
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

designer crash on preview with larger image component

Post by Vital »

You need use other way for load big image. Do not store it with property Image. Load it from file or database.
For also you can get image from external static link in your program.

Thank you.
Post Reply