I have a homepage need to count the usage frequency of Notepad or Calc application. Is there any Windows API that I can know the usage frequency of windows application?
No. But you can write a service that will check applications in memory and do appropriate calculations. Few links:
Also, shell variant from bua is quite ready solution. You just need some parsing and updating the counter (not necessary in the database).