HTA script to display computer name with compare operations

Code:   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <HTA:APPLICATION ID="A1" ICON="" APPLICATIONNAME="Test-HTA" sysMenu="no" navigable="yes" scroll="no" border="none" showintaskbar="yes" singleinstance="yes" innerborder="no">     <title>Test-HTA</title> </head> <body>     <script type="text/javascript">         window.resizeTo((screen.width), (screen.height – 20))         self.moveTo(0,0)     </script>         <script type="text/javascript">         function computername()         {             var wshShell = new ActiveXObject("WScript.Shell")             var sComputerName = wshShell.ExpandEnvironmentStrings("%COMPUTERNAME%")             if(sComputerName.toLowerCase() == "govardhan-pc".toLowerCase())             {                 return "You are logged on to " + sComputerName + " system";             }             else             {                 return "You are logged on to a different system";             }         } […]

Read more

HTA script to display computer name

  Code:   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <HTA:APPLICATION ID="A1" ICON="" APPLICATIONNAME="Test-HTA" sysMenu="no" navigable="yes" scroll="no" border="none" showintaskbar="yes" singleinstance="yes" innerborder="no"> <title>Test-HTA</title> </head> <body> <script type="text/javascript">     function computername()     {         var wshShell = new ActiveXObject("WScript.Shell")         var sComputerName = wshShell.ExpandEnvironmentStrings("%COMPUTERNAME%")         return sComputerName     } </script> <strong>Computer Name is: <script type="text/javascript"> document.write(computername());</script></strong> </body> </html>     Output:

Read more

Home Loan EMI Calculator including Principal and Interest Breakup

  Loan Amount (P) 3000000 Interest Rate 10.75 Interest Rate in % per Month ( r ) 0.008958333 Tenure: No. Of Installments (Years) 10 Tenure: No. Of Installments (Months) (n) 120 Processing Fee (0.5%) 15000 Total Interest Amount payable by the end of tenure 3225000 Interest Potion in EMI Amount 322500 Pre-payment Fee       1+r 1.0 (1+r)^n 2.9   ((1+r)^n – 1) 1.9   P*r 26875 EMI 40902 Total Interest Amount payable by the end of tenure 1908192 Total Interest Amount payable in EMI 15902 Overall (principal + Interest) Amount payable by the end of tenure 4908192   […]

Read more