Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: How to check the RR message (Command Not Executed: MYCOMMAND) into a VB6 plugin

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852

    How to check the RR message (Command Not Executed: MYCOMMAND) into a VB6 plugin

    Hello all,
    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 !
    Code:
    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
    Thanks for your help

  2. #2
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    No guy can help me ?

  3. #3
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    388
    How do you compare the command in exectbl.ini?
    Why do you need this?

  4. #4
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    My goal was to have RR EVENTS into VB6 as i can to have in VB.NET

  5. #5
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    388
    insert to RRExtension.cls

    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
    Don't understand why do you want compare the exectbl.ini with working commands in riderunner.

    edit:
    did a test. becauseof the LCase use small letters to catch the command.
    Last edited by harryberlin; 11-20-2013 at 01:22 PM.

  6. #6
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    Quote Originally Posted by harryberlin View Post
    insert to RRExtension.cls

    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
    Don't understand why do you want compare the exectbl.ini with working commands in riderunner.

    edit:
    did a test. becauseof the LCase use small letters to catch the command.
    I know already know that ! I work with each day ! It's the base of the RR plugin !
    The RaiseEvent function don't exist in VB6 and it's a problem

  7. #7
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    388
    Sorry, don't wanted to disabuse you.
    Why is there a probleme?

  8. #8
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    Create your specific RR event into your exectbl.ini file as:
    "ONMYSPECIALEVENTTHATILOVE","MYSPECIALCOMMAND"

    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

  9. #9
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    388
    don't know why you have problems. in my case, it is working.

  10. #10
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    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
    With this code example, if you add nothing into your exectbl.ini, the skintool return that the command mycommand isn't found

Page 1 of 2 12 LastLast

Similar Threads

  1. Check when RR send a ONSONGSTART command with autoit
    By pierrotm777 in forum Road Runner
    Replies: 2
    Last Post: 11-01-2011, 09:40 AM
  2. Replies: 1
    Last Post: 07-01-2010, 02:10 PM
  3. Replies: 3
    Last Post: 06-23-2009, 11:13 AM
  4. Pass Plugin Command To Flash?
    By mezz64 in forum RR Skins
    Replies: 6
    Last Post: 11-10-2008, 05:35 PM
  5. RR Full Screen Visualization Command/Window Message
    By HarryBash in forum Road Runner
    Replies: 3
    Last Post: 10-27-2007, 10:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •