Solved

Bring to front Outlook contact form called using OOM

Posted on 2013-06-25
2
616 Views
Last Modified: 2013-07-02
Hi

In our application we are using OOM (Outlook object model) to let the user choose recipients for email from his Outlook address book. Calling GetSelectNamesDialog() method show the contact list from Outlook.

The problem is that window may appears under the main window of our application. The method call doesn't give handle or any means to bring it to front.

How can we bring this windows in front of our application's main window.

We code in c# framework 2.0.

If you need more information, please ask.

Thanks!
0
Comment
Question by:TelDig
2 Comments
 
LVL 3

Accepted Solution

by:
dheiert earned 500 total points
ID: 39274494
There is no property on the dialog to put it on top or make it modal?
Here is the exact problem with a potential solution, but it is generic.
http://social.msdn.microsoft.com/Forums/office/en-US/0b10c743-8738-45a7-9bef-922ad5f72438/how-to-bring-the-popup-created-using-getselectnamesdialog-to-the-foreground-as-a-top-most-window
0
 

Author Closing Comment

by:TelDig
ID: 39294179
Thanks for the link. This helped to solve the issue.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question