VBCrazyCoder
May 22nd, 2003, 10:01 AM
Is there a way to design an application so that it starts up right away. The problem I am having is that my Windows application contains about 40 classes (about 20 forms) and references about 7 custom dll's in addition to the default ones. It takes about 13 seconds for the application to start and the main screen to be displayed. The hour glass that windows gives you even goes away after about 3 seconds, so the user is inclined to click the icon again to try and open it again - thus getting multiple versions of the application when it finally loads.
I tried to put up a splash screen - the first thing that I do in Sub Main, but this is only loaded when the application loads.
When the user clicks on the icon, does the exe have to load all of the classes and dll's into memory before it can execute anything? I am not sure why it takes so long - any ideas on how to impove speed (using the GAC did not seem to help)???
I tried to put up a splash screen - the first thing that I do in Sub Main, but this is only loaded when the application loads.
When the user clicks on the icon, does the exe have to load all of the classes and dll's into memory before it can execute anything? I am not sure why it takes so long - any ideas on how to impove speed (using the GAC did not seem to help)???