Click here to Skip to main content
13,148,434 members (64,292 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i create a application in ....
when i run application after buliding when form load on the screen...
take 1 or 2 min ...display fully..

plz help ....
Posted 19-Dec-12 5:57am
DinoRondelly 19-Dec-12 11:58am
What is your application doing on start up?
joshrduncan2012 19-Dec-12 12:19pm
Do you have a lot of background processes on start up?
priyanshbhaliya 20-Dec-12 5:15am
my application use dataset,datareader,dataadapters........
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

That depends on how you have the project setup, along with what is in your load method.

From there it could be several reasons, so would need more information to answer this to the fullest extent.

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

What's your app doing on startup that takes so long?? Without knowing that, it's impossible to tell you what to do to improve things.
priyanshbhaliya 20-Dec-12 5:16am
my application use dataset,datareader,dataadapters........
Dave Kreskowiak 20-Dec-12 7:44am
So what? WHAT DO YOU DO ON STARTUP? What are you doing that takes so long?
priyanshbhaliya 20-Dec-12 11:06am
hey winform display fully with component ...
Dave Kreskowiak 20-Dec-12 16:01pm
I don't have a clue what you're talking about. We know NOTHING about your app or why it's taking so long. Only YOU can tell us that and for some reason, you're refusing to answer that basic question. WHAT IS YOUR APP DOING that takes so long?
priyanshbhaliya 21-Dec-12 5:17am
app is for paper create 4 class.....
dude....i say that ..when my app. load at screen ..form so not clear(means without component) after 1min it display complete...
so i want to display form complete on screen fast as fast ... now clear.. thanks
Dave Kreskowiak 21-Dec-12 10:24am
You're on your own now. I've asked what your code is doing for amount of time 3 times and you haven't answered that question. We don't know what "component" you're using or what you're doing on startup, so it's impossible to help you.
priyanshbhaliya 21-Dec-12 10:47am
ok dude thanks.....problem solve...
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Just stop trying to merge Quantum Field Theory with General Relativity in the Form Load method.
priyanshbhaliya 20-Dec-12 5:17am
not understand.....explain what is that theory...
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

If you are doing a lot of stuff in the onLoad, but it doesn't need to load before the user sees the form you can always go multithreaded:

Dim t As New Task(Function() MergeQuantumTheoryAndGeneralRelativity(42))

Task t = new Task(() => MergeQuantumTheoryAndGeneralRelativity(42));
CPallini 19-Dec-12 16:21pm
5. Even if you confine yourself to classic quantum mechanics.
priyanshbhaliya 20-Dec-12 5:17am
thanks to all ....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170924.2 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100