Hello,
The file filter in the following code works well. When I open the dialog box I see all the *.txt file types....
![]()
Please Login or Register to view this content.
However, the new SelectFiles() function needs to be flexible enough so that I can pass it a variable and based on that variable
I can alter the file filter. Something like this:
![]()
Please Login or Register to view this content.
The above gives a runtime error 5 when FilterType = 2 ?
However, the above works if I do:
But I need it to filter files only starting with "User" ... so all files like : "User*.h" ???![]()
Please Login or Register to view this content.
Is there straight forwards approach to this?
Thanks all in advance for your help!
Rn
Bookmarks