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: Outlook-Icon in speziellem Explorer

Empfohlene Antworten

Hi,

ich schon wieder mit meinem besch*** Outlook-AddIn;

Weiß jemand von euch vielleicht, wie ich ein Icon in der Standard-Toolbar von Outlook 2000 nur im Kontakte-Ordner erstellen kann?

Das funktioniert:

Dim oApp As Outlook.Application

Dim WithEvents oMyCB As Office.CommandBarButton

Dim WithEvents oNS As Outlook.NameSpace

Set oApp = CreateObject("Outlook.Application")

Set oNS = oApp.GetNamespace("MAPI")

Set oMyCB = oApp.ActiveExplorer.CommandBars("Standard").Controls.Add( _

Type:=msoBarTop, Temporary:=True, Before:=1)

So hab ich aber einen Toolbarbutton, der in jeder Standardtoolbar ist, also in Inbox, Outbox, etc. Ich brauche diesen Button aber nur in der Standardtoolbar vom Kontakte-Ordner. Zu meinem Problem.

Das funktioniert nicht (einer von x Lösungsansätzen)

Dim oApp As Outlook.Application

Dim WithEvents oMyCB As Office.CommandBarButton

Dim WithEvents oNS As Outlook.NameSpace

Set oApp = CreateObject("Outlook.Application")

Set oNS = oApp.GetNamespace("MAPI")

Set oMyCB = oApp.Explorers.Item(10).CommandBars("Standard").Controls.Add( _

Type:=msoBarTop, Temporary:=True, Before:=1)

Das Item 10 steht für den Kontakte-Ordner. Ich schließe jeden, der mir dabei helfen kann in mein Abendgebet ein :-)

Ich kenne mich zwar in Outlook nicht besonders aus, fürchte aber, dass die Standard-Toolbar für alle Fenster gleich ist. Ware es nicht günstiger, eine benutzerdefinierte Toolbar anzulegen, die nur im gewünschrten Fenster angezeigt wird und in den übrigen auf unsichtbar gesetzt ist?

mfg Rita

Ich habs gelöst (und poste es, falls jemand mal das gleiche Problem hat):

mit dem Ereigniss Explorer_FolderSwitch auf den Kontakte Ordner geprüft und dann eben bei Zutreffen den Button gesetzt bzw gelöscht.

Gruß,

Damian

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.