LOCAL loComDialog AS "mscomdlg.commondialog"When I type the period in "loComDialog.", I then get a drop down list of all the object's properties and methods.
>loComDialog = newobject("mscomdlg.commondialog") >loComDialog.InitialDir = "c:\projects" >loComDialog.Filter = "All Files (*.*)|*.*|Text Files(*.txt)|*.txt|Batch Files (*.bat)|*.bat" >loComDialog.FilterIndex = 2 >loComDialog.MaxFileSize = 260 >loComDialog.ShowOpen() >lcFileName = loComDialog.FileName >MESSAGEBOX(lcFileName) >>