maneesh_jain
31st July 2009, 16:16
Hi,

I searched the forums for select.file and I found a lot of messages on this topic. I am having trouble with this call. When I use this call in one of my scripts, the file folder pops up and I can browse through the directories, but I can't see the files in the folders when I get to the lowest level.

I am using following statement:

select.file(obj.path, 0, dir.path, num.sel, 1, 1)

Should I change any of the parameters?

Thanks.

george7a
3rd August 2009, 10:31
Hi,

Are you talking about the tgbrg0019 DLL?
Did you try to check the exact syntax in that DLL on you system (using bic_info)?

For example the function on my server looks like this:

function extern long select.file(
domain tgfile path,
long multi.select.allowed,
ref string selected(,) fixed,
ref long no.of.selected,
long max.selected,
[ long only.directories ] )


So you set the last argument which is to select only directories to "true"..

I hope it helps,

- George