Hi,
I have to retrieve windows file details in a VL form. These details are displayed when clicking with right mouse on a file in windows explorer and then selecting "Details" in the file's properties window. Of course these can be different values depending on the type of the file.
How can this be managed?
Many thanks in advance,
Joerg
Windows File Details
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Windows File Details
To access the Windows File System information, it's probably best to enrol the Windows FileSystemObject (https://msdn.microsoft.com/en-us/librar ... s.84).aspx) as an ActiveX.
After that, you'll have to ask Microsoft where to get specific file information from.
I've attached a sample form that returns the created date and file size for the selected file.
Regards
After that, you'll have to ask Microsoft where to get specific file information from.
I've attached a sample form that returns the created date and file size for the selected file.
Regards
- Attachments
-
- WindowsFileSystem.zip
- (13.43 KiB) Downloaded 1039 times
Re: Windows File Details
Also the GET_DIR option of http://docs.lansa.com/14/en/lansa015/in ... ervice.htm can return file size and date details.