home *** CD-ROM | disk | FTP | other *** search
- Form1
- Date/Time Example
- Form1,
- Label1
- -Double Click a file to display it's date/time
- Drive1
- File1
- Drive1_Change
- drive1
- listindex
- driveS
- list1
- dir1^
- file1
- Dir1_Change
- File1_DblClick
- OFSTRUCT
- OpenFile
- OF_EXIST
- fmonth
- fyear
- fhour
- fminute
- fsecond
- Drive1_Change
- Dir1_Change
- File1_DblClick
- Double clicking on the file list box will display the files
- full path, name, date, time and size in the pic1 controll
- === setup the full path to the desired file=
- === setup an OFSTRUCT data structure
- === call the OpenFile api call to get needed data=
- === construct the date/time stamp
- === get the file size
- === display the data in pic1
- "t
- ##,###,###
- bytesu
-