Leon Summers
asked on
Determine Software Usage\Frequency of use using vbscript.
Hi,
I am wondering if anyone knows where in the registry i can retrieve the data that shows the frequency of use of software currently installed in windows xp. This is displayed in the add & remove programs window as rare\occasionally\frequent ly at the moment.
I want to capture this data in my script as I am already capturing what software is installed from the registry in two places, using HKEY_LOCAL_MACHINE\SOFTWAR E\Microsof t\Windows\ CurrentVer sion\Unins tall and also ("Select * from Win32_Product").
Many thanks
Summers
I am wondering if anyone knows where in the registry i can retrieve the data that shows the frequency of use of software currently installed in windows xp. This is displayed in the add & remove programs window as rare\occasionally\frequent
I want to capture this data in my script as I am already capturing what software is installed from the registry in two places, using HKEY_LOCAL_MACHINE\SOFTWAR
Many thanks
Summers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Structure ShowInfoCache
Dim cLen As Integer ' size of the ShowInfoCache (552 bytes)
Dim Flag As Boolean ' unknown
Dim Size As Long ' program size in bytes
Dim LastUsed As Long ' API-style FILETIME
Dim Frequency As Integer ' 0-2 = rarely; 3-9 = occassionaly; 10+ = frequently
Dim Path As String ' remaining 524 bytes (max path of 260 + null) in unicode
End Structure