Help - Search - Members - Calendar
Full Version: For clients, do they need to have FR Studio in their machine.
Fast Reports forum > Fast Reports Products > FastReport Studio
Pobovskies
Hi all,

I used to use FastReport in Delphi7 but it seems to be different in FR Studio.
I downloaded FR Studio Demo and, now, I'm developing an application in Visual Studio C# and have 3 questions about it;

1) Is it compatable and can be interface between FR Studio and Visual Studio 2008 Professional (just want to make sure)?
2) When I import FR in to my project as reference (COM Object), it is fine. Below is my code;


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using FastReport;

namespace TestFastReport
{
public partial class frmTestFastReport : Form
{
TfrxReportClass report;

public frmTestFastReport()
{
InitializeComponent();

report = report = new TfrxReportClass();

}

private void button1_Click(object sender, EventArgs e)
{
report.LoadReportFromFile("C:/Report/TestFastReport/Report.fr3");
report.ShowReport();
}
}
}

But the problem is when I want to open it in client machines, there is an error. So, what do I have to install into my client's machine first to be able to view the report? Is there a run-time version or some things like that?
3)How to send a variable from Visual Studio C# to FR Studio?

I'm looking for your help and many thanks for answering.
alman
QUOTE(Pobovskies @ Jul 27 2008, 02:41 PM) *
But the problem is when I want to open it in client machines, there is an error. So, what do I have to install into my client's machine first to be able to view the report? Is there a run-time version or some things like that?


You need install FR Studio on client machines. At least fastreport3.dll and resource files.
Please note that we distribute redistribnutable component that does not include designer and it is no copy protected.
You can find it in "C:\Program Files\FastReports\FastReport Studio\Redist" directory.

QUOTE(Pobovskies @ Jul 27 2008, 02:41 PM) *
3)How to send a variable from Visual Studio C# to FR Studio?


There are several methods for control report variables:

CODE
Sub AddVariable(ByVal Category As String, ByVal Name As String, ByVal Value)
    Member of FastReport.TfrxReport

Sub SetVariable(ByVal Index As String, ByVal Value)
    Member of FastReport.TfrxReport

Sub SetGlobalVariable(ByVal Index As String, ByVal Value)
    Member of FastReport.TfrxReport

Function GetVariable(ByVal Index As String) As Variant
    Member of FastReport.TfrxReport

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.