Click here to Skip to main content
13,897,535 members
Rate this:
Please Sign up or sign in to vote.
See more:

I install my supermarket application Xp and windows 7 OS. when I open xp os it open quickly but windows 7 take long time

Backend : SQL it install windows 2008 server OS

(window server os : Window Firewall disable time only my application open. I need do windows firewall enable.) please tell me your advice
Ron Beyer 22-Nov-13 14:02pm
Way too little information to go on here. What is the hardware in the two different systems? What version of the OS (64-bit/32-bit), what is the network to the database server from the two computers?

Have you debugged at all (debug on the slow machine, hit the pause when you notice the delay, see what line its on)? There are additional things here that we can't see or know to make a good answer for you.
ZurdoDev 22-Nov-13 14:04pm
Check event viewer. Trace it. We can't see anything so there's no way we can know.
Sergey Alexandrovich Kryukov 22-Nov-13 15:36pm
Not a question. There is no a common recipes. Time your code, find out bottleneck, etc...

1 solution

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

Solution 1

Please see my comment to the question. Time fragments of your code to find bottlenecks. For timing with very good accuracy, you can use the class System.Diagnostics.Stopwatch, for logging — the class System.Diagnostics.EventLog:[^],[^].

Consider finding and using some code profiler:[^].

If, with all your improvements, application start up it still too slow, use some splash screen:[^].

Ron Beyer 22-Nov-13 15:53pm
Hope you mean "splash screen", using a flash screen may give the user epilepsy. Either way its a good method for letting the user pass the time :)
Sergey Alexandrovich Kryukov 22-Nov-13 16:37pm
Oh gosh! Thank you very much for the fix.
Unfortunately, when you sometimes forget what you just wanted to write, get distracted and then mechanically write something else, the spell checker does not care. :-)

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 | Cookies | Terms of Service
Web03 | 2.8.190306.1 | Last Updated 22 Nov 2013
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

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