I doubt that you can do it with the common dialog unless you specify exactly the file sceleton. Still subdirectories will be seen. I think you need to make your own "Choose file" dialog here.
>Yuri
>
>Sorry but another question here.
>
>When the dialogue opens the filename pull donw list is populated with files I have previously looked at . How could I clear that list. The top filename is what I want but I don't want anything else in the list.
>
>Nick Mason
>
>>
>>loComDialog = createobject("mscomdlg.commondialog")
>>loComDialog.Filter = "Text Files(*.txt)"
>>loComDialog.MaxFileSize=40
>>loComDialog.filename="n*.txt"
>>loComDialog.ShowOpen()
>>
>>
>>
>>>Yuri
>>>
>>>I can't seem to set this correctly to load a file skeleton. The filter I set gets loaded but the file list isn't filtered. Do you know how I would do that ?
>>>
>>>
>>>Thanks
>>>
>>>
>>>
>>>
>>>>See message #
715104>>>>>Hi
>>>>>
>>>>>I'm using this class to open files. I want to be able to load file skeletons so I'm not using GETFILE(). How can I make the File open dialogue open where I want rather than top left hand corner.
>>>>>
>>>>>
>>>>>Thanks
>>>>>
>>>>>
>>>>>Nick Mason