473,382 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Windows Form freezes itself and everything else after it loads

I have a Windows forms project which is part of a larger project.
When I built this project, it worked great and had no problems.

I recently was running the main project and clicked on the menu to
open the form for this project and as soon as it loaded, all the
controls on the form were frozen, no reaction to clicking on buttons,
etc. Then I tried to close it by clicking on the X and nothing
happens..I tried to close the entire main project...everything is
frozen after this form loads. I have to stop it using the IDE to get
the project to close. In the executable, the same thing happens, and
Ctrl+Alt+Delete is the only solution once this form loads.

I can't find anything on line about what might cause this. I would
appreciate any help.

Thanks,
CC

Jul 16 '07 #1
1 2401
On Jul 16, 12:03 pm, CCAGS <carol.i.coo...@gmail.comwrote:
I have a Windows forms project which is part of a larger project.
When I built this project, it worked great and had no problems.

I recently was running the main project and clicked on the menu to
open the form for this project and as soon as it loaded, all the
controls on the form were frozen, no reaction to clicking on buttons,
etc. Then I tried to close it by clicking on the X and nothing
happens..I tried to close the entire main project...everything is
frozen after this form loads. I have to stop it using the IDE to get
the project to close. In the executable, the same thing happens, and
Ctrl+Alt+Delete is the only solution once this form loads.

I can't find anything on line about what might cause this. I would
appreciate any help.

Thanks,
CC
Sounds like something is blocking or otherwise causing your form to
hang.
I don't see any reason why a form would do this on it's own, so the
questions I would then ask are:
(1) How are you instantiating (creating and displaying) the form?
(2) What does the form do (go through) when it is loaded and displayed
(ie, anything special in Sub New, Form_Load, Form_Activated, etc? How
about any controls that handle Selection changes that may be firing
before the form is displayed?)

Since it's hanging after the form is initially displayed, I would try
and step through it with the debugger.
Something's causing it, and it's very unlikely that there is some bug
in .NET Forms that's to blame.

// CHRIS

Jul 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Herr Lucifer | last post by:
It is a long time now that I am using "Dependency Walker for Win32" and navigating through different Dlls in "System32" folder to find my target API functions. The thing I have noticed is that,...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
0
by: Enterprise | last post by:
Hi, I use Access 2000. FEBE design. Tables on server, and everything else on local machine. I have 1 table with a primary key ID field and a text field with names in it. This table is like a...
2
by: Joe Bloggs | last post by:
I have a Windows form application that has a start button, a progress bar and also writes information to the status bar the code is C#. My problem is that when you hit the start button and the...
6
by: nadeem_far | last post by:
Hello All, I am working on a .Net desktop application and I am having problem displaying a form. I am using C# and version 1.1 of the framework. here is how the code looks likes and I will...
13
by: Ioannis Vranos | last post by:
Why in this code the form *does not refresh* when it gets the focus/after some time? #using <mscorlib.dll> #using <system.windows.forms.dll> #using <system.dll> #using <system.drawing.dll>
113
by: dan | last post by:
For writing a Windows desktop application, how much harder is it to use the Windows C API than C#/.NET, assuming the coding is done in an editor? What specific aspects were more difficult? I'm...
11
by: Doc John | last post by:
I have a Windows application developed in VS.Net 2002 and upgraded to VS2005, and when I try to run it in an 800x600 resolution, it doesn't load completely (plus its memory usage is really high)....
2
by: RZ15 | last post by:
Hi guys, I'm attempting to run a query that I made and it is running way too slow. Everything seems to work fine until I add in a table (dbo_INIH) and a field from that table (TAKBY). The reaction...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.