To use the RDKX properties and methods, you need to:
1) Call the Init method of the global RDKApp object before calling any other RDKX functions. The Init method takes a single optional argument, which specifies if you are using the RDK's result viewing application.
2) Attach the event handler class module (described above) by passing the global RDKApp object to its Attach method. The example code below shows the sequence of steps you would take in your initialization code:
Public RDKEvents As New RDKEvents
Public Sub AppStartUpCode()
RDKApp.Init False
RDKEvents.Attach RDKApp
End Sub