Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
i create a application in vb.net ....
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
Comments
DinoRondelly at 19-Dec-12 11:58am
   
What is your application doing on start up?
joshrduncan2012 at 19-Dec-12 12:19pm
   
Do you have a lot of background processes on start up?
priyanshbhaliya at 20-Dec-12 5:15am
   
my application use dataset,datareader,dataadapters........
Rate this: bad
good
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.
 
Thanks
  Permalink  
Rate this: bad
good
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.
  Permalink  
Comments
priyanshbhaliya at 20-Dec-12 5:16am
   
my application use dataset,datareader,dataadapters........
Dave Kreskowiak at 20-Dec-12 7:44am
   
So what? WHAT DO YOU DO ON STARTUP? What are you doing that takes so long?
priyanshbhaliya at 20-Dec-12 11:06am
   
hey winform display fully with component ...
Dave Kreskowiak at 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 at 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 at 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 at 21-Dec-12 10:47am
   
ok dude thanks.....problem solve...
Rate this: bad
good
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.
  Permalink  
Comments
priyanshbhaliya at 20-Dec-12 5:17am
   
not understand.....explain what is that theory...
Rate this: bad
good
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:
 

VB
Dim t As New Task(Function() MergeQuantumTheoryAndGeneralRelativity(42))
t.Start()
 
C#
Task t = new Task(() => MergeQuantumTheoryAndGeneralRelativity(42));
t.Start();
  Permalink  
v2
Comments
CPallini at 19-Dec-12 16:21pm
   
5. Even if you confine yourself to classic quantum mechanics.
priyanshbhaliya at 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)



Advertise | Privacy | Mobile
Web03 | 2.8.141022.2 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2014
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