473,387 Members | 1,572 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,387 software developers and data experts.

dot not app not quitting

Hi

I have noticed when I close my vb.net app, it is still visible under
processes in task manager? Why is that and how can I ensure complete closure
of app?

Thanks

Regards
Jun 28 '07 #1
4 943
On Jun 28, 2:42 pm, "John" <J...@nospam.infovis.co.ukwrote:
I have noticed when I close my vb.net app, it is still visible under
processes in task manager? Why is that and how can I ensure complete closure
of app?
It's very hard to say without more information.

Could you provide a short but complete program which demonstrates the
problem?

Jon

Jun 28 '07 #2
"John" <Jo**@nospam.infovis.co.ukschrieb
I have noticed when I close my vb.net app, it is still visible under
processes in task manager? Why is that and how can I ensure complete
closure of app?
How many threads do you have? How did you terminate the threads? The process
closes as soon as all threads have finished. In a UI thread, you have to
leave the message loop (explicitly: started by Application.Run, stopped by
Application.ExitThread. Implicitly: started by VB if you specify a Form as
the startup object, stopped by closing the Form).

Goint into Pause mode and having a look at the threads window and at the
call stack should reveal what your app is doing.
Armin

Jun 28 '07 #3
On Jun 28, 2:42 pm, "John" <J...@nospam.infovis.co.ukwrote:
Hi

I have noticed when I close my vb.net app, it is still visible under
processes in task manager? Why is that and how can I ensure complete closure
of app?

Thanks

Regards
You probably have a hidden form which isn't unloaded.

Are you sure that your not using form.hide() when you should be using
form.close() ?

if you've got an exit button, or a main form that should end the
application when closed you can use this line to exit the program:

Application.Exit()

Jun 28 '07 #4
John wrote:
Hi

I have noticed when I close my vb.net app, it is still visible under
processes in task manager? Why is that and how can I ensure complete closure
of app?

Thanks

Regards

Attach to the application in visual studio, pause it, open threads
window and see which threads are active and what they are doing. This
might give you some hints.
Are any threads created in your application?
Jul 2 '07 #5

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

Similar topics

5
by: The Roys | last post by:
Hi Im doing something wrong in quitting the Word.Application in my VB program. I have General Declarations Dim AppWord As Word.Application Form_Load() Set AppWord =...
1
by: BadOmen | last post by:
I am using the GetActiveWindow() API but it returns 0 I have a remote that I activate this code with: Code: WinAmpHandler = GetActiveWindow WinAMPhWnd = FindWindow("Winamp v1.x",...
1
by: Gitte Wange | last post by:
Hello, I'm trying to create an application that needs a Timer() to do various checks. My class has a self.timer = Timer(900, self.sendDNSRequest) The timer itself works fine but whenever I try...
0
by: Deaconess | last post by:
I am quitting this group - ever since I joined I have been at least 15 Microsoft viruses a day if not more. Good luck to you all. Back to Yahoo
7
by: Mike | last post by:
Please help. I am using object.quit in an attempt to quit an excel application that I started with createobject ("Excel.Application"). The code executes, but does not stop the application. When...
0
by: jwright | last post by:
I'm using Sapient's Buildit script (cited in an MS Patterns & Practices doc on team development) and I have run into instaces where the solution.DTE.QUIT(); does not appear to work. This occurs when...
8
by: bearophileHUGS | last post by:
Hello, I have four things to ask or to suggest, sorry if they seem basic or already discussed. ------------------- I am still ignorant about Tkinter. This little program, after pressing the...
2
by: Tony Ciconte | last post by:
We have developed an Acc97 application and distribute it using the Wise installation system and SageKey scripts. The installations are rock solid and the product works well on all types of systems....
4
by: Chris | last post by:
Hi, I'm puzzled by some strange behavior when my Python/Tkinter application quits (on linux): the terminal from which I started Python is messed up. If start up python, then import the code...
1
by: subratamaji | last post by:
Hi, I am trying to open the form from the project explorer( Visual basic 6.0 ) by double clicking on a particular form ( frmDispatchEntry ) I am getting the :- RUN-TIME ERROR 50001...
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: 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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.