B4J Question Global Type Process?

Guenter Becker

Active Member
Licensed User
Longtime User
Hello,

I like to use this sub in my project. But I do not know whwre the "as Process" comes from.
Can anyone explain which library must be used.

B4X:
Sub UninstallApp
   [B] [/B]Dim p As [B]Process[/B]
    Dim command As String
    command = "powershell -Command ""Get-AppxPackage *ExampleApp* | Remove-AppxPackage"""
    p.Initialize("cmd", command, "")
    p.Start
End Sub
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…