You're right. The resources are actually embeded in the exe. I checked it
inside the exe.
Thanks a lot for telling me. I'd have never known otherwise.
But i wonder why i cannot specify the embeded report name and get the
If i use this code for Eg:
ReportViewer1.LocalReport.ReportEmbeddedResource = "EmbReport1";
This error pops up in the report control
"An error occured during local report processing. The report definition for
'EmbReport1' has not been specified"
I have no problem getting the report with this instead
"Jeroen Mostert" <jmostert@xxxxxx> wrote in message
> Srinidhi wrote:
> The terminology is confusing. "Linked" here doesn't mean "remains as a
>> I'm trying to embed a report (.rdlc) file in my project. But it always
>> as linked. The 'Persistance' property is grayed & always set to 'Linked
>> compile time'.
>> Upon further inspection i saw that only graphic files, icons & wave files
>> were able to be embeded. How can i embed other file types? Especially my
>> report files.
> separate file" but "is linked together with the .EXE". A "linked" file is
> still embedded in your .EXE, it just isn't embedded in the .RESX file.
> This should make no functional difference.
> If you really want to stuff it in the .RESX for some reason, you can, but
> only clumsily: convert the file to a Base64-encoded string and store it as
> a string resource. This has storage overhead and also complicates using
> the resource.