| | |
File Attributes
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
Let Me know if this works for ya
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
dim fso dim f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFile("C:\boot.ini") CreatedDate = f.DateCreated LastAccessed = f.DateLastAccessed LastModified = f.DateLastModified FileSize = f.Size msgbox "Created Date: " & CreatedDate msgbox "Last Access: " & LastAccessed msgbox "Last Modified: " & LastModified msgbox "File Size: " & FileSize
![]() |
Similar Threads
- Help with batch file please. (Windows Vista and Windows 7)
- Verifying the existence of a file with a delphi program. (Pascal and Delphi)
- Text File ammendments (Visual Basic 4 / 5 / 6)
- opennig several file (C)
- How to change DIRECTORY ATTRIBUTES through C or C++ (C++)
- file sharing (Windows NT / 2000 / XP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: CAPS LOCK Key
- Next Thread: mscomct2.ocx
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






