Platforms to show: All Mac Windows Linux Cross-Platform
Required plugins for this example: MBS Util Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Util/Process/Process Paths
This example is the version from Thu, 31th Jul 2019.
Project "Process Paths.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control List Inherits Listbox
ControlInstance List Inherits Listbox
EventHandler Sub Change()
if me.ListIndex>=0 then
StaticText5.text=List.Cell(List.ListIndex,0)
StaticText6.text=List.Cell(List.ListIndex,1)
StaticText7.text=List.Cell(List.ListIndex,2)
StaticText8.text=List.Cell(List.ListIndex,3)
StaticText9.text=List.Cell(List.ListIndex,4)
else
StaticText5.text=""
StaticText6.text=""
StaticText7.text=""
StaticText8.text=""
StaticText9.text=""
end if
End EventHandler
End Control
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 StaticText10 Inherits Label
ControlInstance StaticText10 Inherits Label
End Control
EventHandler Sub Open()
dim p as new ProcessMBS
p.GetFirstProcess
do
List.AddRow p.name
if p.Path<>nil then
List.Cell(List.LastIndex,1) = p.Path.NativePath
end if
List.Cell(List.LastIndex,2)=p.WinProcessImagePath
List.Cell(List.LastIndex,3)=p.WinFullProcessImagePath
List.Cell(List.LastIndex,4)=p.winModulePath
loop until not p.GetNextProcess
me.List.ListIndex=0
End EventHandler
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
End Project
See also:
The items on this page are in the following plugins: MBS Util Plugin.