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

Reducing app start-up time

Hi

I am looking to reduce app loading time. My question is, if I use the splash
screen feature from App Properties->Application->Splash Screen does it add
to the app loading time and am I better of running the splash screen using
the background worker?

Thanks

Regards
Feb 22 '08 #1
2 1314
Heya,

splashscreen is running in separate thread, so there is no need to and
it wont slow down your application. Only problem can be either when
you run your application on terminal services\citrix (you shouldnt use
transparency in that case) and sometimes I noticed that splashscreen
stays on screen even when main form was already initialized (for one
or two seconds).

If you think that your application appears to be slow (we all know
that if use see something moving, even if application load take same
amount of time, they will forgive you), I would recommend to implement
some busy bar (continuous progress bar). You can find few at
CodeProject, I am using BusyBar.dll

Martin Zugec [MVP]
Feb 22 '08 #2
Are you loading a dataset somewhere in the load event of the application.

I recently read - since the db has constraints on, the initial fill does not
need to check constraints on the db on the initial load (for each record) ,
so you can do something like this
<written in notepad>

Dim ds As Dataset
Dim daTemp As SqlDataAdapter

ds.EnforceConstraints = False
daTemp.Fill(ds.Tables("Table1"))
dsEnforceConstraints = True

Take note how you turn it on after the fact.
By default it is turned on, but it takes overhead to preform the constraint
on the fill object.
If the database has proper db constraints on it, you can be sure you are
getting proper data already from your db that has already validated all your
initial data for you.

-Just a thought - if something like this may be slowing you down.

Miro
"John" <Jo**@nospam.infovis.co.ukwrote in message
news:eG**************@TK2MSFTNGP05.phx.gbl...
Hi

I am looking to reduce app loading time. My question is, if I use the
splash screen feature from App Properties->Application->Splash Screen does
it add to the app loading time and am I better of running the splash
screen using the background worker?

Thanks

Regards

Feb 23 '08 #3

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

Similar topics

0
by: Shaul Dar | last post by:
When starting a (1st) .NET application the CLR seems to allocate a very large (100s of MB, continuous AFAIK) virtual memory, as evident by the process VM size of even a toy app. The CLR also seems...
0
by: Shaul Dar | last post by:
When starting a (1st) .NET application the CLR seems to allocate a very large (100s of MB, continuous AFAIK) virtual memory, as evident by the process VM size of even a toy app. The CLR also seems...
8
by: p175 | last post by:
Express C v9.1 I'm having a hell of a job trying to reduce the highwater mark for various tablespaces in Express C. DB2MART advises to reorg several tables with LONGLOBDATA and to disconnect,...
6
by: Jakub Cermak | last post by:
Hi all, how can I reduce reserved memory for my process? Because according to ProcessExporer (and GC.GetTotalMemory() and taskmanager) I use about 5-6MB and reserved memory is nearly 70MB. I don't...
2
by: Alien | last post by:
Hi Guys, I am currently making a serial algorithm for clustering. I start off with a dynamic array using "ALLOCATABLE" and prompt user for a size then use the ALLOCATE() function to allocate the...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.