Uncle Remus
New member
- Joined
- Jun 27, 2007
- Messages
- 2
- Programming Experience
- 10+
Does anyone have any good tips on optimizing the startup time of an application (vb.net 2005 of course). Unfortunately I am saddled with a PII-800 with 256MB of RAM. This is not my box so I can't upgrade it... I just have to write code for it. Currently my startup form uses the following references/Imports:
System
System.Windows.Forms
System.Drawing
System.Diagnostics
System.Xml
System.Reflection
System.Net.Sockets
System.IO
System.Threading
Not really doing anything special on this form in the load or shown events but the first time started it takes at least 40 seconds to come up. Before anyone suggests using a splash screen I would rather focus on speeding the start time of this form first as a 40 second splash is still unnacceptable. After the first start this time is reduced to about 20 seconds so some caching is taking place. But, I'm still stuck with the 40 seconds for the first start. I realize that it may be difficult for anyone to offer suggestions without first seeing my code but I thought I'd ask if anyone had any "best practice" tips that I could start with. Anyone else out there stuck coding for a dog like this? lol. Any help would be greatly appreciated!
System
System.Windows.Forms
System.Drawing
System.Diagnostics
System.Xml
System.Reflection
System.Net.Sockets
System.IO
System.Threading
Not really doing anything special on this form in the load or shown events but the first time started it takes at least 40 seconds to come up. Before anyone suggests using a splash screen I would rather focus on speeding the start time of this form first as a 40 second splash is still unnacceptable. After the first start this time is reduced to about 20 seconds so some caching is taking place. But, I'm still stuck with the 40 seconds for the first start. I realize that it may be difficult for anyone to offer suggestions without first seeing my code but I thought I'd ask if anyone had any "best practice" tips that I could start with. Anyone else out there stuck coding for a dog like this? lol. Any help would be greatly appreciated!