Platforms to show: All Mac Windows Linux Cross-Platform
Required plugins for this example: MBS Linux Plugin
Last modified Sat, 13th Mar 2026.
You find this example project in your MBS Xojo Plugin download as a Xojo project file within the examples folder: /Linux/ProcessList Web
Download this example: ProcessList Web.zip
Project "ProcessList Web.xojo_binary_project"
Class App Inherits WebApplication
End Class
Class Session Inherits WebSession
Const ErrorDialogCancel = "Do Not Send"
Const ErrorDialogMessage = "This application has encountered an error and cannot continue."
Const ErrorDialogQuestion = "Please describe what you were doing right before the error occurred:"
Const ErrorDialogSubmit = "Send"
Const ErrorThankYou = "Thank You"
Const ErrorThankYouMessage = "Your feedback helps us make improvements."
Const NoJavascriptInstructions = "To turn Javascript on, please refer to your browser settings window."
Const NoJavascriptMessage = "Javascript must be enabled to access this page."
EventHandler Function UnhandledException(error As RuntimeException) As Boolean
MessageBox Introspection.GetType(Error).fullname+": "+Error.Message
return true
End EventHandler
End Class
Class WebPage1 Inherits WebPage
Control List Inherits WebListBox
ControlInstance List Inherits WebListBox
End Control
Control Button1 Inherits WebButton
ControlInstance Button1 Inherits WebButton
EventHandler Sub Pressed()
List.RemoveAllRows
dim processes() as LinuxProcessMBS = LinuxProcessMBS.Processes
if processes = nil then
MessageBox "processes is nil!"
else
for each p as LinuxProcessMBS in processes
if p<>nil then
List.AddRow str(p.ProcessID), p.Name, p.CommandLine
else
List.AddRow "p = nil"
end if
next
end if
End EventHandler
End Control
End Class
Sign
End Sign
End Project
Download this example: ProcessList Web.zip
The items on this page are in the following plugins: MBS Linux Plugin.