Search found 5 matches

by javorbg
Tue Sep 10, 2019 12:07 pm
Forum: Stimulsoft Reports.WPF
Topic: The name 'Reports' does not exist in the current context
Replies: 7
Views: 6591

Re: The name 'Reports' does not exist in the current context

Here is Examples reports and code which open them if you try to open second one without closing the program you will see the error private void Button_Click(object sender, RoutedEventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.DefaultExt = ".mrt"; dlg.Filter = "(*.mrt)|*....
by javorbg
Tue Sep 10, 2019 7:34 am
Forum: Stimulsoft Reports.WPF
Topic: The name 'Reports' does not exist in the current context
Replies: 7
Views: 6591

Re: The name 'Reports' does not exist in the current context

What I noticed when you have both of reports imported and open one of them then you try to open second one on compile can the names in the error are from the fist one for example "The name 'Reports' does not exist in the current context" - Reports is the namespace in the first one i rename...
by javorbg
Tue Sep 10, 2019 7:14 am
Forum: Stimulsoft Reports.WPF
Topic: The name 'Reports' does not exist in the current context
Replies: 7
Views: 6591

Re: The name 'Reports' does not exist in the current context

.net 4.6.2 that is when we import to report to our application using (FileStream fileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read)) using (BinaryReader br = new BinaryReader(fileStream)) { long numBytes = new FileInfo(fileName).Length; buff = br.ReadBytes((int)numBytes); string t...
by javorbg
Mon Sep 09, 2019 1:20 pm
Forum: Stimulsoft Reports.WPF
Topic: The name 'Reports' does not exist in the current context
Replies: 7
Views: 6591

The name 'Reports' does not exist in the current context

I have problem with reports which have C# code in them when I open one of them and then open second one an error occur: System.Exception HResult=0x80131500 Message=c:\Users\*\AppData\Local\Temp\uvk1gxkl.0.cs(510,40) : error CS0103: The name 'Reports' does not exist in the current context c:\Users\*\...