Click here to Skip to main content
15,905,316 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am working on windows application in C# in which I am using Tab Control. Initially when I runs the software it did its work smoothly and now it is hanging. Even to click on a textbox it is taking too much time. how to handle it , plz help me
Posted
Comments
BillWoodruff 28-Sep-13 3:47am    
Is this using WinForms ? How many TabPages do you have in the TabControl, and how many Controls on each TabPage ? Are you using multi-threading in your application ?
ashwani.pandita 28-Sep-13 3:55am    
sir I am using 5 tabs in my application and sir from the past 15 days it was working properly but now it starts hanging
BillWoodruff 28-Sep-13 8:18am    
And, once again, is this Windows Forms ? Or,WPF ? Or ?

And is the slow-down of the application seen in both Visual Studio, and in running the application in .exe form ?

Do you observe any definite number of step that reliably reproduce the slowing down: if so, what are they ?

Once again: are you using multi-threading in this application, or is what you are triggering from any Control in any TabPage starting a potentially long-run CPU intensive process like reading a very large file, line-by-line, or caling some deeply recursive function ?

We're not mind readers.

1 solution

Generally in such situations you should:
1) If you have the source code : run in the debugger and break when you think it has stopped working and see where in the source you are and work from there.

2) If you don not have the source code : look at log information if it exists

*) none of the above : then try guessing, and start from what you have changed since your last build.

**) check the memory usage also since you might have leaks.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 28-Sep-13 3:24am    
5ed.

3) Don't ask pointless questions; no one could see any handing code. :-)

Probably, I would not get enough patience to answer to this post.
—SA
Mehdi Gholam 28-Sep-13 3:30am    
:)
ashwani.pandita 28-Sep-13 3:33am    
sir, i just add a new image in splash screen and new logo in the software
Abhinav Gauniyal 29-Sep-13 17:10pm    
Try to remove that logo and see if the problem still presists
ashwani.pandita 28-Sep-13 3:30am    
mate what I am facing I update that only and it is not at all a pointless question

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900