No guy can help me ?
I try in a VB6 plugin to check if a RR command return or not an RR error into skintool as : (Command Not Executed: MYCOMMAND)
I have tried these lines but without success !
Thanks for your helpCode:Public Sub Test(text As String) On Error GoTo ErrorHandler RRSDK.Execute ("MYCOMMAND") ErrorHandler: RRSDK.ErrScrn "RR plugin Error !!!", "The 'MYCOMMAND' command isn't found into your ExecTBL.ini file !", "ex : ''MYCOMMAND'',''MENU;MYSCREEN.SKIN''", 15 End Sub
insert to RRExtension.cls
Don't understand why do you want compare the exectbl.ini with working commands in riderunner.Code:Public Function ProcessCommand(CMD As String, frm As Object) As Integer Select Case LCase(CMD) Case "mycommand" yourfunction() ProcessCommand = 2 End Select End Function
did a test. becauseof the LCase use small letters to catch the command.
Create your specific RR event into your exectbl.ini file as:
The goal would be to send a RR command from the plugin that RR can see an run the MYSPECIALCOMMAND defined into your exctbl.ini file
With this code example, if you add nothing into your exectbl.ini, the skintool return that the command mycommand isn't foundCode:Public Function ProcessCommand(CMD As String, frm As Object) As Integer Select Case LCase(CMD) Case "mycommand" yourfunction() ProcessCommand = 2 End Select End Function