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

How to close a project (?)

I have seen several times when I close a vb application, even though it seems
to be closed when I go to the task manager the process of that EXE is still
running. How do I make sure that my app will close completely.

Thanks,
Nov 21 '05 #1
2 1018
You have to find out what resource is being held that is not letting the app
completely exit.

Are you leaving a thread running?

Do you have aform hidden that is not closing before you exit?

"Eduardo78" <Ed*******@discussions.microsoft.com> wrote in message
news:3F**********************************@microsof t.com...
I have seen several times when I close a vb application, even though it seems to be closed when I go to the task manager the process of that EXE is still running. How do I make sure that my app will close completely.

Thanks,

Nov 21 '05 #2
"Eduardo78" <Ed*******@discussions.microsoft.com> schrieb:
I have seen several times when I close a vb application, even though it
seems
to be closed when I go to the task manager the process of that EXE is
still
running. How do I make sure that my app will close completely.


If you are using additional threads, set their 'IsBackground' property to
'True'. Otherwise you will have to terminate the threads explicitly.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

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

Similar topics

1
by: ColinWard | last post by:
Is there a way to compact the current database when the user clicks the exit button. Alternatively, what is the command line switch to compact the database when the user opens the database? ...
4
by: dixie | last post by:
If I have a form open and the database window is open, is there a command I can use from an on click event that will close the database window for me, but still leave the application open? dixie
1
by: Ian | last post by:
I have just begun to to learn how to write macros in VC++. For learning purposes, I would like to implement a macro that accesses all files in a 'test' project and makes a series of changes to...
4
by: Ian | last post by:
I posted this message in the languages.VB newsgroup yesterday and did not receive a response. I am hoping it might receive one in this newsgroup. I would like to implement a macro that makes...
0
by: l-touched | last post by:
Hello, I have a problem, when I want open my project in my local machine (where always I have worked), appear this error message: Unable to Open Web Project 'MyProject'. The fle path...
2
by: GB | last post by:
Is there a way to speed the closing of a .Net application?
0
by: Ian | last post by:
For learning purposes, I would like to implement a macro that accesses all files in a VC Net 'test' project and makes a series of changes to these files. I am able to identify each file in my...
10
by: morangolds | last post by:
Hi, I've been having a problem with C++ Windows Forms apps not "ending" when you close the form window. I've searched about this problem all over the place and most searches have lead me to...
2
by: Ivan Jericevich | last post by:
I changed some bindings and made a real mess, I would like to close the project and reload from my last save. How do I close the project withot it saving in it's current state of mess.
1
by: OxfordConsult | last post by:
I have a form and it is to creat a 'link' between a project and a company. Creating a record form this table will simply create a record in a databse with the company ID and project ID. Project ID is...
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: 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
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...
0
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...
0
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,...
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...
0
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...

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.