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

  • Home
  • SEARCH
  • 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 6195099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:24:37+00:00 2026-05-24T03:24:37+00:00

I want to create a program that does remote installs. I’d like to be

  • 0

I want to create a program that does remote installs. I’d like to be able to have a window launch at the start of each installation and give a progress bar with the approximate progress of the job.

If I create the window off the main thread I can access all of it’s elements but it’s not responsive due to the task of actually running the install. If I launch the window in a new thread I can’t seem to get the main thread to recognize any of the elements in the window so I can’t update the progress bar.

How can I create a multi-threaded UI that is responsive?

  • 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-05-24T03:24:38+00:00Added an answer on May 24, 2026 at 3:24 am

    To keep the UI responsive with a second thread (that’s doing the work) and be able to update the UI from the second thread, you’ll need to use Invoke on the controls. There’s a number of code snippets available out there.

    Here’s a short example: How can I update my user interface from a thread that did not create it?

    You can find dozens of examples here on SO as well – just do a search 🙂

    Here’s another similar question on SO today – cross threading problem – there’s a code example in one of the answers.

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

Sidebar

Related Questions

I want to create a program that requests from the user 10 grades and
<flavor> I want to create a spelling test program for my grade schoolers that
I want to create a C# program to provision Windows Mobile devices. I have
I want to create a simple http proxy server that does some very basic
I want to create a very simple HTML/AJAX based GUI for a Python program.
I want to create a function that performs a function passed by parameter on
I want to create a draggable and resizable window in JavaScript for cross browser
I have written a program in .NET that recurses through all files of a
I want create a drop shadow around the canvas component in flex. Technically speaking
I want to create a Java application bundle for Mac without using Mac. According

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.