Could you post a code snippet? It would be helpful to see how your OPEFILENAME struct is set up.
Type: Posts; User: pete.m
Could you post a code snippet? It would be helpful to see how your OPEFILENAME struct is set up.
You could also save yourself some trouble and pass the filter you're looking for into FindFirstFile, ie. *.txt or filename.txt