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

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -