Perform Some Work When An Application Is Closed From Taskmanager?
Dec 5, 2011In my application i want to perform some work when an application is closed from taskmanager.
View 11 RepliesIn my application i want to perform some work when an application is closed from taskmanager.
View 11 RepliesHow to remove any applications in taskmanager using vb.net windows application. In taskmanager application tab application is not remove.but process is remove.
View 5 RepliesIs there a way to detect (an API call) when task manager is shutting down an application? I don't want the application to be shut down! How can I prevent that?
View 17 RepliesIs it possible to make an application, but that isn't visible in the taskmanager -> applications
View 39 RepliesUsing VB Express 2010 in windows XP Pro 64.
A ListBox shows the project forms names.
On ListBox_DoubleClick
For Each F As Form In xFormCollection
[Code]....
Works fine the first time but after closing the form opened by the DC, if I try to open it again, throws an exception "Cannot access a disposed object".
Since I can still access any other form not previously showed I guess that the closing changes a status that allowed the form to be .Show, there is no F.Load , F.Activate after the exception doesn't seem to do anything. What should I do?
Using VB Express 2010 in windows XP Pro 64.
A ListBox shows the project forms names.
On ListBox_DoubleClick
For Each F As Form In xFormCollection
[code].....
how to hide exe into taskmanager in windows 7 using vb.net windows application?
I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
how to hide exe into taskmanager in windows 7 using vb.net windows application? I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
View 2 RepliesI have the following snippet in the load event of a MDI child:
Try
foApplRole =
New ApplRole
ugRegionUser.DisplayLayout.Bands(0).Columns(
"User_ID_C").ValueList = uddUser
[Code]...
I am indifferent if you are a VB.NET or C# or other .NET developer. I have a FACTORY class like the following:
[Code]...
I have multiple forms in my VB.NET application. How do I make it so that any form I close will terminate the application?
View 3 RepliesI want to develop an application that gathers event messages of windows and show them on the screen as messages. For example I want to get a message when I receive a new email or when I close an application I want to get a message on the screen that x application is closed.
View 1 RepliesMy winforms app puts a little icon in the taskbar next to the clock while it's running. how do i make it disappear when i close the program in vb.net?
after the application is closed and i put my mouse over it, it disappears.
how to perform alter key press at the time of form loading in vb.net winforms application?
Means when the form's(devExpress's Xtraform) load event is executed that time alt key must be pressed pro-grammatically .
how do you save the value of a variable for later if the application is closed and reopened in winforms, vb.net?
View 2 RepliesI'm trying to figure out how to do this as I'm not sure what's the proper way of doing this.
I've got several strings that I want to store/save permanently, even after the application is closed. How should I proceed? Do I read or write from a textfile?
my friend is currently development an application using SOA Architecture, He sent me a picture with a lot of layers (10 almost) and he is worried about performance issues, the application is development on VB.Net 2.0 & 3.5 (some libs).
View 3 RepliesI created a server-client application using the asynchronous socket. I found the problem when closing a socket on the server, applications so closed. The procedure that I do to close the socket server is:
Terminate the listening thread. Close the client socket is still connected to the server. Close the server socket.
How to prevent the application is closed, when I close the server socket?
Protected Friend Sub CloseServerSocket(ByVal IPAddress As IPAddress, ByVal socketPort As Integer)
' Terminate the listening thread.
[Code].....
How do you check if all instances of forms (or simply all forms of an application) has already been closed?
View 10 Repliesfor example i have this code :
Sub Month()
Dim Conn As New Data.OracleClient.OracleConnection
Conn.Open()
Try
Dim Cmd As New Data.OracleClient.OracleCommand
With Cmd
[Code]...
What will happen to the datareader when the Connection is closed ( Conn.close)
Will the Cursor that is used by the datareader be freed ? or will it stay open ?
If the cursor that is used by the datareader is still open , when will it be automatically closed ? or should i just closed it manually ?
Will it cause the dreaded "ORA-01000: maximum open cursors exceeded" ?
Using VB.Net, how can I save values from a textbox and checkbox when the application is closed? When the user opens the application again, the textbox and checkbox should be filled in with the same values as before.Do I have to save these values in a database, or what other options are there?
View 3 RepliesWhen I try to run my DLL in Autocad, I got the message below.Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your.I know there are many threads on this error, but Im not sure about one thing.Can I resolved this on our FilesServer or I have to do something on each computers that will use the DLL ?
View 3 RepliesI want to ask how to i do this :
1. Make my application to go to a webpage .
2. Open a certain link .
3. Find & Select an element(mostly element ID or div ID) on a web page like buttons etc.
4. Then extract data from a webpage . Like there's a word for example "Yellow" word in the web page . I need it to find it and copy it then paste into a textbox in my application.
Extra details : I am using Visual Basic 2008.
I have written an application to perform a simple CRUD operation i've used MVC design pattern... DAL was designed using the wizard. I was able preserve the olds value of teh fields of EMployee class using a seperatemethod
PreserveOldValues(){ //code}
in the SearchByIndex() i call the fill method and i used the data to initialize the current Employee object also i preserve those values using PreserveOldValues() the i call update() and internall i pass the preserved values......However it doesnt do concurrencies and updates..
I've been creating a small application and now I'm going to make a setup file for it. And I started doing this using Installshield. Here's a prtscreen of where I'm stuck: Since I've developed my Application in .Net, I don't know whether it can be installed on earlier versions of Windows such as Windows 98. Should I uncheck some options?
View 6 RepliesI am creating a server-client type application that allows the network administrator to perform tasks on remote computers by using TCP sockets (TCPClient and TCPListener).The server application needs to send out a message to a client machine (with client application installed) and from this, the client application will send back the required data (i.e. system info, task progress etc). This part works fine.However, I am having trouble in getting the client application to constantly listen for an information request in the background. It should be listening whenever the application is running. What I want to do is to have an event handler which, when a message comes through, acts upon the instructions to send the relevant information back. The server does not need to constantly listen for data, as it will only receive data after it has sent a request.
View 2 RepliesThis error occurs when I want to add my app to the startup keys
My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWAREMicrosoftWindowsCurrentVersionRun", True).SetValue(Application.ProductName, app)
[code].....
I have a codded a small application with on thread other than main.when close the application through programatically it still shows in task manager.The code
is
mythread.abort()
close()
these are the events of a button click.
I can display over all cpu, any idea how to display each items indvidual cpu like taskmanager?
View 1 Replieshow to hide process in the taskmanager of windows 7 in vb.net?How to hide any process in windows 7 using vb.net.
View 19 Replies