Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Programme wieder schliessen

Empfohlene Antworten

Ich soll ein Programm entwickeln, welches Workstations validiert (ob Word und excel funzt, ob der Virenscanner dienst korrekt läuft, usw...).

Klappt auch alles, nur die von VB geöffneten Anwendungen bekomme ich nicht wieder geschlossen ohne extra die Mouse bemühen zu müssen. Wie schließt man den Programme???

Besten Dank im Voraus

Hi Nobody,

probiers mal mir

End

THX, aber mit end kann man doch nur Subs Ifs loops beenden und keine aktiven Programme, die grad auf der WKS laufen, oder???

Hi,

ich geh' mal davon aus das Du die Anwendungen ungefähr so starttes ja:

dim test as long

test= shell ("Pfad zur Anwendung)

appActivate test

oder so ähnlich ja???

nun, dann ich würde mal folgende Lösung vorschlagen:

zum beenden der aktivierten Anwendung schreib doch einfach mal:

SendKeys "%{F4}"

Das ist als würdest Du Alt+F4 drücken.

PS: Das funktioniert nur wenn du die Anwendung vorher (wie oben erwähnt) aktiviert hast (AppActivate test)!!!

Hoffe ich konnte dir helfen.

C Ya

;)

Das mit Shell stimmt. Hab über ne API DestroyWnd den Prozess mehr oder weniger sanft aus dem system gerissen (hat permanent gecrasht. Aber das mit SendKey ist ne klasse Idee, THX.

Übrigens lässt sich auch über diese APi der Focus auf die Anwendung setzten.

away testen...

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.