Hello,
I don't know if such question was already posted but I didn't find anything
through different posts.
I have the Main MDI window with a StatusBar. Inside my StatusBar there is a
ProgressBar. When I click on the menu in my MDI Parent, a child form is
loaded. I would like to know if there is a way to increment a progressbar
value while child form is loading ? I tried to use background worker but i
had some cross thread access exceptions. any ideas ? Thanks in advance.
Thomas 4 4366
You could expose a public method on your main window that allows you to write
the percentage to it from the child.
"Thomas" wrote:
Hello,
I don't know if such question was already posted but I didn't find anything
through different posts.
I have the Main MDI window with a StatusBar. Inside my StatusBar there is a
ProgressBar. When I click on the menu in my MDI Parent, a child form is
loaded. I would like to know if there is a way to increment a progressbar
value while child form is loading ? I tried to use background worker but i
had some cross thread access exceptions. any ideas ? Thanks in advance.
Thomas
On Jun 10, 5:45 am, "Thomas" <tjask...@nodev o.comwrote:
Hello,
I don't know if such question was already posted but I didn't find anything
through different posts.
I have the Main MDI window with a StatusBar. Inside my StatusBar there is a
ProgressBar. When I click on the menu in my MDI Parent, a child form is
loaded. I would like to know if there is a way to increment a progressbar
value while child form is loading ? I tried to use background worker but i
had some cross thread access exceptions. any ideas ? Thanks in advance.
Thomas
Check this out.. this should help you do what you want to do.
I use the marquee mode in the progress bar. and then hide/unhide it
as and when needed..
On Jun 10, 5:19 pm, parez <psaw...@gmail. comwrote:
On Jun 10, 5:45 am, "Thomas" <tjask...@nodev o.comwrote:
Hello,
I don't know if such question was already posted but I didn't find anything
through different posts.
I have the Main MDI window with a StatusBar. Inside my StatusBar there is a
ProgressBar. When I click on the menu in my MDI Parent, a child form is
loaded. I would like to know if there is a way to increment a progressbar
value while child form is loading ? I tried to use background worker but i
had some cross thread access exceptions. any ideas ? Thanks in advance.
Thomas
Check this out.. this should help you do what you want to do.
I use the marquee mode in the progress bar. and then hide/unhide it
as and when needed..
i meant
check this out http://forums.microsoft.com/MSDN/Sho...89543&SiteID=1
LOL
"parez" wrote:
On Jun 10, 5:19 pm, parez <psaw...@gmail. comwrote:
On Jun 10, 5:45 am, "Thomas" <tjask...@nodev o.comwrote:
Hello,
I don't know if such question was already posted but I didn't find anything
through different posts.
I have the Main MDI window with a StatusBar. Inside my StatusBar there is a
ProgressBar. When I click on the menu in my MDI Parent, a child form is
loaded. I would like to know if there is a way to increment a progressbar
value while child form is loading ? I tried to use background worker but i
had some cross thread access exceptions. any ideas ? Thanks in advance.
Thomas
Check this out.. this should help you do what you want to do.
I use the marquee mode in the progress bar. and then hide/unhide it
as and when needed..
i meant
check this out http://forums.microsoft.com/MSDN/Sho...89543&SiteID=1 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: POnfri |
last post by:
Hi
I'm having trouble setting the main form visible from within the child form. I have set the main form to hide (SignatureMain.Hide())
I then load the child form from within a button on form1
Treatment.ShowDialog()
On the child form Treatment i try to do the following in an Exit button
|
by: needin4mation |
last post by:
Please consider:
foreach (ListViewItem item in listViewFiles.Items)
{
// Display the ProgressBar control.
pBar1.Visible = true;
// Set Minimum to 1 to represent the first file being copied.
pBar1.Minimum = 1;
// Set Maximum to the total number of files to copy.
pBar1.Maximum = 4; //filenames.Length;
|
by: Dinesh Jain |
last post by:
Hi all ,
As we run the .NET exe, first of all it loads
all the necessary system dlls and user dlls at load
time and then displays the main form of the application.
But in between loading these dlls and displaying the
main form , it takes some good amount of time.
So I want to display progress bar in between.
is it possible?
|
by: sotto |
last post by:
I need a loginscreen, that will show a progressbar that changes values
based on a method in the main application (loading data from database)
how would i do this?
(i guess i need threading for this)
the main application shouldn't be accessible when the login password
hasn't been entered correctly.
anybody who can give me some help with this?
|
by: Lars Netzel |
last post by:
In my MDI parent form I choose to open a Child thru a MenuClick... I want a
progressabar to show up and progress allthru the loading of the new Child
Form.. and then when it's done I want the progressbar to disapear and the
child so show up.
Sometimes there's a lot to load in these child windows and I feel I want to
show the user that something is "going on" and not just have them wait and
think the application hung,
/Lars
| |
by: nobody |
last post by:
Hi
I'm currently developing a Windows application. At the start of the
application I load several tables into datatables in a dataset. I also use
a progressbar to show the user how much percent of the total is already
loaded. But I do this in a dirty way: I increment the progressbar with the
same number after each table, but not all tables contain the same amount of
data. I solved this with starting an other thread to increment the...
|
by: Sam |
last post by:
Hi,
I have to process a large data loading in my form. In order to give a
feedback on the loading status, I'd like to display a progressbar in a
popup, in the middle of the screen. How can I do that, as the
progressbar is not in the same form as my data structures?
Thx
|
by: AboutJAV |
last post by:
Hi,
I created a child dialog to tell the user that there is a loading of
data from the database. When the loading is done, the child dialog will
close. The child dialog contains a custom control and the child dialog
with the custom control show up fine if the dialog is called as a modal
state
dlgLoading.ShowDialog();
|
by: prathamesh.s.kulkarni |
last post by:
I have a MDI Application. It has a simple menu. On clicking menu
items, child forms open. Since, the loading of the form was taking
quite sometime, I have separated the loading of data by using a
background thread. Now, first the UI elements are loaded, the form is
displayed and then the data is loaded. But, still the form (UI
elements) take sometime to load and on the click of a menu item, the
menu remains for sometime in a frozen state...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |