Visual Basic (Declaration) | |
---|---|
Public Sub SetLicense( _ ByVal val As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void SetLicense( string val ) |
Parameters
- val
- The value string received when the Web.Config Key generator application is run.
C# | Copy Code |
---|---|
// Use value generated using the "Create Web.Config Key" option from your Start menu |
Visual Basic | Copy Code |
---|---|
' Use value generated using the "Create Web.Config Key" option from your Start menu |
To use SetLicense(), first license your development machine using the licensestd3.exe or licensepro3.exe application.
Then create a "web.config" key by running the "Create Web.Config Key" link from the Start menu.
In your application class, create a designer instance and use the SetLicense method to properly set the key you created.
SetLicense() allows run-time licensing so that ActiveReports for .NET 3.0 can be used in other applications.
SetLicense() should be called before running the report.