PMS32 Online- Hilfereferenz
AShell - Windows System Objekt
Windows System Objekt
*/ Kurzbeispiel für den Zugriff auf diese Struktur */ Der Zugriff erfolgt über: My.Systems.AShell */ Wird dieses Objekt in einem REPLACE oder einer Schleife SCAN ... ENDSCAN | FOR ... NEXT benötigt */ so sollte vor der Schleife die Objektstruktur in eine Variable geholt werden! */ Die Ausführungsgeschwindigkeit wird dadurch sehr vergrößert! */ Beispiel: */ Definieren einer LOKALEN Variablen LOCAL loAShell AS My.Systems.AShell */ Setzen der Variablen loAShell = My.Systems.AShell */ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein... REPLACE ALL Feldname1 WITH loAShell.Function1(),Feldname2 WITH loAShell.Function1(), ... */ Oder in einer Schleife... SCAN lvValue = loAShell.Function(Alias.Spalte) + 25 lvValue = loAShell.Function2(m.lvValue) REPLACE Feldname WITH m.lvValue,... ENDSCAN */ Es sind auch geschachtelte Aufrufe möglich...
Add an object to the Recent Docuements
Variant = My.Systems.AShell.AddToRecent(varFile as Variant,bstrCategory as String) Variant = My.Systems.AShell.AddToRecent(varFile,bstrCategory)
Browse the name space for a Folder
Variant = My.Systems.AShell.BrowseForFolder(Hwnd as Integer,Title as String,Options as Integer,RootFolder as Variant) Variant = My.Systems.AShell.BrowseForFolder(Hwnd,Title,Options,RootFolder)
Determine if the current user can start/stop the named service.
Variant = My.Systems.AShell.CanStartStopService(ServiceName as String) Variant = My.Systems.AShell.CanStartStopService(ServiceName)
Cascade Windows
Variant = My.Systems.AShell.CascadeWindows()
Run a Control Panel Item
Variant = My.Systems.AShell.ControlPanelItem(bstrDir as String) Variant = My.Systems.AShell.ControlPanelItem(bstrDir)
Eject the pc
Variant = My.Systems.AShell.EjectPC()
Explore a folder
Variant = My.Systems.AShell.Explore(vDir as Variant) Variant = My.Systems.AShell.Explore(vDir)
Return explorer policy value
Variant = My.Systems.AShell.ExplorerPolicy(bstrPolicyName as String) Variant = My.Systems.AShell.ExplorerPolicy(bstrPolicyName)
Bring up the file run
Variant = My.Systems.AShell.FileRun()
Find a computer
Variant = My.Systems.AShell.FindComputer()
Find Files
Variant = My.Systems.AShell.FindFiles()
Find a Printer in the Directory Service
Variant = My.Systems.AShell.FindPrinter(Name as String,location as String,model as String) Variant = My.Systems.AShell.FindPrinter(Name,location,model)
Return shell global setting
Variant = My.Systems.AShell.GetSetting(lSetting as Integer) Variant = My.Systems.AShell.GetSetting(lSetting)
Retrieve info about the user's system
Variant = My.Systems.AShell.GetSystemInformation(Name as String) Variant = My.Systems.AShell.GetSystemInformation(Name)
Display shell help
Variant = My.Systems.AShell.Help()
get restriction settings
Variant = My.Systems.AShell.IsRestricted(Group as String,Restriction as String) Variant = My.Systems.AShell.IsRestricted(Group,Restriction)
Determine if a service is running by name.
Variant = My.Systems.AShell.IsServiceRunning(ServiceName as String) Variant = My.Systems.AShell.IsServiceRunning(ServiceName)
Minimize all windows
Variant = My.Systems.AShell.MinimizeAll()
Get special folder from ShellSpecialFolderConstants
Variant = My.Systems.AShell.NameSpace(vDir as Variant) Variant = My.Systems.AShell.NameSpace(vDir)
Open a folder
Variant = My.Systems.AShell.Open(vDir as Variant) Variant = My.Systems.AShell.Open(vDir)
Refresh the menu
Variant = My.Systems.AShell.RefreshMenu()
Variant = My.Systems.AShell.SearchCommand()
Start a service by name, and optionally set it to autostart.
Variant = My.Systems.AShell.ServiceStart(ServiceName as String,Persistent as Variant) Variant = My.Systems.AShell.ServiceStart(ServiceName,Persistent)
Stop a service by name, and optionally disable autostart.
Variant = My.Systems.AShell.ServiceStop(ServiceName as String,Persistent as Variant) Variant = My.Systems.AShell.ServiceStop(ServiceName,Persistent)
Bring up the Set time dialog
Variant = My.Systems.AShell.SetTime()
Execute generic command
Variant = My.Systems.AShell.ShellExecute(File as String,vArgs as Variant,vDir as Variant,vOperation as Variant,vShow as Variant) Variant = My.Systems.AShell.ShellExecute(File,vArgs,vDir,vOperation,vShow)
Show/Hide browser bar.
Variant = My.Systems.AShell.ShowBrowserBar(bstrClsid as String,bShow as Variant) Variant = My.Systems.AShell.ShowBrowserBar(bstrClsid,bShow)
Exit Windows
Variant = My.Systems.AShell.ShutdownWindows()
Suspend the pc
Variant = My.Systems.AShell.Suspend()
Tile windows horizontally
Variant = My.Systems.AShell.TileHorizontally()
Tile windows vertically
Variant = My.Systems.AShell.TileVertically()
Raise/lower the desktop
Variant = My.Systems.AShell.ToggleDesktop()
Handle Tray properties
Variant = My.Systems.AShell.TrayProperties()
Undo Minimize All
Variant = My.Systems.AShell.UndoMinimizeALL()
Variant = My.Systems.AShell.WindowSwitcher()
The collection of open folder windows
Variant = My.Systems.AShell.Windows()
Windows Security
Variant = My.Systems.AShell.WindowsSecurity()
Get Application object
Object = My.Systems.AShell.Application
Get Parent object
Object = My.Systems.AShell.Parent
Siehe auch : Hauptmenü / Hauptindex / Such Index / Cursor Index / Programm Module / Tabellen Index / Tabellenmodule / Masken Index / Programmcode Index / Servicepacks / My.Struktur / Funktionen / Sonstiges Index
Lokale Benutzerhilfe : Meine eigene Hilfe / Zurück zur PMS32 - Hilfe
Dateiversion:1.0.04#3648 - H.U.DD#SSFF 02.12.2022
Senden Sie Ihren Kommentar zu diesem Thema an das Entwicklungsteam von PMS32
Weitere Informationen finden Sie unter der aktuellen
PMS32 WEB-Hilfe
Die Informationen dieser Mitteilung sind vertraulich und nur für Sie bestimmt. Unbefugtes Weiterleiten,
Veröffentlichen, Kopieren usw. sind untersagt und werden gerichtlich verfolgt.
© PMS Compelec GmbH 2022 ® el-Projekt