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...every thing 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 1 2412
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...every thing 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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, 'almost' all system .dll and
..exe
files are written in C and not C++. If C++ is a powerful OO language and
it's much greater than C for large application development, then why haven't
Microsoft used it in its operating system? Is there a...
|
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 data in each record, which
includes the ID of the father and the mother (who also have records in the
table). One record per form.
I have a Tab Control in the form, and in one of the tabs I have a subform
(sfmSiblings) in which I wish to list...
|
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 translator. I have a
form that gets a text field from another table with numbers seperated
by commas. The form translates this using the translator table and a
module. So like 99,34,23, will be translated to bob,mary,tom,. Again,
99 34 and 23 are from...
|
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 program executes
then the application window does not get refreshed so you just see an
ugly gray rectangle until the application ends. The status and progress
bar do get updated but still if you toggle to another application and
then toggle back to...
|
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 appreciate if someone can tell
me how to resolve this problem.
Main ( Args )
{
Form1 f1 = new Form1();
| |
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>
|
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 looking for
responses from programmers who have tried both.
*********** Begin background / war story
I'm porting a C/Curses data analysis application called Vitalnet, with
about 70,000 lines of source code and 200,000 lines of headers files,...
|
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). If I minimize, and
maximize it, then it'll display correctly.
How come? Is there a fix?
Thanks.
|
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 I get when I add those fields is weird. Within 2 minutes the first page of the query will show, which is normal for my queries. I suppose Access decided that it will be easier to show the first page and then load the rest of the records, so at this...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |