Enables you to unlock the full functionality of ShortName using your Registration Name and your Registration Key.
MatrixObject.Register RegistrationName, RegistrationKey
Your registration Name and Registration Key will arrive to you via email after purchasing ShortName . To purchase ShortName , visit http://www.bluebit.gr/matrix.
You will need to use Register method just once in your project, each time the application is started, either in the development machine or in any machine that runs your program. You can call Register method preferably in the initializing routines of your project, from within the Main() procedure of your code, or you call it from within Form_Load() event of a form.
No messages or error codes are returned if the combination of Registration Name and Registration Key fails to unlock the component. Version property can be used to check if the registration was successful.
You should use Register method with the first instance of a matrix object that has been initialized in your application and before you initialize any more matrix objects.
Also use Register method with a variable that has been declared at module level, do not use a variable declared at procedure level. Do not set this variable to Nothing until your program ends.
Dim M as Matrix
Sub Main()
Set M = New Matrix
M.Register "Registration Name", "Registration key"
'check the Version property
Debug.Print M.Version
'continue with the rest of your code here
End Sub
Version Property | Matrix ActiveX Component 3.1 Editions | Properties and methods available with each edition