ActiveReports 6 Online Help
Run() Method
Example 

Starts the report processing in blocked mode. 
Syntax
'Declaration
 
Public Overloads Sub Run() 
public void Run()
Remarks
This method does not synchronize a viewer control's linked document until the report has finished processing.
Example
private void Form1_Load(object sender, System.EventArgs e)
{
    ActiveReport1 rpt = new ActiveReport1();
    rpt.Run();
    viewer1.Document = rpt.Document;
}
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load    
    Dim rpt As New rptMain()
    rpt.Run()
    Viewer1.Document = rpt.Document
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ActiveReport Class
ActiveReport Members
Overload List
Document Property

Send Feedback