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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:06:07+00:00 2026-05-26T14:06:07+00:00

I created a status strip on my main form and a label within it.

  • 0

I created a status strip on my main form and a label within it. And I am opening another form within this (MdiContainer is true). For opening I am passing the object of main form in the constructor i.e. this. There I am updating the text of the label but its not getting updated.
I tried invalidate function also.

  • 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-26T14:06:07+00:00Added an answer on May 26, 2026 at 2:06 pm

    I was having this problem too. The fix is to add a line of code that fires events (see the second line below)

    MainForm.mainStatusLabel.Text = "Importing data file" //see next line
    Application.DoEvents()
    

    I don’t completely understand why this works, but my guess is that VB does not handle Application-wide events in the middle of a method unless you tell it to. When you change the text property, this is an event. So VB will (Im guessing) wait until the end of the method before handling the event–unless you tell it specifically to handle all events with Application.DoEvents()

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

Sidebar

Related Questions

I'd like to create a workspace with status bar and menu, and within this
I am passing Status object to h:commandLink value. So it is displayed on the
I have created a status item (menu bar item) for my app, but at
Status Time Handel Title --------- ------------ ------ ------------- CREATED 2009-10-16 03:37:38+01 902D8 Mozilla Firefox
I have created an activity which sends a number of notifications to status bar.
I want to create fixed status bar in by web form to display various
I have created a polymorphic association around a model called status. Some contacts will
SHOW GLOBAL STATUS LIKE 'Created_tmp_disk_tables'. Everytime I run that query through phpmyadmin another disk
I created a new status for the orders and it is being set correctly,
I created a php page which print this from the database [{sha_id:2,sha_text:This is 1st

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.