473,748 Members | 2,690 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Showing Progressbar at Load Time

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?

Please help,
Thanks in advance,

-Regards,
Dinesh

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
2 9194
Hi Dinesh,

I would imagine that any Progress Bar would be the new Main Form
and would thus have the same delay.

One possible workaround is to have a Progress utility which has
the name of your Exe and immediately calls the actual app (using
Process.Start). Then, while the actual app is loading it can display
the Progress Bar. On loading, the Main Form would call the Progress
utility to say "Ok, I'm ready". The Progress utility would then note
how long the app loading took and store it a list somewhere. Each time
it ran it could use the list of load times to work out how to more
accurately scale the progress indicator.

Regards,
Fergus

ps. If you write it, could you send me a copy ? :-)
Nov 20 '05 #2
Hello,

"Dinesh Jain" <di*******@hotm ail.com> schrieb:
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?


A "marquee" progressbar on a splash screen?

http://groups.google.de/groups?selm=...TNGP10.phx.gbl

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #3

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

Similar topics

0
1723
by: mcorrea | last post by:
There is any way to get the total load time of a page when you get an "IFRAME" on it? In all the tests, I got only the base page time without the "IFRAME" time.... <?php $bench = new phpCounter(); $bench->StartCouter(); $page = "<iframe class=......";
3
2676
by: Emily John | last post by:
I am using xml serialization to generate my xml document. I am getting the data as stream of memory and then converting it to xml document object without saving it to the file system. How do I validate this memory stream of data at load time with xml schema ? I may have to validate with multiple schemas at a later time. *** Sent via Developersdex http://www.developersdex.com ***
4
4118
by: bingfeng | last post by:
I have some codes generated by perl, in which initialize some huge struct,such as PARA TOS_network_spantree_set_0_para_0 = { "vlan", emNUM, NULL, "", "configuration on a designated vlan", PRO_REQUIRED }; const char* TOS_network_spantree_set_0_para_1_emvalue = { "disable", "enable", NULL }; PARA TOS_network_spantree_set_0_para_1 = { "", emENUM, TOS_network_spantree_set_0_para_1_emvalue, "", "enable or disable STP", PRO_REQUIRED };
4
1626
by: Frank Walsh | last post by:
Hi, I'm experiencing a problem when my asp.net 1.1 application starts. It appears that when the application has not been used for 12 hours or so...I experience a much longer load time then if the application was loaded recently. I attempted to do some research on the subject and found a few sites that talk about pre-compiling, which i attempted to do, however it doesn't look like this helps if your application is unloaded do to...
0
760
by: Brian Henry | last post by:
When I add the COM object Microsoft Web Browser to a form and execute the form, it takes about 2-3 additional seconds to load the form before it is shown. This only happens when adding the web browser COM object, or any COM object for that matter.. Why is there such an increase in load time, and is there anything I can do about it? I've seen other people use the MS Web Browser COM object before with no delay like this, what did they do to...
4
2211
by: Ravi Ambros Wallau | last post by:
Hi: We developed a set of ASP.NET Web Applications that never runs in stand-alone mode, but always inside a portal (Rainbow Portal). All modules are copied on that portal. My question is: load time takes, sometimes, three or four of minutes in a medium-level machine (a PIII 1.5 Ghz), when the binary contents are changed, or if the time of last modification of the web.config file is changed. An application that runs in "stand-alone" mode...
5
1550
by: Ravi Ambros Wallau | last post by:
Dear friends: This is my third question on this news in three days... Sorry for this spam behavior :-) I've a lot of problems on "first page load" after some change on web.config or even in the contents of bin folder... Nathan Sokalski passed me a link to ILMerge library, I've made some tests grouping a set of DLL's that are loaded without reflection, but there were no improvements on load time. I've noted that ASP.NET copies all...
2
2515
by: copx | last post by:
What is wrong with the following code? My compiler (GCC) produces a warning which states that the initialisation values of a local struct are "not computable at load time". A warning is not equal to an error, but it usually suggests that the code is at least questionable. I do not see anything questionable... This program demonstrates the issue. I get the warning whenever I pass a pointer to a structure and use the fields of that...
5
9889
by: =?Utf-8?B?bWFzaXg=?= | last post by:
We have an issue with load time in several installations of our application. We've located the information regarding KB 936707 and ensured that the application config file contains the runtime setting of <generatePublisherEvidence enabled="false"/> but the application still takes over 2 minutes to load. When we disconnect the PC from the network (internet) then the application loads in about 5 seconds. We've ensured the .net 2.0...
0
8995
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, 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...
1
9332
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
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...
0
8252
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, 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...
0
6078
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();...
0
4608
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...
1
3316
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
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
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...

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.