Is there a version of FolderChooser that works with 6.90?
It seems that the way it uses Control() is not merely deprecated, it gives a error but the suggested re-casting in the error message does not work because Control() is being used for two different object types.
I checked it out and found that the solution is the same as the one that I had developed myself (to use an If Then Else End If twice). If it were possible to pass the object type as a Sub parameter then such a Sub could be made general and that would not be necessary.
BTW I also found that the btnSelect_Click code closes the form and therefore triggers the return call with a null selected folder instead of the one that has just been selected!