ActiveReports.Web Request technical support
CodeBase Property
See Also 


The value to be written to the codebase attribute for the object tag of the ActiveX Viewer.

Syntax

Visual Basic (Declaration) 
Public Property CodeBase As String
Visual Basic (Usage)Copy Code
Dim instance As WebViewer
Dim value As String
 
instance.CodeBase = value
 
value = instance.CodeBase
C# 
public string CodeBase {get; set;}

Remarks

This should be a path to the CAB file containing the ActiveReports for .NET 2.0 ActiveX Viewer in the following format:

"arview2.cab#version"

Where arview2.cab is the name of the cab file and version is the four digit comma-separated version of the ocx file contained in the specified cab file. If you use only the filename, the cab file must be in the same directory as the WebForm (aspx file). If the cab file is not in the same directory as the WebForm, the codebase must contain a fully qualified path to the cab file, for example:
"http://www.datadynamics.com/cabs/arview2.cab#2,0,0,1250"

See Also