Platforms to show: All Mac Windows Linux Cross-Platform

/Win/WindowsFileVersion


Required plugins for this example: MBS Util Plugin, MBS Win Plugin

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Win/WindowsFileVersion

This example is the version from Sun, 17th Mar 2012.

Project "WindowsFileVersion.xojo_binary_project"
FileTypes
Filetype text
End FileTypes
Class Window1 Inherits Window
Control List Inherits Listbox
ControlInstance List Inherits Listbox
End Control
EventHandler Sub Open() dim v as WindowsFileVersionMBS dim ok as Boolean v=new WindowsFileVersionMBS ok=v.OpenFile(WindowsFolderMBS.Child("explorer.exe")) if ok then List.AddRow "GetCompanyName: "+v.GetCompanyName List.AddRow "GetFileDescription: "+v.GetFileDescription List.AddRow "GetFileVersion: "+v.GetFileVersion List.AddRow "GetInternalName: "+v.GetInternalName List.AddRow "GetLegalCopyright: "+v.GetLegalCopyright List.AddRow "GetOriginalFilename: "+v.GetOriginalFilename List.AddRow "GetProductName: "+v.GetProductName List.AddRow "GetProductVersion: "+v.GetProductVersion List.AddRow "FileVersion: "+v.FileVersion List.AddRow "ProductVersion: "+v.ProductVersion else MsgBox "Failed to get explorer.exe file information." end if End EventHandler
End Class
MenuBar MenuBar1
MenuItem UntitledMenu1 = ""
MenuItem FileMenu = "&File"
MenuItem FileQuit = "Quit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem UntitledMenu0 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

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


The biggest plugin in space...