Dear All, We get tally serial no through odbc in 64 bit application through vb codes. But now we try to get the same with .net based application on 64 bit o/s we are unable to get it. Same .net base application work on 32 bit os. We want to use odbc to get Tally Serial no, ledger or any other work but all this works fine on 32 bit os with .net application but while we use 64 bit os with .net application it can't works. Herewith we attached .net codes so if anyone have solution then kindly provide us. Thanks
Hi Rithesh, have u checked this code. write this xml in .net to get the Tally si no. In response you will get the tally si no. The following XML Request is required to fetch Tally Serial Number: <!-- XML Request --> <ENVELOPE> <HEADER> <VERSION>1</VERSION> <TALLYREQUEST>EXPORT</TALLYREQUEST> <TYPE>FUNCTION</TYPE> <!-- Platform Function Name in Tally.ERP 9 --> <ID>$$LicenseInfo</ID> </HEADER> <BODY> <DESC> <FUNCPARAMLIST> <!-- Parameter for the function LicenseInfo --> <PARAM>Serial Number</PARAM> </FUNCPARAMLIST> </DESC> </BODY> </ENVELOPE> The previous XML Request fetches the following XML Response: <!-- XML Response --> <ENVELOPE> <HEADER> <VERSION>1</VERSION> <STATUS>1</STATUS> </HEADER> <BODY> <DESC> </DESC> <DATA> <RESULT TYPE="Long">790003089</RESULT> </DATA> </BODY> </ENVELOPE>
What TDL code for tally serial number, i like to make a form to display computer id, OS, Tally version & also serial number. Thanks
Hi hvv, Please find the code to display the system information with Tally Serial No Code: ;; Sri Ganeshji : Sri Balaji : Sri Pitreshwarji : Sri Durgaji : Sri Venkateshwara [#Menu : GateWayOfTally] Add : Key Item : At End : "System Information in Report" : Y : Display : Smp System Functions [Report: SMP System Functions] Form : SMP System Functions Title : "System Functions" [Form: SMP System Functions] Parts : Form SubTitle, SMP System Functions Local : Field : Form SubTitle : Info : "System Information" Width : 60% Page [Part: SMP System Functions] Lines : SMP Tally Si No,SMP App Path, SMP Curr Path, SMP Sys Date, SMP Sys Time, SMP Sys Time HMS Lines : SMP Sys Name, SMP Is Windows, SMP Win Version, SMP Windows User Lines : SMP IP Address, SMP Mac Address [Line : SMP Tally Si No] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "Tally Si No :" Local : Field : SMP System Functions : Set As : $$LicenseInfo:SerialNumber [Line: SMP App Path] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "Application Path :" [Field: SMP System Functions] Use : Name Field Set As : $$SysInfo:ApplicationPath FullWidth : Yes [Line: SMP Curr Path] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "Current Data Path :" Local : Field : SMP System Functions : Set As : $$SysInfo:CurrentPath [Line: SMP Sys Date] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "System Date :" Local : Field : SMP System Functions : Set As : $$SysInfo:SystemDate [Line: SMP Sys Time] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "System Time :" Local : Field : SMP System Functions : Set As : $$SysInfo:SystemTime [Line: SMP Sys Time HMS] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "System Time (HMS):" Local : Field : SMP System Functions : Set As : $$SysInfo:SystemTimeHMS [Line: SMP Sys Name] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "System Name :" Local : Field : SMP System Functions : Set As : $$SysInfo:SystemName [Line: SMP Is Windows] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "Is Windows :" Local : Field : SMP System Functions : Set As : $$SysInfo:IsWindows [Line: SMP Win Version] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "Windows Ver :" Local : Field : SMP System Functions : Set As : $$SysInfo:WindowsVersion [Line: SMP Windows User] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "Windows User :" Local : Field : SMP System Functions : Set As : $$SysInfo:WindowsUser [Line: SMP IP Address] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "IP Address :" Local : Field : SMP System Functions : Set As : $$SysInfo:IPAddress [Line: SMP Mac Address] Fields : Medium Prompt, SMP System Functions Local : Field : Medium Prompt : Set As : "Mac Address :" Local : Field : SMP System Functions : Set As : $$SysInfo:MacAddress ;; End-of-File