Tally SMS Integration with com interface and com dll (no more popups)

Discussion in 'Tally Integration' started by teja varma, Sep 16, 2019.

    
  1. teja varma

    teja varma Active Member


    Capabilities:
    -> use this dll to send sms you can use any api you want
    -> no more browser popups , no need to use browse url
    -> all the things will be handled by the dll in background
    - >it also has response (feedback) of the message send displayed in the calculator panel
    - >it will also generate a log file in temporary folder
    - >this is free dll you can use it for education as well as commercial purpose

    steps to register dll:
    1)Download and Extract MessageTunnel.zip file attached below
    1. Copy file (MessageTunnel.dll) to C:\Windows\System32
    2. Open Cmd in administrator Mode (Elavated mode)
    3. CD C:\Windows\Microsoft.NET\Framework64\v4.0.30319 ;; change directory
    4. Type without quote "regasm MessageTunnel.dll /codebase"


    ;;;;;; tdl ;;;;;;;;;;;;;;;;;;;;;;;;;;

    Code:
        ;;;;;;;; com interface part ;;;;;;;;;;;
     
    
    [COM Interface:SmsService]
     
    Project:MessageTunnel
        Class:Class1
        Interface:push_msg
        Parameter:p1:String:In
    Return:String
     
    
    ;;;;;; repeat same for all forms receipt,payment etc as per your need
    
    [#Form:SalesColor]
        On:Form Accept:Yes:Call:PushSms
     
    ;;;; edit the message as you need
    
    [System:Formulae]
        endmobileno:$LedgerPhone:Ledger:$PartyLedgerName
        endmsg:"thank you for shopping please visit again next time"
        endurl:"http://api.sms.com/index.php/api/bulk-sms?username=usernam&password=password&from=APPLPS&to="+@@endmobileno+"&message="+@@endmsg
    
    ;; function to call cominterface
    
    
    [Function:PushSms]
        01:Exec COM Interface:SmsService:@@endurl
        02:Log:$$LastResult
     
     
        ;; shows response in the calculator panel
     
    
    ;;EOL

    you can download this project from my Github repo:
    https://github.com/tejavarma-aln/Tallysms/blob/master/MessageTunnel.dll




    you can customise the tdl as per your needs

    * it requires .Net framework version 4 in order to install this dll

    hope this help you solve out browser pop up and response handling
    :)
     

    Attached Files:

    Last edited: Nov 28, 2019
    Neha2017 likes this.


  2. MIttal Sharma

    MIttal Sharma New Member


    Sir, While SMS Send error showing in tally
    Failed to create an object of class of COM interface
     


  3. teja varma

    teja varma Active Member


    Please check the dll is registered according to your os bit (32/64)
     


Share This Page