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.

vb.net anwendung in den Systray

Empfohlene Antworten

Veröffentlicht

hallo leute,

ich möchte eine vb.net anwendung in den systray verschieben wenn ich den minnimieren-button gedrückt habe.

finde aber leider nichts entsprechendes. weiß jemand wie ich das bewerkstellige?

danke

lg

jasso

zwei mögliche ansätze werden z.b. hier erklärt: VBNET:SystemTray - GPWiki

s'Amstel

Im GUI Designer musst du das Control

System.Windows.Forms.NotifyIcon

einfügen.

Hier ein Paar events dazu:

Wenn du es minimierst das es nicht mehr angezeigt wird:


Private Sub PROGRAMM_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Resize

        If Me.WindowState = FormWindowState.Minimized Then

            Me.Hide()

        End If

    End Sub

Wenn du unten auf das Tray icon klickst das es wieder maximiert wird:

Private Sub PROGRAMM_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Zeiterfassung.Click

        Me.WindowState = FormWindowState.Maximized

        Me.Show()

    End Sub

Wenn du mit der Maus drüber gehst, das ein Text über dem Tray angezeigt wird:

Private Sub PROGRAMM_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Zeiterfassung.MouseMove

        PROGRAMM.Text = "BLA BLA TEXT!"

    End Sub

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.