Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsFileDescriptorMBS class.

WindowsFileDescriptorMBS.ClassID as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The file type identifier.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_CLSID) <> 0 then
MsgBox d.ClassID
end if

Only valid if FD_CLSID is set in the flags.
(Read and Write property)

WindowsFileDescriptorMBS.CreationTime as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The time of file creation.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_CREATETIME) <> 0 then
dim da as new date
da.TotalSeconds = d.CreationTime
MsgBox da.LongDate
end if

Only valid if FD_CREATETIME is set in the flags.
(Read and Write property)

WindowsFileDescriptorMBS.FileAttributes as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
File attribute flags.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_ATTRIBUTES) <> 0 then
if BitwiseAnd(d.FileAttributes, d.FILE_ATTRIBUTE_TEMPORARY) = d.FILE_ATTRIBUTE_TEMPORARY then
MsgBox "temp file"
else
MsgBox "no temp file"
end if
end if

This will be a combination of the FILE_ATTRIBUTE_* constants.
Only valid if FD_ATTRIBUTES is set in the flags.
(Read and Write property)

WindowsFileDescriptorMBS.FileName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The string that contains the name of the file.
Example
dim d as WindowsFileDescriptorMBS // your file description

MsgBox d.FileName

(Read and Write property)

WindowsFileDescriptorMBS.FileSize as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The file size, in bytes.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_FILESIZE) <> 0 then
MsgBox str(d.FileSize)
end if

Only valid if FD_FILESIZE is set in flags.
(Read and Write property)

WindowsFileDescriptorMBS.Flags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
An array of flags that indicate which of the other structure members contain valid data.

A combination of the FD_* constants.
(Read and Write property)

WindowsFileDescriptorMBS.IconHeight as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The height of the file icon.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_SIZEPOINT) <> 0 then
MsgBox "file object at "+stR(d.Pointx)+"/"+str(d.Pointy)+" with size "+str(d.IconWidth)+"/"+str(d.IconHeight)
end if

Only valid if FD_SIZEPOINT is set in the flags.
(Read and Write property)

WindowsFileDescriptorMBS.IconWidth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The width of the file icon.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_SIZEPOINT) <> 0 then
MsgBox "file object at "+stR(d.Pointx)+"/"+str(d.Pointy)+" with size "+str(d.IconWidth)+"/"+str(d.IconHeight)
end if

Only valid if FD_SIZEPOINT is set in the flags.
(Read and Write property)

WindowsFileDescriptorMBS.Index as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The index of the file descriptor.

Use this entry for GetFileContent call.
(Read and Write property)

WindowsFileDescriptorMBS.LastAccessTime as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The time that the file was last accessed.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_ACCESSTIME) <> 0 then
dim da as new date
da.TotalSeconds = d.LastAccessTime
MsgBox da.LongDate
end if

Only valid if FD_ACCESSTIME is set in the flags.
(Read and Write property)

WindowsFileDescriptorMBS.LastWriteTime as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The time of the last write operation.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_WRITESTIME) <> 0 then
dim da as new date
da.TotalSeconds = d.LastWriteTime
MsgBox da.LongDate
end if

Only valid if FD_WRITESTIME is set in the flags.
(Read and Write property)

WindowsFileDescriptorMBS.PointX as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The x screen coordinate of the file object.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_SIZEPOINT) <> 0 then
MsgBox "file object at "+stR(d.Pointx)+"/"+str(d.Pointy)+" with size "+str(d.IconWidth)+"/"+str(d.IconHeight)
end if

Only valid if FD_SIZEPOINT is set in the flags.
(Read and Write property)

WindowsFileDescriptorMBS.PointY as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Drag & Drop MBS Win Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The y screen coordinate of the file object.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_SIZEPOINT) <> 0 then
MsgBox "file object at "+stR(d.Pointx)+"/"+str(d.Pointy)+" with size "+str(d.IconWidth)+"/"+str(d.IconHeight)
end if

Only valid if FD_SIZEPOINT is set in the flags.
(Read and Write property)

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...