Looking for some sample code (1 Viewer)

charli181

Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    Hi,
    I am trying to re-develop the Asterisk Caller ID plugin and am trying to get a feature working but have no idea how to do it.

    I use the DialogNotify window to display my incoming callers information, and would like to display a picture if it is found in a thumbs directory - possibly YAC - if it still exists with the new version of MP.

    I know I have to "SetImage()", but how do I call to a specific location of the MP dir structure.

    Any assistance would be greatful....

    Sean.
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    Don't worry found a way of doing it - see below

    Dim calleridimage As String
    calleridimage = Config.GetFile(Config.Dir.Thumbs, "3000.jpg")
    dlgOK.SetImage(calleridimage)
     

    Users who are viewing this thread

    Top Bottom