473,325 Members | 2,308 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,325 software developers and data experts.

Adding a Progressbar (while loading a Form)

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
Nov 20 '05 #1
11 3523
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
Nov 20 '05 #2
* "Lars Netzel" <[no_spam_please]la*********@qlogic.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/>
Nov 20 '05 #3
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*********@qlogic.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/>

Nov 20 '05 #4
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*********@qlogic.se> wrote in message
news:ed**************@TK2MSFTNGP10.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*********@qlogic.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/>


Nov 20 '05 #5
* "Anon" <an**@anon.com> 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/>
Nov 20 '05 #6
> > 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
Nov 20 '05 #7
* "Cor Ligthert" <no**********@planet.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/>
Nov 20 '05 #8
HI Herfried,
* "Cor Ligthert" <no**********@planet.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
Nov 20 '05 #9
* "Cor Ligthert" <no**********@planet.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/>
Nov 20 '05 #10
Mhm... Did you read the subject?

When you readed the start of my answer (that was the first) you should have
known that.

-----
For a progressbar you need the duration of the process. When I read your
message I think you do not have that.
------

Cor
Nov 20 '05 #11
* "Cor Ligthert" <no**********@planet.nl> scripsit:
Mhm... Did you read the subject?


When you readed the start of my answer (that was the first) you should have
known that.

-----
For a progressbar you need the duration of the process. When I read your
message I think you do not have that.
------


I never said something else...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #12

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

Similar topics

2
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...
2
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...
3
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...
1
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...
6
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...
3
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...
2
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...
0
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...
4
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.