473,839 Members | 1,380 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 2250
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
1705
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
3632
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
3196
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
3302
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
1550
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
1007
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
9668
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
9855
marktang
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...
0
9697
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10908
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10587
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
10295
tracyyun
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...
0
9426
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
7829
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...
2
4064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3136
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.