I tried to build my project but it failed and said the exe was already in use by another process. So I looked in the Task Manager and saw several instances of this exe and several instances of another exe that I wrote. Why wouldn't the processes be stopped after I close the programs I wrote. Is there something I can do so that the processes end after I close the program?
Need help removing a copy of my program shown on the Task Manager after I close.
I must kill a conflicting program that cannot share the COM port and then reinstate when myprogram ends. To reinstate I use: System.Diagnostics.Process.Start(conflictingPath & conflictingProgram)
In the last line of my Form1.Closed I try to end all with:System.Windows.Forms.Application.Exit()
Not working - each time I run this program it does kill the conflicting program, can do its dialing function and upon closing reinstates the conflicting program. But each time another copy shows under Task Manager.
In the code below, I open excel file, when I try to enter some values into excel cells, and close it afterwards. For some reasons excel process is still active in task manager. I am releasing objects, quiting application like for other excel files in my program, but in this specific example can't do this. The code below is written in Visual Studio 2010, windows 7.
Imports Microsoft.Office.Interop Public Class Form1 Public MainPath As String = System.IO.Directory.GetCurrentDirectory() Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click [Code] .....
At my school people use the keyboard shortcut (CTRL+Shift+ESC) to open Task Manager. We are not allowed to use it so we get a message box saying that we do not have permission to do that. People hold down the buttons, so that a long line of hundreds of popups open. What code do i need to close all of the popups when a button is pressed?
I am making a security program in visual basic 2008, and am wondering is there anyway i can stop the program appearing in the applications tab in task manager. Theres the option to close the program via the taskbar with a password, I just don't want anyone to be able to just end it from task manager. I know you can stop it somehow cause other programs manage to but how?
This works for XP, VB.NET 2003/2005/2008. This example does not work on Windows Vista. Add a ListView, and Timer to a form. {Timer must have the Elapsed Event}
Code: Public Class Form1 Const WM_COMMAND As Int32 = &H111 Const MF_ENABLED As Int32 = &H0 Const MF_GRAYED As Int32 = &H1 Const LVM_FIRST As Int32 = &H1000 [Code] .....
I create a form and set the border style to FixedSingle , this form dosen't have (control box) and when i want to unload this form i should press ALT+CRLT+DEl and cancel it form process tab ( not Applications tab) how can i set my program in application tab in task manager?(show in taskbar is true)
Is it possible to code a program so that the name displayed in the Task Manager can be changed mid-process?I have searched for it but everything I found was either someone wanting to hide the name or was for VB6.I am developing a program that will be run in a dozen instances at the same time. There will be two (2) user input forms followed by a processing form containing nothing but a third-party component that we are forced to use to capture our data. What I am trying to do is change the name after the user input to indicate which instance this particular program is. That way, if the third-party component hangs, we will know which instance to kill.
have you of any ideas in why does my software in vb 2010 still exist in the task manager (process tab), after i closed the program? i noticed it when i want to delete the .exe file.
I have an application that's using NotifyIcon control. Everything is fine except when I exit the application by the Task Manager, the icon is still in the "system tray" area. I want it to disappear once I exit the application by the Task Manager. [code]...
i created a windows blocker to prevent users access, and only give access to the computer for a certain time if they pay....In the block state taskmgr can not be accessed also no other method can close the blocker. but once the computer is unblocked for use it become vulnerable only to the taskmgr since i have to give access to the taskmgr when the program is not blocking access. Is there anyway to prevent my program from being KILLed in the taskmgr or is there a way to restart the blocker if the user KILLs the program?
I've made a project with serveral forms and instances of classes.The program works fine until the last form close.2 messages were shown:1. The exception unknown software exception(0x0eedfade) occured in the application at location (?????????)2. Regular dialogue "Runtime error 217 at (????????)
I am currently creating a task manager. But there is a problem : After killing the processes, it still remains in my list box (list of processes).I don't want to use a timer to clear the list and add the list of processes again because this will cause the list to blink.[code]
How do I make my app have a description in the Processes tab of the Task Manager? Changing the assembly description doesn't do it apparently. Right now the description is just it's name.
Im new here and i want learn more about visualbasic8..so my friend and me working on RAT ( most of work he coded ) so i want only to know a source codes to disable/enable task manager so im asking can someone post it here & thank you !
I'm writing a small App that mimic's the Task Manager and I can get all the running processes images names and physical Memory usage but can't seem to figure out how to get the CPU usage Percent for each process.
opps forgot and as well as the indivdual process usage percent, so the precent each process is using....