Hi,
I want to add my own assembly (with methods for formatting, calc etc.).
How can I do this?
-christoph
Own assembly for functions
-
- Posts: 68
- Joined: Tue Nov 09, 2010 2:05 pm
- Location: Dresden
Own assembly for functions
Foxpro and behind
Re: Own assembly for functions
Hello!
Complete the following 4 steps to use your own assembly:
1. Copy your assembly into your stimulsoft\bin directory (e.g. C:\Program Files\Stimulsoft Reports.Net 2012.2\Bin)
2. Open Report-Designer and click on "Referenced Assemblies" on the report properties tab
3. Add the assembly (e.g. MyOwn.Assembly.dll)
4. Switch to "Code View" and add a USING statement
Now you are ready to use all functions in your assembly.
joro
Complete the following 4 steps to use your own assembly:
1. Copy your assembly into your stimulsoft\bin directory (e.g. C:\Program Files\Stimulsoft Reports.Net 2012.2\Bin)
2. Open Report-Designer and click on "Referenced Assemblies" on the report properties tab
3. Add the assembly (e.g. MyOwn.Assembly.dll)
4. Switch to "Code View" and add a USING statement
Now you are ready to use all functions in your assembly.
joro
- Attachments
-
- Stimulsoft Assembly.png (91.36 KiB) Viewed 1621 times
-
- Posts: 68
- Joined: Tue Nov 09, 2010 2:05 pm
- Location: Dresden
Re: Own assembly for functions
Hi joro,
thanks for the fast answer, works fine!
I create reports at runtime (convert from another format). So i can write:Christoph
thanks for the fast answer, works fine!
I create reports at runtime (convert from another format). So i can write:
Code: Select all
var references = _Report.ReferencedAssemblies.ToList();
references.Add("MyFunc.dll");
_Report.ReferencedAssemblies = references.ToArray();
Foxpro and behind
Re: Own assembly for functions
Hello.
Yes, you can add an assembly with this code if you use .Net Framework 4.0 or higher.
Thank you.
Yes, you can add an assembly with this code if you use .Net Framework 4.0 or higher.
Thank you.