how to post WM_QUIT to a process started by someone else -
Hi,
I have a COM Server running and i want to close it. I dont want to terminate the process. I want to send WM_QUIT to it such that it terminates normally. Can some one help me..
Thanks in advance..
Pradeep
how to post WM_QUIT to a process started by someone else -
Hi,
I have a COM Server running and i want to close it. I dont want to terminate the process. I want to send WM_QUIT to it such that it terminates normally. Can some one help me..
Thanks in advance..
Pradeep
Getting owner process (PID) -
Hello... I have the PID (or handle, or window title, or whatever you want) of a process.. And I would like to know how to find out by which process this is owned.
I.e. I want to get the PID of the process that started/owns my PID.
For example how do i get the PID of explorer.exe
Howto get parent Process PID -
How can i get the PID of the Process which started me (my exe) - I'm seeking for the PID from the cmd.exe process (my program is started from an batch-job).
Kill a process that was started via another process -
Ok, I have a service application that starts a process (with the Process.Start() method) but when I shutdown my service I can issue a Process.Kill() and it does indeed kill my process but it leaves any child processes open and that begins a runaway adventure with my processor.
In th
Must See! Megatron, tell me if I'm wrong. May not need to send many msgs to close app -
Ok, the purpose of this thread is to sort out what messages need to be sent to close an app. Megatron has posted many times that you should post several different messages to a window to close it. I disagree. Anyone who thinks I'm wrong, please explain how. I want to get to the bot
Capture PID of Process initiating App -
Is there an API which can be used to identify the process which started a secondary application. The primary application is a purchased software package, and for help issues links to a VB application. I do not know how the call is made to start the second VB application. I have che
[2008] Process started/terminated event -
Hi all,
I need to know when a one of a few certain processes is started so that I can close it before it appears on the screen. Originally I was using Process.GetProcesses in a timer that runs every 50ms to check for when a new process of a certain name was started. However, not onl
Checking Process ID still running -
Hi y'all. Having started a process using Shell(), which returns me the process ID, how can I check whether or not the process is still running? I know I can look for an app with a certain string title but I may have more than one running with the same name and I need to be able to di
[2005] Hide window of a process that has already started -
I did some searching on the subject, and all I could find was how to hide the window of a process that YOU are starting.
Is there anyway to hide the window of a process that is already started?
Check log file -
I need to check a txt file for a certain value and if that value is found to write to result to a txt file. The tricky part is that it is a on going log file and the entry would be in there from the previous day.
For instance here is a copy of part of the log
08/10/05 01:36:14 Fini
detect external button click on msgbox -
I have an external application that throws up a yes/no message box when I post a WM_QUIT message. What I'd like to know is if the user either clicked YES or NO to this message box. Any ideas on how I can do this?
Process trouble.. -
Hi guys..
I'm going to open a web link in a form using the process way:
Process.Start("http://www.abcde.com")
Now, if the finally user closes my program, there's a way to know if the process started before is already open, and in that case close it?
Thank You..
Help me somebody -- >Terminate process -
Hi all.
i need some help here.
how can i terminate a process that allready started (in memory)?
i did some codes that terminate process but i had to start the process by myself and then close it.
i want to terminate a process that allready in memory!!.
(process like in
Creating an event handler to find out when a process starts -
Hi everyone. Me again. I have a little problem I hope somebody help me. I know how to create an event handler to a process such as notepad so that when the process is exited, some kind of event is triggered eg.
private Process NPad;
...
Process[] p = Process.GetProcessesByName
The best way to render in Direct3D 9 -
I've been working on this for a couple days now. I'm really looking for the best way to render. Nothing too complicated but something that is fast, reliable, and powerful. I've seen many websites and about each one shows a different way. I've probably gone through about 5 different way
[2005] how could i get the process time using tickcount() mehtod. -
helo,
i am using tickcount method to get the total count of time when system was started till now. in the meantime if i want to get the time of some specific running process or function inside my code of c#. how i will do that.
i simplify it in other way that, how to calcult
how to - in between a process. -
hi,
i'm performing copy, compact, getfilesize and delete operations on access db file of 400 mb size. when these operations are undergoing i do need to show some kind of progress bar coz these all process takes lots of time. but when any of these process is started neither settimer
Taskkill Question -
Hi its my first post here so yeah. Just started coding in VB and everything is going pretty smooth so far.
I am making a program in vb that does not allow a process (defined by me) to run.
Here is the code I have:
Code:
Shell ("taskkill /F /IM process.exe")
Now my que
Process Handler - for all your process needs -
Has a lot of problems dealing with processes and child processes - and so it seems does quite a few other people.
So - I though I'd post a class that handles most process needs.
The code needs formatting, but generally it works well
[highlight=VB]
Reducing Application process size -
Hi all , this is my first ever post on these forums although I've been dropping by the site for a long while now. Pat on the back to all those who through their hard work and efforts enable others to increase their knowledge. I have a question regarding the process size of vb apps and
DestroyWindow Problems -
Try WM_QUIT.
Cancel Process/button help pls -
I am creating an application in VB6 which cycles through 10,000 records in a database - once the process has started how can I stop it without pressing ctrl break?
Thanks in advance.
MMX
help -Terminate Process- help -
Hi all.
i need some help here.
how can i terminate a process that allready started (in memory)?
i did some codes that terminate process but i had to start the process myself and then close it.
i want to terminate one that allready in memory!!.
plz help me
ThnX
planc
Process timing Help... -
Whats a good method of determining the length of time a process took to complete? I figured that I could use the 'NOW' command at the beginning and end of the process, and then extract the numerical time and subtract the second from the first...
There is obviously a better set of co
Hiding then Unhiding a Process -
If you start an exe file by using a Process, you can set certain ProcessStartInfo parameters beforehand, such as CreateNoWindow = True (to hide the process), as in this example:
Dim myExe As New Process
Dim p As New System.Diagnostics.ProcessStartInfo
p.FileName = "cm
Ignore this post... -
Accidentally started a post rather than replied to a current one. Moderator can delete this.
Post reply won't work! -
When I try to add a reply to the 'ShellExecute problems...' thread in the general VB Q and A section, it loads the reply page but the post reply button isn't there!!!
What is going on? I really want to post to thank Bruce Fox for his help...
(I started the topic btw)
SendMessage() problem -
I'm trying to make Notepad close through sending it the WM_QUIT
but it doesn't seems to work, i get it wrong somewhere with the SendMessage i think coz the hWnd i'm getting successfully through FindWindow
what i do wrong?..
heres my code
Code:
Private Declare Function
Need to parse huge list [resolved] -
Hi all! This is my first post here, and I'm a bit of a VBA newbie, so pardon my ignorance...
My problem is this: I've got a log file with stats about program processes, what time the process started and when it was last polled. The processes are polled every 30 minutes and the new d
Process.Start & Services -
I am trying to write a Service that will launch a program when the computer starts up. It needs to start even if no one logs into their user. Like when Microsoft does an update that restarts the computer automatically. I think I have the majority done but I have a couple of questions.
Whatever happened to my posts -
When VBForums got it's new makeover, I had to re-register my account. My posts were still here, but mt post count had reset. If I search for a post by user, say, on myself. Only the posts come back that I have posted since the "makeover"
Not that I'm mad or anything, but h
Use VB6 to post data to a website -
I want to use VB6 to gather data from a database and then post that to a website. Can VB do an http post? Does anyone have some sample code that would help me get started?
The website is setup to allow either form submission or a query string. I'll be passing it the variable names
How to tell if a certain process in my pc is being used by a remote computer -
hello experts, this is my first post here. Hope i'm lucky.
I know that the process is there however I can not tell if it is being run by a remote computer or if it's just idle.
My goal is to make a small app that while minized to the icon tray will tell me if the given process i
Update.exe issue - using 100% CPU -
hello,
while working, my PC started to slow down (like opening a file, or a folder etc got slow down) which was't the case before. the last time it happened, i thought that TClock.exe, a spurious application installed maybe after i clicked a link which i should not have, installed t
Loading a process ONLY after loading a form -
hi~!~!
say i've a form (which is my main program too) which needs to be loaded. after loading it i want some process to be started automatically ONLY after the form has been loaded. is there a way to trigger my process?
what i've been able to do is to load my processes while the
The Red Thread -
Every post must be red. Something for you bored people. (Hey, that's how the post race got started :red version of rolleyes:).
Still sorta new to VB...Menu Question -
I have a process that is started when clicking on a start button.
I want to add a choice of how this process is started. So i have an options drop down menu with the 2 choices. I want choice (a) to be the default choice when the form is loaded.
I have the checked option in the
Determine App's Process ID -
I have an app that I allow to be run multiple times.
So, in the task list the name appears multiple times:
myApp.exe
myApp.exe
etc.
How can I determine the Process ID of an App from within it when there may be multiple instances of it running??
For example, lets say I wan
Never ending post -
this is the post that never ends, it just goes on and on my friend. some ppl started posting it not knowing what it was, and they'll continue posting it forever just because...
Timer concurrent with a process -
Hi! All,
This is what I want to do.
1.) When I click on "Connect" button, it is trying to connect to a SQL server in a different computer and it takes some time
2.) I have a progress bar which indicates the progress of the current process
I've tried with a timer, but it