473,721 Members | 2,224 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WindowsFormsPar kingWindow problem - please help...

Hi

I am developping an application, and it runs fine... It is a monitor utilitie and runs on the background... When I close the application for example with Form1.Close() it shuts down succesfully

But when windows tries to shut it down (by logging off or by shutting down your computer), an end task window pops up for WindowsFormsPar kingWindow (twice). My application is forcebly shut down when I shut down this process. When I cancel the closing of this form I see my svhost.exe spike up to 100%. What is going on, and what can I do to fix this

Is there a possibility to somehow capture the "closing message" that windows sends, so that I can close it manually myself (this maybee avoiding the problem?)

I also noticed that when windows wants to close the window, none of my code in Form_closing() is executed

I anyone can help please... (I can send the whole project to you if needed

Jul 21 '05 #1
2 2242
Override the WndProc method and look for the WM_QUERYENDSESS ION message.

http://msdn.microsoft.com/library/de...ndingtopic.asp
"Kevin Chabot" <an*******@disc ussions.microso ft.com> wrote in message
news:C8******** *************** ***********@mic rosoft.com...
Hi,

I am developping an application, and it runs fine... It is a monitor utilitie and runs on the background... When I close the application for
example with Form1.Close() it shuts down succesfully.
But when windows tries to shut it down (by logging off or by shutting down your computer), an end task window pops up for WindowsFormsPar kingWindow
(twice). My application is forcebly shut down when I shut down this process.
When I cancel the closing of this form I see my svhost.exe spike up to 100%.
What is going on, and what can I do to fix this?
Is there a possibility to somehow capture the "closing message" that windows sends, so that I can close it manually myself (this maybee avoiding
the problem?).
I also noticed that when windows wants to close the window, none of my code in Form_closing() is executed.
I anyone can help please... (I can send the whole project to you if needed)

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.691 / Virus Database: 452 - Release Date: 26/05/2004
Jul 21 '05 #2
Thank you very much :)
Jul 21 '05 #3

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

Similar topics

0
368
by: Brentonn | last post by:
We are developing a Web-based application using .Net. When the application .exe is running, it randomly locks up and has to be restarted after ending the process using the Windows task manager. While it is locked a generic Windows icon with the name "WindowsFormsParkingWindow" appears in the task popup window (Alt-Tab). What is this object? And how can we avoid the conflict
0
1700
by: Kurt Watson | last post by:
I’m having a different kind of problem with Hotmail when I sign in it says, "Web Browser Software Limitations Your Current Software Will Limit Your Ability to Use Hotmail You are using a web browser that Hotmail does not support. If you continue to use your current browser software we cannot guarantee that Hotmail will work correctly for you". Please help, this is very annoying. I have been searching for help on
7
3614
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title> </head> <style type="text/css">
0
3193
by: spam | last post by:
I've got a problem with a VB.NET app that has been written to keep two directories in sync. The problem is that when I log off the machine, I get the dreaded WindowsFormsParkingWindow not responding message. I've seen the article at http://dotnet.org.za/johannds/archive/2004/03/08/650.aspx, but this will not fix my issue because I am not deleting controls. I have a form with two labels and a progressbar on which open once at the beginning...
23
3279
by: Jason | last post by:
Hi, I was wondering if any could point me to an example or give me ideas on how to dynamically create a form based on a database table? So, I would have a table designed to tell my application to create certain textboxes, labels, and combo boxes? Any ideas would be appreciated. Thanks
0
1546
by: Brian Scott | last post by:
Has anyone ever come across "windowsformsparkingwindow" yet? I have a major problem with this 'phantom' window that appears on my alt - tab list but does not activate. When it turns up my main form becomes greyed out and no mouse clicks respond any more leaving the program disabled. There appears to be no constant pattern to this other window disabling my main window. The only information I can gather is that...
2
433
by: Kevin Chabot | last post by:
Hi I am developping an application, and it runs fine... It is a monitor utilitie and runs on the background... When I close the application for example with Form1.Close() it shuts down succesfully But when windows tries to shut it down (by logging off or by shutting down your computer), an end task window pops up for WindowsFormsParkingWindow (twice). My application is forcebly shut down when I shut down this process. When I cancel the...
0
1000
by: Verinex | last post by:
Hello all, I am having a problem with the WindowsFormsParkingWindow. The problem I am having is that on some machines (currently I know of only two) when logging off I get the “WindowsFormsParkingWindow is not responding” End Task dialog. I understand that the WindowsFormsParkingWindow is used as a placeholder parent for controls in .Net, so I initially thought that there might be some controls that have not been disposed. I used...
1
9641
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
0
9227
jinu1996
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...
0
8016
agi2029
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...
1
6676
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5992
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4491
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...
0
4761
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3201
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
2
2584
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2137
bsmnconsultancy
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...

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.