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: Information von ActiveX-DLL nach Hauptprogramm weitergeben.

Empfohlene Antworten

Ich habe mir mit VB6 eine ActiveX-DLL gebaut und diese in Outlook eingebunden.

Wenn jetzt neue Mails kommen, werden in einem Fenster aus der DLL weitere Informationen angezeigt, also im Grunde genommen ein erweiterter "Neue Mail Dialog".

Wenn ich jetzt auf die Zeile in dem FlexGrid mit den Mails einen Doppelklick mache, würde ich gerne die entsprechende Mail aufrufen, EntryID aus Outlook ist bekannt.

Dazu müsste ich aber irgendwie einen Aufruf von der DLL ins Outlook machen, so in der Art "Öffne Mail xyz".

Geht das irgendwie?

Grund für die DLL:

Ich habe das Fenster in VB statt VBA gemacht, weil die Formulare flexibler sind als die Userforms in VBA. Ich hab ein paar sachen eingebaut die ich in VBA vermisst habe...

Klar, das ist ein MailItem, bekommst du über die Application Klasse in deiner COM Dll. Da gibts aber auch Tonnenweise Beispiele für im Netz. Komplizierte finde ich das MailOpen Event von Outlook in die DLL zu bekommen, hast du dafür einen Beispielcode?

Nutze jetzt in der DLL die Outlook 9.0 Object Library.

Damit klappts relativ gut.

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.