Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/Win/Windows Volume Information
Function:
Required plugins for this example: MBS Win Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Win/Windows Volume Information
This example is the version from Sun, 17th Mar 2012.
Project "Windows Volume Information.rbp"
Class Window1 Inherits Window
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control StaticText2 Inherits Label
ControlInstance StaticText2 Inherits Label
End Control
Control StaticText3 Inherits Label
ControlInstance StaticText3 Inherits Label
End Control
Control StaticText4 Inherits Label
ControlInstance StaticText4 Inherits Label
End Control
Control StaticText5 Inherits Label
ControlInstance StaticText5 Inherits Label
End Control
Control StaticText6 Inherits Label
ControlInstance StaticText6 Inherits Label
End Control
Control StaticText7 Inherits Label
ControlInstance StaticText7 Inherits Label
End Control
Control StaticText8 Inherits Label
ControlInstance StaticText8 Inherits Label
End Control
Control StaticText9 Inherits Label
ControlInstance StaticText9 Inherits Label
End Control
Control pName Inherits Label
ControlInstance pName Inherits Label
End Control
Control pFSName Inherits Label
ControlInstance pFSName Inherits Label
End Control
Control pSerial Inherits Label
ControlInstance pSerial Inherits Label
End Control
Control pMaxLen Inherits Label
ControlInstance pMaxLen Inherits Label
End Control
Control pCasePres Inherits Label
ControlInstance pCasePres Inherits Label
End Control
Control pCasetiv Inherits Label
ControlInstance pCasetiv Inherits Label
End Control
Control pUnicode Inherits Label
ControlInstance pUnicode Inherits Label
End Control
Control pCompressed Inherits Label
ControlInstance pCompressed Inherits Label
End Control
Control pFileCompress Inherits Label
ControlInstance pFileCompress Inherits Label
End Control
Control StaticText10 Inherits Label
ControlInstance StaticText10 Inherits Label
End Control
Control pFileEncrypt Inherits Label
ControlInstance pFileEncrypt Inherits Label
End Control
EventHandler Sub Open() dim w as WindowsVolumeInformationMBS w=new WindowsVolumeInformationMBS("C:\") pname.text=w.name pfsName.text=w.FileSystemName pmaxLen.text=tostring(w.maxNameLength) pcasePres.text=tostring(w.CaseIsPreserved) pcasetiv.text=tostring(w.caseSensitive) punicode.text=tostring(w.SupportsUnicodeFilenames) pcompressed.text=tostring(w.IsCompressedVolume) pfileCompress.text=tostring(w.SupportsFileCompression) pfileEncrypt.text=tostring(w.SupportsFileEncryption) pserial.text=hex(w.serial) End EventHandler
Function ToString(v as variant) As string return v End Function
End Class
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

Feedback, Comments & Corrections

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





Links
MBS Xojo tutorial videos