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

Thread: Need Help with ExtPlug exemple

  1. #11
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,417
    In this case, gpsexec is not really a plugin , (not a dll but an exe).

    I try that, but indicator and click on indicator don't run.
    Code:
    '*****************************************************************
    '* This Function will be called with requested indicator code
    '* specified at the skin file. Simply return "True" or "False" to
    '* displayed the respective ON or OFF layer of the skin images.
    '* alternatively you can specify a path to a file to be displayed
    '* as the indicator specified. Return "False" to erase the image.
    '* ONLY return something else IF AND ONLY IF you process that code
    '*****************************************************************
    Public Function ReturnIndicatorEx(IND As String) As String
    
        'Default (No Action)
        ' DO NOT RETURN "False" for unprocess indicators, return ""
        ReturnIndicatorEx = ""
    
        Select Case LCase(IND)
            'Case "myindicator"
                'This example show ON for even seconds and OFF otherwise
                'ReturnIndicatorEx = IIf(Val(Format(Time, "SS")) Mod 2 = 0, "C:\VBStuff\Road Runner\XMArt\1.gif", "False")
            
            'Specify whatever and whichever indicators you wish to create
            'You can add as many as you'd like, and you can process complex indicators as long
            'as you parse them yourself (i.e. "mycomplexindicator;parameter")
            
            Case "gpsexec"
                'Insert Code here to return "True", "False" or Path name
                ReturnIndicatorEx = "True"
                
        End Select
    
    End Function
    
    '*****************************************************************
    '* This Sub will be called with an indicator code "CLICKED"
    '* specified at the skin file. This "event" so to speak can be used
    '* to toggle indicators or execute any code you desire when clicking
    '* on a specifig indicator in the skin. You can also modify IND and
    '* monitor the IND parameter as to detect/alter the behaviour of
    '* how RR will process the indicator code being clicked.
    '*****************************************************************
    Public Sub IndicatorClick(IND As String)
    
        'If one of our indicators
        Select Case LCase(IND)
            Case "gpsexec"
                'Displays message box
                'MsgBox "GPSExec has been clicked!"
                COMSend "RoadRunner", "CLOSEWINDOW;gpsexec"
        End Select
    
    End Sub
    If i use these lines in a dll with the last plugin format, my dll run well, but not in this case !

    Can you explain me where is my error ?

    My exe is always the new compiled file

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

    Vb.net 2008

    I try to create a plugin with the C# exemple found in the RR install.
    With VB6, my plugin run very well, just one indicator (gmailnotifier) and the clicl ind fonction.

    With VB.NET , i can't do the same thing !

    this is my files .

    I don't understand why !
    Attached Files Attached Files

Page 2 of 2 FirstFirst 12

Similar Threads

  1. SpeedZone w/GPS Position Alarm - GPS POSITION TRIGGER - 28SEP09
    By ThunderStick in forum RR Released Plugins
    Replies: 129
    Last Post: 10-07-2009, 05:39 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
  •