0

I need to stream, but I am getting the error "_stream is null". I want to read a resources file.

  • my project name is "WindowsFormsApplication1"
  • my file name is "resources.resx"
  • my file name is "myReportCustemer.repx"

    Stream _stream = _assembly.GetManifestResourceStream("WindowsFormsApplication1.Properties.Resources.myReportCustemer.repx");
    
    my_XtraReport1.LoadLayout(_stream);
    

Visual Studio shows me "_stream is null"

edit:

I trying to embed devexpress report file in my resources. that's why .repx

I guest my problem is add to file resources. becouse if I embed image... I can see in my resource folder but myReportCustemer.repx file no exist in resource file..

0 Answers0