PDA

Click to See Complete Forum and Search --> : FindFirstFile, FindNextFile


demirc
Feb 10th, 2001, 09:20 AM
Using,

Type FILE_PARAMS
fAttributes As Long
sFileRoot As String
sFileNameExt As String
End Type


and

FindFirstFile, FindNextFile,

Can u pass more than one extension to sFileNameExt at once ? If so how. Tried vbnull but didn't work for me. ( i.e *.txt,*.wri )

Or passing it to FindFirstFile.

amitabh
Feb 11th, 2001, 12:58 AM
I also had the same problem once, but coujld not make it work with two extensions. So I simply called the api two times and stored the results of both the calls in the single array.

Feb 11th, 2001, 11:32 AM
I have already tried that, using it now. With some bugs, I have to add.

But I'm still looking for a yes or no, and if yes than how ?

That will save me from whole lot of coding.

Anyone ?