Ramon Posted November 28, 2003 Posted November 28, 2003 Need help on this: I created a window application in visual basic .net. It works perfectly but the only unusual is that it took a lot of time before the initial form will be loaded. i'm not using any backgound processes. could anybody help me on how to create progress indicator for slow loading applications. Quote
Moderators Robby Posted November 28, 2003 Moderators Posted November 28, 2003 Are you in Debug mode when this happens? Either way the first time you run a .NET app it is always slower. Quote Visit...Bassic Software
Ramon Posted November 28, 2003 Author Posted November 28, 2003 application has been deployed but the same thing happens during debug mode. Quote
sjn78 Posted November 28, 2003 Posted November 28, 2003 did you compile it using the release mode? Quote
Ramon Posted November 28, 2003 Author Posted November 28, 2003 i don't even see the difference between release and debug mode. please educate me a little. Quote
*Experts* mutant Posted November 28, 2003 *Experts* Posted November 28, 2003 The Debug mode contains all kinds of info that enable debugging. This make the assembly slower. On the other hand, Release mode, when compiled does not include any debugging info so it cannot be debugged like the assembly built using Debug mode. Quote
Engine252 Posted November 29, 2003 Posted November 29, 2003 i here asum you use a mdi app then maybe you should laod one form at start up but never show it to the user and the next time you load a form it will be quicker if your'e not using a mdi form well .net framework is slow ... and there's nothing you can do about it wat you can do in this last case is creat a splash screen and show a progress bar and let it progress throu the loading of the form if there is alot to load you can do this in the initialise components aswell if you like. hope it helps Quote
Moderators Robby Posted November 29, 2003 Moderators Posted November 29, 2003 Wow, these statements are just false "if your'e not using a mdi form well .net framework is slow" Quote Visit...Bassic Software
Ramon Posted December 1, 2003 Author Posted December 1, 2003 thank you all for your help, guess i'll have to try that one first since i'm using MDI form. I think .net framework is really slow but if this is the case then i would need to create something that would tell the user to wait like cursor icon and i cannot do this without a form. i'm using a module as startup and would took about a minute or two before the code that will call the initial form (splash screen) will be processed. i can't create another more form, i believe it would only make things worst. got a better way of doing this? I would appreciate it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.