Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsFileDescriptorMBS.ClassID as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_CLSID is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.CreationTime as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_CREATETIME is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.FileAttributes as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
This will be a combination of the FILE_ATTRIBUTE_* constants.
Only valid if FD_ATTRIBUTES is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

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

MsgBox d.FileName
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.FileSize as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_FILESIZE is set in flags.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.Flags as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: An array of flags that indicate which of the other structure members contain valid data.
Notes:
A combination of the FD_* constants.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.IconHeight as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_SIZEPOINT is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.IconWidth as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_SIZEPOINT is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.Index as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: The index of the file descriptor.
Notes:
Use this entry for GetFileContent call.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.LastAccessTime as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_ACCESSTIME is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.LastWriteTime as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_WRITESTIME is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.PointX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_SIZEPOINT is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

WindowsFileDescriptorMBS.PointY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: 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
Notes:
Only valid if FD_SIZEPOINT is set in the flags.
(Read and Write property)

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo PDF Plugins