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 8634347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:42:09+00:00 2026-06-12T09:42:09+00:00

I inherited a VB2010 application that hits a web service every so often. Its

  • 0

I inherited a VB2010 application that hits a web service every so often. Its working great except once in a while the connection to the web service becomes problematic. Right now the .Timeout for the service is set at 100000 or 100 seconds. What I would like to do is just update a label on the form so that the user knows how long he has to wait for the timeout. Like “Connecting (10s)” or something of the sort. Anyway I tried several timers and they all seem to freeze since it seems everything else is waiting for the connection thread to finish. Is there a way to update my label while the service is attempting to connect?

  • 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-12T09:42:10+00:00Added an answer on June 12, 2026 at 9:42 am

    The reason it’s locked up is likely because this is a WinForm project and you are making the call to the web service from the UI thread. As long as the UI thread is busy, the screen will be locked up. To resolve this, you simply need to make the call to the web service in a separate thread. The easiest way to implement this is by using the BackgroundWorker component. When you are in the form designer, you’ll see it in your components tool box.

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

Sidebar

Related Questions

I have inherited a large and complex C# windows service project that crashes every
I inherited a shell-script application that is a combination of kshell scripts, awk, and
I inherited an ASP.NET application that builds pages with massive viewstate values. As I
I've inherited a C# window's application that I'm not real crazy about. I've got
I inherited a system that stores default values for some fields in some tables
I inherited a bugzilla-like page that allows users to look at the bug list.
I inherited an Intraweb app that had a 2MB text file of memory leaks
I inherited a project that makes extensive use of JMS. It compiles, runs and
I've inherited some code that did something like this, Header: HeaderFile.h #ifndef HEADERFILE_H #define
I inherited an application where display:none was used to control conditional display of input

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.