TDL LOCK

Discussion in 'Free Source Codes' started by SANTHOSH C KURIAN, Sep 4, 2015.

    
  1. SANTHOSH C KURIAN

    SANTHOSH C KURIAN Active Member


    I was trying to just to restrict TDL usage (without compilation) for specific serial number, company user and edition. Here I have written 3 separate codes, you all can combine and modify these as per the various requirements. This can be used as individual codes or can put it in some other codes. you can find:

    01: TDL Lock Serial Numberwise - which restricts the usage of a particular TDL only for a specific Tally Serial Number.

    02. TDL Lock Editionwise - which restricts the usage of a particular TDL only for a particular edition like Gold/Silver

    03. TDL Lock Userwise - which allows the usage of a particular TDL only for a specific User.

    Special thanks to Mr Taufeeq Shaikh and Mr Maulik Patel

    Feed backs will be appreciated

    Thanks & Regards - cks
     


  2. Taufeeq Shaikh

    Taufeeq Shaikh Active Member


    Good Work Mr. Santosh
     


  3. mpal2311

    mpal2311 Active Member


    Great.
     


  4. N vinoth

    N vinoth Guest


    good work
     


  5. vyadav

    vyadav Member


    how can use your genius coding ,,,, please sir, can your provide me a snapshot it's TDL
     


  6. Taufeeq Shaikh

    Taufeeq Shaikh Active Member



  7. vipul

    vipul New Member


    GIVE SNAPSHOT FOR USE TDL WORK
     



  8. Thanx... //
     


  9. K V Shah

    K V Shah New Member


    Great Help....
    Excellent sir,

    Thanks experts....
     


  10. priya

    priya Member


    Mr. Santhosh, your unique way of thinking and trying to creative innovative TDL, which others are yet to think, has added pride to this site and enriched the knowledge of all. l need to congratulate you on your contributions and salute you for sharing them across. Thank you
     


  11. pudkedheeraj

    pudkedheeraj Member


    Dear Sir
    Thank You for Sharing this code..
    please tell about TDL Lock Serial Numberwise how can i set Serial Number...
    it is not getting lock with other serial number...
    please tell how to use this
     


  12. SANTHOSH C KURIAN

    SANTHOSH C KURIAN Active Member


    Try this

    [System : Event]
    cksappstart: system start : true : call : ckssrnolock

    [Function:ckssrnolock]
    01 : If: $$LicenseInfo:SerialNumber equal ********* ;; put your desired tally serial number here
    02 : Load TDL:"D:\DMS.txt" ;; replace this with your TDL name with path and extension
    03 : Else
    04 : Trigger Key:Ctrl + Q
    05 : End If

    In this case this particular TDL will work only with the specified serial number, if this TDL loaded in any other serial number Tally will quit. Hope you under stood. This code can be modified as per your requirements.
     
    SAJI K D and llwhiteflowerll like this.


  13. pudkedheeraj

    pudkedheeraj Member


    Thank you Sir
     


  14. vyadav

    vyadav Member



    how can use this txt file & TCP file & Txt file worked same after your coding ??please sir how can i use tell me ,,,, vikas.yadav617@gmail.com
     



  15. GOOD CAN WE LOCK OUR TDL WITH COMPUTER MAC ADDRESS, SO THAT IF TCP IS COPIED TO NEXT COMPUTER TDL DONOT WORK.
     


  16. shiva

    shiva New Member


    Dear Sir U Have Eni tally to sms module plshelp
     


  17. llwhiteflowerll

    llwhiteflowerll New Member


    great work sir

    you are really ammazzzing ,, with great knowledge of TDL Programming
     


  18. Manish

    Manish New Member


    Great code sir ....
     


  19. Raj_ap_2016

    Raj_ap_2016 New Member


    Dear Sir,

    Once we load TDL, then it does not unload TDL please check.


    [System : Event]
    cmpstart: Load Company : true : call : startusrtdl
    cmpclose: Close Company: true : call : closeusrtdl

    [FUNCTION : startusrtdl]
    10 : Load TDL:"C:\mytdl.txt"

    [FUNCTION : closeusrtdl]
    10 : Unload TDL:"C:\mytdl.txt"
     


  20. Raj_ap_2016

    Raj_ap_2016 New Member


    Sir,

    please give solution for the above problem.

    thanks, Raj
     


  21. Amitkumar

    Amitkumar Member


    Thanks for the code ,
    I just wanted to know can we Lock it based on Ip address or hostname ?

    How can we define expiry for tdl for based on system date ?
     


  22. SAJI K D

    SAJI K D New Member


    Very good
     


  23. V Shankar

    V Shankar New Member


    Great Job
     


  24. gcbeldar

    gcbeldar New Member


    Help me to load TDL for a specific CompanyName with a line of code
    01 : If: $SVCurrentCompany equal "Ganesh Trading Co" is not working
     


  25. Johar

    Johar Member


    [System : Event]
    cmpstart: Load Company : true : call : startusrtdl

    [FUNCTION : startusrtdl]
    10 : Load TDL:mad:@tdlpth

    [System : Formula]
    tdlpth : ##SVCurrentpath + "\" + $$String:$CompanyNumber + "<Your TDL Name to Load as per Company Number>"
     


Share This Page