473,413 Members | 1,875 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,413 software developers and data experts.

How to show separate progress bar form on top of main form

Hi All,

I am facing problem while displaying the progress bar form on top of application main form.

Let me explain bit more details.

I running the main form through Application.Run(new mainform()) and then for long operation I am showing the progress bar form in dowork event of background worker thread, like Application.Run(new Progressbarform()).

Now the problem is that progressbar form will appear infront of other application as well.

So passed the main form through background worker thread like below
Expand|Select|Wrap|Line Numbers
  1.  
  2. Form parentForm = e.Argument as Form;
  3. this.progressForm.Owner = parentForm; 
  4.  
Now the progressbar form is not showing consistently means some times progressbar form is visible some time not. what I have noticed is that it's based on mainform thread if mainform thread is busy then it won't appear otherwise it will appear.

Can you please anyone sugesst me how show the progressbar within my mainform?
Oct 14 '10 #1
0 1218

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Olivier | last post by:
Hi, I have a (newbie)problem with a macro activated in a subform. That's the hierarchy in my form: Main form ----subform1 ----subform2 ----subform3 I have a macro that is called on...
2
by: Dmitri Shvetsov | last post by:
Hi, Can somebody give a quick advice? I call a new form from a main form, like: CNewForm nf = new CNewForm(); where I should insert a string into a TextBox.Text field. Then I should...
2
by: Peter Steele | last post by:
I'm writing a tray application and I of course want to hide the main form when the appstarts. I've experimented with a couple of techniques to do this, including setting Opacity to 0, but this...
3
by: Robert W. | last post by:
I have a separate thread that handles data transfer operations (with a mobile device). I've set things up so that a small notification form is displayed in the lower right corner of the window. ...
7
by: Loane Sharp | last post by:
Hi there I'm currently using WebClient.DownloadFile to download a file from the server to my local disk. Is there a way to show the progress of the file download? Best regards Loane
2
by: Keith Rebello | last post by:
I am writing a program that analyzes a reinforced concrete column section. The main form has an "Analysis" menu item that calls the main analysis routines in a ColumnSection class. It also opens a...
7
by: Terry | last post by:
I have a Mainform with a Statusbar. When opening another form or doing some processing I want to display info in the Statusbar of the Mainform. I have read a lot of articles on this & have come up...
2
by: campos | last post by:
Hi all, I ran into a headache problem. I have a windows form with a progress bar on it. Then I new a thread to do calculation for a long time. I want the progress bar to show the calculation...
2
by: Sanjaylml | last post by:
I have made a form in Access 2000. In addition to just simply enter the data through form, I have appended sub-form in main form to show the all the entered records as Sub-Form (DataSheet), which is...
2
by: pedro007 | last post by:
hey, i have added a progressbar in my Main Form when i execute the program and set it visible to true ,i show a white progressbar?! does a propoerty or smethins else that i show correctly the...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.