FileDialog
If you want to use the standard Windows File Open dialog it's in one
of the Windows common controls. It's called the Microsoft Common
Dialog Control (comdlg32.ocx).
In your code you would use something like this:
Dim objCommonDialog1 As CommonDialog
'set properties for common dialog like Filter, DialogTitle,FileName,
DefaultExt, FileTitle, etc.
objCommonDialog1.ShowOpen
However, that control is only available for your development use if
you have Office Developer or VB6. Otherwise you'd have to construct
your own dialog and get/set all the properties you want to use for the
dialog.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
|