c# - Bring Outlookelements to front -


I'm opening Outlookelements with the code shown (scroll down, C # code below). Sometimes the elements do not appear, so you have to choose them first. Any idea how to do this?

Thanks Thomas

  MAPIFolder objFolder = New ApplicationClass (). GetNamespace (). "MAPI") GetDefaultFolder (OlDefaultFolders.olFolderNotes). Foreach (Note: objFolder.Items in Notat Note). Display (false);  

If you are calling from another app, you have to handle HWD, you You can do this via Win API calls or you can use redemption, which has a handle property.

Here is a link whose configuration is WinApi


Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -