ActiveReports for .NET Support

Started by a_rdz_grz at 01-21-2010 7:00 PM. Topic has 4 replies.

Print Search Rate
Sort Posts:    
   01-21-2010, 7:00 PM
a_rdz_grz is not online. Last active: 1/25/2010 10:29:21 PM a_rdz_grz

Not Ranked
Joined on 01-22-2010
Posts 7
AddScriptReference does not work

Attachment: Test.zip
I use AddScriptReference in my code to import a dll and use personal functions, but it does not work to me.

I code this in C#:
ActiveReport report = new ActiveReport();

report.AddScriptReference("Functions.dll");

report.LoadLayout(layout);

arDesigner.Report = report;

and this in the report Script.

public void ActiveReport_ReportStart()
{
Functions.Class f = new Functions.Class();

((TextBox)rpt.Sections["Detail1"].Controls["TextBox1"]).Text = f.returnString();
}

The file Test is a simple test but it does not work

Please run EndUserDesigner.VS2k5.sln

   Report 
   01-22-2010, 9:37 AM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

DDStaff
Re: AddScriptReference does not work
Hello,

The issue which you are experiencing is actually a known issue. There is already a Case 140909 opened to address this issue. I have added your E-mail address to the list of affected users for this case. Do let me know if you need further assistance/clarification.

Regards,
Ankit Nigam


   Report 
   01-25-2010, 9:56 AM
a_rdz_grz is not online. Last active: 1/25/2010 10:29:21 PM a_rdz_grz

Not Ranked
Joined on 01-22-2010
Posts 7
Re: AddScriptReference does not work
There is a way to make it work or a workaround??

Where can I check the Case 140909??

Thanks for the reply.

   Report 
   01-25-2010, 12:08 PM
subodh.sinha is not online. Last active: 2/10/2012 10:42:28 AM subodh.sinha

Top 25 Posts
Joined on 10-06-2009
Posts 1,091

DDStaff
Re: AddScriptReference does not work
Hello,

Unfortunately I do not have a workaround for this issue currently. If I get any, I will send you immediately.

About the case, I would like to inform you that your email address has already been added to the affected list, therefore you will be notified as soon as it gets fixed.

Regards,
Subodh

   Report 
   03-31-2011, 6:32 AM
David Mburu is not online. Last active: 5/3/2011 4:17:55 PM David Mburu

Not Ranked
Joined on 03-31-2011
Posts 1
Re: AddScriptReference does not work
The AddScriptReference() method takes a string that contains a file path eg.
report.AddScriptReference("C:\ApplicationFolder\Functions.dll");
If your DLL is in the same folder as your app this might work
report.AddScriptReference(AppDomain.CurrentDomain.BaseDirectory + "Functions.dll");
Hope this works!

   Report 
GrapeCity » Product Support » ActiveReports f... » Re: AddScriptReference does not work

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.