Page 1 of 1

designer crash on preview with larger image component

Posted: Fri Jan 26, 2007 10:31 pm
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

designer crash on preview with larger image component

Posted: Sat Jan 27, 2007 4:22 am
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.