Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9192331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:53:44+00:00 2026-06-17T20:53:44+00:00

My Outlook 2010 add-in (using VSTO) does some web-service calls in a different thread

  • 0

My Outlook 2010 add-in (using VSTO) does some web-service calls in a different thread when a mail is sent. I’d like to display a small non-modal pop-up notification (like those of Skype/yahoo/Windows live messenger) displaying the result of the web-service call.

I was trying to customize the Notification Window project as per my requirements. It seems to work fine when called from a click event handler of a form of my add-in using the following code:

private void btnOk_Click(object sender, EventArgs e)
{
    PopupNotifier notifier = new PopupNotifier();
    notifier.DisplayNotification("Test");
}

However, when the same method notifier.DisplayNotification(“Test”) is called from the background thread doing the web-service call, the notifier hangs; Its form is displayed on screen, but no text, color or animation seems to work. It just sits there until Outlook is closed.

I’ve done some searching and found that this might happen since the notifier is using the Show() method instead of ShowDialog() for displaying its form. And since I don’t want a modal dialog for the pop-up notification, I can’t change the method to ShowDialog() either.

According to other articles, I’ve also tried calling the method using backgroundWorkers, delegates, MethodInvoker, etc. but could not get the desired result.

However, while trying the above, I noticed that the same happens for not only the pop-up notifier, but any simple form. If I create it in the background thread and call the Show() method, it just gets stuck, whereas in the same situation ShowDialog() seems to work fine.

Any idea on how I could fix this would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:53:45+00:00Added an answer on June 17, 2026 at 8:53 pm

    I eventually managed to solve the issue using the TaskbarNotifier project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building an Outlook add-in in Visual Studio 2010, using VSTO with VB.net, to
I've just built an MS Outlook Add In using Visual Studio and Office 2010.
I have a VSTO Outlook 2007 add-in. I am trying to get sender e-mail
I'm writing an Outlook 2010 add-in with VSTO, one part of which will automatically
I am developing a VSTO 2010 Office 2007 Outlook Add-In deployed from Click-Once. On
I am using Visual Studio 2010 to create a Outlook 2010 Add In. I
I'm developing an outlook 2010 add-in in c#/.net. I have some items that I
I have developed a Outlook Addin using VSTO in Visual Studio 2010, on Windows
I'm writing an Outlook 2010 add-in that needs to perform different tasks depending on
I'm developing an Add In for Outlook (2007 and 2010) using .NET4 to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.