lStructSize | The size in bytes of the variable (use the Len function). Set this after setting all other parts of the variable.
|
hwndOwner | The handle of the form using the file dialog box.
|
hInstance | ?
|
lpstrFilter | Fills in the File Type drop-down box. The format is "name of file type" & vbNullChar & "mask" & vbNullChar ... for as many types as you want. The end of it should be vbNullChar & vbNullChar . A mask sorts the files (such as *.txt or *.html or even *.*).
|
lpstrCustomFilter | ?
|
nMaxCustFilter | ?
|
nFilterIndex | What data type of lpstrFilter should be the default. The first one is 1, the second 2, etc.
|
lpstrFile | Set it as a series of blank spaces before the function call. A good size is at least Space(255), since it must be large enough to hold the filename and path. After, it holds file(s) selected. If one is selected, the path and filename are returned, followed by vbNullChar and a series of spaces. If multiple files are selected, the value is the path & vbNullChar & the first filename & the second filename ..., the last filename ending with 2 vbNullChar s.
|
nMaxFile | The length in characters of lpstrFile when you first set it.
|
lpstrFileTitle | Very similar to lpstrFile , this will hold only the filename of the selected file. Again, set it to at least Space(255). If multiple files are selected, this is not set to any useful value.
|
nMaxFileTitle | The length in characters of lpstrFileTitle
|
lpstrInitialDir | The directory to start in. If omitted, it looks in the current directory first.
|
lpstrTitle | What appears in the title bar of the file dialog box (its caption property, basically).
|
flags | Zero or more of the file dialog flags telling how to create the file dialog box.
|
nFileOffset | ?
|
nFileExtension | ?
|
lpstrDefExt | The default extension of a file (Save As box only). If the users saves a file with a *.* mask chosen in the file type box, the file gets this extension. Don't put a period on the extension. Also, the extension cannot be greater that 3 characters (a bug in Windows 95).
|
lCustData | ?
|
lpfnHook | ?
|
lpTemplateName | ?
|
wYear | In an absolute date, the four-digit year. In a relative date, 0.
|
wMonth | The number of the month. 1 is January, 2 is February, 3 is March, etc.
|
wDayOfWeek | The number of the weekday. 0 is Sunday, 1 is Monday, 2 is Tuesday, etc.
|
wDay | In an absolute date, the number of the day (such as the 21 [of June]). In a relative date, 1 is the first, 2 is the second, all the way to 5 is the fifth/last.
|
wHour | The hour, in 24-hour format.
|
wMinute | The minutes.
|
wSecond | The seconds.
|
wMilliseconds | The milliseconds (1000 milliseconds = 1 second).
|
Bias | The difference in minutes between UTC time and local time. In other words, UTC time = local time + Bias .
|
StandardName(32) | A C-style string holding the name of the time zone in standard time.
|
StandardDate | Holds the relative date when daylight savings time ends (if applicable).
|
StandardBias | A number to add to the Bias to form the bias during standard time.
|
DaylightName(32) | A C-style string holding the name of the time zone in daylight savings time.
|
DaylightDate | Holds the relative date when daylight savings time begins (if applicable).
|
DaylightBias | A number to add to the Bias to form the bias during daylight savings time (normally -60).
|