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 11 3562
Hi Lars,
For a progressbar you need the duration of the process. When I read your
message I think you do not have that.
A simple red sign (which turn to green when ready) in the statusbar from the
program will probably have the same effect because users know those things
from IE.
However you can also just create a from in your load event as
dim frm as new form
Add to that frm some things and than
frm.show
and close that at the end of the load event with
frm.close
I hope this gives some idea's?
Cor
* "Lars Netzel" <[no_spam_please]la*********@qlo gic.se> scripsit: 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,
Where should the progressbar be shown?
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
as a separat window on top of everything I guess!
/Lars
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> skrev i meddelandet
news:2g******** ***@uni-berlin.de... * "Lars Netzel" <[no_spam_please]la*********@qlo gic.se> scripsit: 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,
Where should the progressbar be shown?
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
Ithink Cor's idea may the appropriate. Create a GIF animation of the world
tunring or whatever, and display it in a nother window, wait 5 seconds or
how ever long it takes to launch the child window. It would almost belike
delting files in Windows Explorer. The animation of the files flying! :)
Luis
"Lars Netzel" <[no_spam_please]la*********@qlo gic.se> wrote in message
news:ed******** ******@TK2MSFTN GP10.phx.gbl... as a separat window on top of everything I guess!
/Lars
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> skrev i meddelandet news:2g******** ***@uni-berlin.de... * "Lars Netzel" <[no_spam_please]la*********@qlo gic.se> scripsit: 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,
Where should the progressbar be shown?
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
* "Anon" <an**@anon.co m> scripsit: Ithink Cor's idea may the appropriate. Create a GIF animation of the world tunring or whatever, and display it in a nother window, wait 5 seconds or how ever long it takes to launch the child window. It would almost belike delting files in Windows Explorer. The animation of the files flying! :)
.... there is a progress bar too in Windows Explorer's file copy dialog ;-).
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
> > Ithink Cor's idea may the appropriate. Create a GIF animation of the
world tunring or whatever, and display it in a nother window, wait 5 seconds
or how ever long it takes to launch the child window. It would almost
belike delting files in Windows Explorer. The animation of the files flying! :) ... there is a progress bar too in Windows Explorer's file copy dialog
;-).
Yes and in a lot of other programs too, they did not make it for nothing,
however what has that to do with the qeustion?
Cor
* "Cor Ligthert" <no**********@p lanet.nl> scripsit: delting files in Windows Explorer. The animation of the files flying! :)
... there is a progress bar too in Windows Explorer's file copy dialog
;-).
Yes and in a lot of other programs too, they did not make it for nothing, however what has that to do with the qeustion?
Read the OP's question and the other messages...
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
HI Herfried, * "Cor Ligthert" <no**********@p lanet.nl> scripsit: delting files in Windows Explorer. The animation of the files flying!
:) ... there is a progress bar too in Windows Explorer's file copy dialog ;-).
Yes and in a lot of other programs too, they did not make it for
nothing, however what has that to do with the qeustion?
Read the OP's question and the other messages...
Yes I did, did you also, I see nothing about window explorer?
------------------
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,
--------------------
Just tickling you know.
:-)
Cor
* "Cor Ligthert" <no**********@p lanet.nl> scripsit: Read the OP's question and the other messages... Yes I did, did you also, I see nothing about window explorer? ------------------ 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, -------------------- Just tickling you know.
:-)
Mhm... Did you read the subject?
;-)
BTW: I think it depends on which action is performed when loading the MDI child. If
it's easy to implement a progress bar, I would do it (for example, in
the MDI container's status bar), if it's not as easy, I would use a
marquee progressbar...
Just my 2 Euro cents.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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: Holmes |
last post by:
Hello
Ran into a bit of a problem here and have now exhausted my resources to getting this working
What I am trying to do is load and show a simple vb form with a listbox in it
Dim frm_nc_code As New frm_nc_sen
frm_nc_code.Show(
Well what I want to have happen is it loads the form then shows all of the controls on the form (especially the listview control which should be blank at this time)
|
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: Toe Dipper |
last post by:
In short we have a lengthy process when a form is loaded that adds
activex controls to our windows form. This process in itself works
fine however we would like to push this processing to a thread but are
stumped so far.
Our goal is simply to allow the form to fully display while the
controls are being added. Preferrably with a progressbar to let them
know that the form is still being built.
Here are some snippets.
|
by: =?Utf-8?B?QWFyb24=?= |
last post by:
Since some controls such as the DataGridView take a long time to update
themselves when performing certain tasks, I have added a StatusStrip with a
ProgressBar on it. While I am updating the controls on the form, I want the
ProgressBar to scroll in marquee mode. However, I cannot seem to get this to
work.
I set the StatusStripLabel to the text I want such as "Updating data..." and
then set the ProgressBar's Style property to Marquee...
|
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: Thomas |
last post by:
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...
|
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: 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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |