On Mar 23, 2007, at 11:05 AM, Tim Jones wrote:
> HI Folks,
>
> I'm trying to use the OpenDialog to allow a user to only select files
> that end in ".tar.gz" or ".tgz". I've created a Filetype entry
> called GzipTarFile that has the extensions field containing:
>
> .tgz, .tar.gz
I've dumped the FileType class and generated the Filetype in code as
demonstrated in the LR:
Dim dlg As OpenDialog
Dim f As FolderItem
Dim gzipTarFile As New FileType
gzipTarFile.Names = "gzip compressed tar file"
gzipTarFile.Extensions = "tgz;tar.gz"
dlg.InitialDirectory = DesktopFolder
dlg.Filter = gzipTarFile
f = dlg.ShowModalWithin(Self)
and all files are still selectable when the dialog is displayed.
Thoughts and redirection appreciated.
Tim
--
Tim Jones
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>