>I am using VFP 6 SP3. I would like to ensure that various controls that I use in my forms are properly registered before I instantiate the form; a specific example is the Dynazip control we use for supporting backups.
>
>I am aware of the VFP Foundation Class Registry classes, but the Dynazip controls register themselves only as GUIDs and we have not been able to find a way to "search" the registry (as we would do with RegEdit).
>
If you addrsss the control by name, then there will be an entry under HKEY_CLASSES_ROOT that matches that name; for example, if you CREATEOBJ('Word.Application'), there has to be an entry HKEY_CLASSES_ROOT\Word.Application for CREATEOBJ() to work.
>Can anyone tell me how to determine if the Registry includes an entry for "abcdefg.dll" ?
>
The problem is that there can >1 entry; you coudl recurse through HKEY_CLASSES_ROOT and check the InProcServer32 entry for each entry, but that'd take forever...