473,386 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Updating a StatusForm while MainForm loads

Hi all,

My MainForm can take a while to load, and during this time I would like to
pop up a very simple StatusForm to show that things are happening. I've got
a StatusForm with an animated gif that I would like to use, but as this is
started on the main thread along with my MainForm it never gets updated
unless I riddle my MainForm Load code with Application.DoEvents(), which I
dont want to do.

Whats the correct way of displaying this form while MainForm loads and
seeing the gif animate on my StatusForm?!

Should I be showing the StatusForm on a different thread?

Many thanks,
ChrisB.
Feb 20 '06 #1
0 838

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Darryl Neale | last post by:
I have been tasked with reviving an old database that stopped working about 3 years ago :( On one of the tabs is a list of links to other databases utilising the Hyperlink feature of MS Access...
2
by: Hey_Moe! | last post by:
I have subform which uses a SQL statement as the record source. One of the criteria (ie. Part of the WHERE condition) is a column value from a ListBox on the MainForm. Two problems exist: 1....
1
by: Hector Martinez | last post by:
I need to send to update a windows control from another class, how can I do that... Thanks in advantage...
8
by: GTi | last post by:
I have a UI Class with StatusBarPanels Then I have another Class that is a thread. I want this class thread to update the StatusBarPanels in the UI class. But I get the error: error CS0120: An...
1
by: RickL | last post by:
Hi, I'm developing a C# Windows Form app, which contains 2 UserControls in the MainForm. One of the UserControls contains a number of layers as shown in the following hierarcy: MainForm...
1
by: kimj.dk | last post by:
Hi, I have a form with a subform where the subform uses the value from a combo box on the main form as a query criteria. I don't want the subform to update or get data before the user has selected...
2
by: thorgal | last post by:
Hello Following problem occured: I have an MdiParent with a Listview. In that listview i have elements like (x1,x2,x3) When I click on x1 a subform (mdichild) opens and i can change the...
4
by: Macbane | last post by:
Hi, I have a 'main' form called frmIssues which has a subform control (named linkIssuesDrug) containing the subform sfrmLink_Issues_Drugs. A control button on the main form opens a pop-up form...
3
Sigma7
by: Sigma7 | last post by:
This is my issue- I am a true novice to DBMS. I would like to accomplish the following feat: I have created a mainform and subform, and I would like to have the users to input information into the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.