Visitor # Hit Counter <% ' Declare our vaiables Dim objFSO, objCountFile ' object vars for FSO and File Dim strCountFileName ' filename of count text file Dim iCount ' count variable Dim bUseImages ' boolean whether or not to use images Dim I ' standard looping var ' Determine whether we use images or plain text ' You could just set this to True or False instead bUseImages = CBool(Request.QueryString("images")) ' Compute our count file's filename ' This is based on the file from which you call count.asp ' It basically takes that name and appends a .cnt so I don't ' accidently overwrite any files. If for some reason you have ' a file named script_name.asp.cnt then change this or watch out! strCountFileName = Server.MapPath(Request.ServerVariables("SCRIPT_NAME") & ".cnt") ' Create FileSystemObject to deal with file access Set objFSO = Server.CreateObject("Scripting.FileSystemObject") ' Open the file as a text stream (1 = ForReading, True = Create) Set objCountFile = objFSO.OpenTextFile(strCountFileName, 1, True) ' Read the current count from the file If Not objCountFile.AtEndOfStream Then ' Set value to contents of the file iCount = CLng(objCountFile.ReadAll) Else ' If no file exists or it's empty start at 0 iCount = 0 End If ' Close the file and destroy the object objCountFile.Close Set objCountFile = Nothing ' Increment the count iCount = iCount + 1 ' Overwrite existing file and get a text stream to new one Set objCountFile = objFSO.CreateTextFile(strCountFileName, True) ' Write updated count objCountFile.Write iCount ' Close the file and destroy the object objCountFile.Close Set objCountFile = Nothing ' Destroy the FSO object Set objFSO = Nothing ' We're all done with the hard part ' All that's left is to display the results If bUseImages Then ' Loop through the count integer showing each digit ' You can grab the images one at a time or get the zip ' http://www.asp101.com/samples/download/counter_imgs.zip For I = 1 to Len(iCount) ' Output the IMG tag using the right digit Response.Write "" Next 'I Else ' No image wanted just show the variable Response.Write iCount End If %>

 

 

Vision of SAI India represents what we aspire to become: We strive to be a global leader and initiator of National and International best practices in public sector auditing and accounting and recognised for independent, credible, balanced and timely reporting on public finance and governance.


The  Comptroller and Auditor General of India  is the constitutional head of the Indian Audit and Accounts 

Department and is appointed by the President of India under Article 148 of the Constitution of India.

In Andhra Pradesh the Civil Audit and Accounts Offices function under the C&AG are represented by the following

three offices of  Accountants General:

  1.  O/o the Accountant General (Civil Audit)

  2.  O/o the Accountant General (Commercial & Receipt Audit)

  3.  O/o the Principal Accountant General (Accounts & Entitlement)


 

 

Our mission enunciates our current role and describes what we are doing today: Mandated by the Constitution of India, we promote accountability, transparency and good governance through high quality auditing and accounting and provide independent assurance to our stake holders, the Legislature, the Executive and the public, that public funds are being used efficiently and for the intended purposes


Principal Accountant General (A&E), Andhra Pradesh, Hyderabad

Web Administrator: agaeAndhrapradesh@cag.gov.in

 Hosted by: NIC,   Hyderabad      Developed by: Principal Accountant General (A&E), Andhra Pradesh, Hyderabad                 Disclaimer            

Last modified on: Wednesday, January 04, 2012 11:15:16 AM