FolderChooser

mjcoon

Well-Known Member
Licensed User
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.

Mike.
 

mjcoon

Well-Known Member
Licensed User
The one supplied with v6.90 in the Samples folder seems to work fine for me. Is this the one you mean?

Thanks Andrew, I'll take a look. The one (actually two) I was trying I found by searching the forum, which did not point to the samples folder...

Mike.
 

mjcoon

Well-Known Member
Licensed User
Thanks Andrew, I'll take a look. The one (actually two) I was trying I found by searching the forum, which did not point to the samples folder...

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!

Mike.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…