>How can a list/table/array of Windows applications and/or their extentions be retrieved from the Registry through a WinAPI call.
>
>TIA
>
Dennis,
It's not very difficult, but I imagine it would be rather time consuming. The registry class has an EnumKeys() method. What you'd have to do is Open HKEY_CLASSES_ROOT (via oReg.OpenKey("")), then pass an array by reference to the EnumKeys method. This will load the array with all the keys directly beneath HKEY_CLASSES_ROOT. You'd then have to go through and delete from the array all entries where LEFT(a_array[n], 1) does not equal a period. Optionally, you could create a table and append in directly from the array, then DELETE ALL FOR the above condition. You could then create an instance of the FileReg object in the same class (REGISTRY.VCX) and pass the extensions (without the period) to its GetAppPath() method. This will return the application.
That do it?
George
Ubi caritas et amor, deus ibi est