Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

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

  1. #11
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    380
    not correct.
    the cmd mycommand runs the function in the plugin. has nothing to do with exectbl.

    if you send from plugin and set in exectbl, you just see the following command in skintool. the command from plugin is hidden, but working.
    if you don't set in exectbl, you get the error.

  2. #12
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,842
    Quote Originally Posted by harryberlin View Post
    not correct.
    the cmd mycommand runs the function in the plugin. has nothing to do with exectbl.

    if you send from plugin and set in exectbl, you just see the following command in skintool. the command from plugin is hidden, but working.
    if you don't set in exectbl, you get the error.
    Exact , but with VB.NET , if you don't set the RR event into the exctbl.ini that don't give an error into the skintool !!!

  3. #13
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    380
    oh,now i think to understand.

    Does it mean you want get this error with vb .net?

    or

    You want cancel the error with vb6? But why?

  4. #14
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,842
    I want cancel the error with vb6 ! My goal was to create RR EVENT as that already exist into RR .BY example ONEXIT etc...

  5. #15
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    380
    ok. i have an idea. will try it today evening.

  6. #16
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    380
    this is my solution. i hope this is what you need:

    Few seconds ago, have seen, in RR exist a cmd called ONCOMMANDINVALID


    1. declare outside the function
    Code:
    Public globCMD As String
    2.
    new function to run cmd to rr
    to compare a cmd execute like CMDtoRR "MYCOMMAND"
    Code:
    Public Function CMDtoRR(CMD As String)  
        globCMD = CMD
        RRSDK.Execute (globCMD)
    End Function
    3. add this to function ProcessCommand in RRExtension.cls
    Code:
    Case LCase(globCMD) 'if cmd don't exist in exectbl.ini
                globCMD = ""
                'yourfunction what ever you want
                ProcessCommand = 2
    or in your case
    Code:
    Case LCase(globCMD) 'if cmd don't exist in exectbl.ini
                globCMD = ""
                RRSDK.ErrScrn "RR plugin Error !!!", "The '" & CMD & "' command isn't found into your ExecTBL.ini file !", "ex : ''MYCOMMAND'',''MENU;MYSCREEN.SKIN''", 15
                ProcessCommand = 2
    Last edited by harryberlin; 11-22-2013 at 02:31 AM.

  7. #17
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    380
    ok?

  8. #18
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,842
    Quote Originally Posted by harryberlin View Post
    ok?
    Thanks for your help !

    I see that as soon as possible !

Page 2 of 2 FirstFirst 12

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
  •