o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

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).

 

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).


killing a parent process no no no -
hi, good day programmers I have two programs in vb and one of them in the form_load event has an instruction to run (shell) the other but in this way, the first app will be a parent process for the other and the user can press (End Process Tree) and kill the two apps


Search by Windowcaption -
Is it possible to find the filename(parent process) from the running process by windowname? example: i have a running window with the caption: Untitled - Notepad Now i need to find the parent process: notepad.exe How to do that?


RpcSs -
I am runnig process A. process A is running process B (B is activeX EXE). Function I wrote to get the parent Process ID returns with the ID of the service "RpcSs.exe" and not of process A as expected. Does anyone know how to overcome this problem ? Thanks


Changing the process name. -
I want to fork my app into 4 processes and have a unique name for each one that shows up in `top`. Currently, top shows the same process name for each process (eg the name inherited from the parent process) which makes life difficult when trying to kill a specific process. Is this


Child Process -
How can i know if one process is a child of another process ? or how can i find out the parent process of a given process ? Thanks


HowTo Tutorial -
Greetings, does someone has a good link for step by step or howto .net. I am coming from the VS 6.0 so therefore I do not think It has to much basic. Thanks in advance Manfred


know the unknown... -
latley..ive been trying to create and find truly orginal codes and functions..i think it would be a good thread for everyone to post a original, hard to find, or rare snipplet..i will post some later..like howto retrive the icon from a running task, howto recreate the system tray, howt


Identify and Kill Child Process -
I have a piece of code that starts a program and runs several parameters. Based on different occurences through the day it can start multiple instances of the same program. At certain points in the programs execution it starts another process. When I start the main program I attach it


treeview check -
i have two tree view windows next to each other such that there are several parent in the left pane each with many chilren. if someone clicks on a parent and clicks add the parent and all its children is moved to the right hand listview. if a child is clickled on and then add pressed


Parse RichTextBox for links -
I know howto find url's typed in a richtext control...but i cant find info anywhere on howto actually convert it into a clickable link. Any idea's?


Finding process relationshipd -
Hi, have an app that monitors other apps, starts and stops them at specific time and re-starts them if they should fail. The problem I have is that if an process fails I need to work out what processes it has spawned to unload those too ..... any idea how I can see a sort of pro


Finding Process -
OK... I am working on my application bar that will be used to launch my other seperate EXEs. I have code to check all windows for a forms caption so that a user can't open an application more than once... but I also need code to check the process list and terminate a process if nee


Creating a process in VB -
hey ! i want to code the game of checkers in VB. there will be a master process which will monitor 2 child processes who will actually play the game. the parent / master process will check whether the player / child processes have made legal moves or not. it will stop the game when


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


howto create taskbar -
howto create taskbar kind of window? and how to make it dragable (stick) to any side of desktop?


[2005] Passing a session from the parent directory -
Hey, I made a asp.net app that I have placed in a sub directory of a my web site. There is a page in the parent directory that is trying to pass the app a session variable. For some reason it is getting reset in the process. Is there something I am doing wrong in IIS? Thanks!


HelpFile Link Greying -
I am building a help file via HTML Help Workshop. In the process of testing, many of the links show up as grey, which indicates they have been referenced. HOWTO: Turn the greying OFF to publish a clean chm?????????


Return Codes to Parent Processes -
I know there is probably a real simple answer to this but how do I return a specific exit code to a parent process which called the executable. All errorhandling is done within the executable so as far as the PERL script knows it always works with no problems. Anybody know the answer


Grabbing text from webpage form named long_d to multiline textbox in VB6 -
Hello all, Just got an issue .. 1. Got a webbrowser control named w which fires up the page with the form 2. A multiline textbox called text1.text 3: Command buttons for other functions How would you go about, grabbing the content of form from a php page which is named long_d an


Component Sharing -
I'm developing this intranet site which consists of a main or parent application and a series of child applications. Each child application will be in its own virtual directory underneath the parent. What I want to do is create some components in the parent and then be able t


Verify a parent window -
I'm getting a list of all the visible windows on the desktop and want to find out by using the window's handle if it is a parent window. I know about the GetParent API: GetParent returns the handle of the parent window of another window. For example, the parent of a button would no


Process' Parent - 100% CPU Usage -
I've realized that some process is shelling the CMD, and each time the CMD appears in the TaskList the CPU usage goes to a hundred percent. Is there anyway to detect who is shelling it?


Recieving output from spawned Process -
I have a question that has two parts. I am trying to spawn a process of a terminal app and wait for it to finish and returns its output. So, for example I want to spawn a process that runs "ls -la" and puts the output into a string variable. I am doing this for windows a


MSChart Doco -
I want some documentation on the MSChart Control. I go to MSDN and do a search on MSChart Control. I get... Q275649 - SAMPLE: Chrtsmpl.exe Demonstrates Use of the Visual Basic 6.0 MSChart Control Q192902 - HOWTO: Change Colors to Patterns with the MSChart Control Q240339 - PRB: Usin


Launch a child IE based on an existing process -
Hello! I use VB6 and I launch an invisible internet explorer form using the following code: ================= Dim RetVal RetVal = Shell("C:\Program Files\Internet Explorer\iexplore.exe -new -nohome", vbHide) ================= ... just after lauching this IE page, I wa


MDI howto, anyone -
I am assuming that's what I would require to be able to run an EXE within a form, which is what I will be requiring for my "pet project" :-) Does anyone know of a good website or something that has a *good* tutorial on how exactly to do MDI and how to manage the child proc


OLE Preview -
I am trying to create a program uses an OLE container control to preview a file. What is meant to happen is that a user clicks on a particular file in a directory and a preview is shown via the the OLE. However the problem I am having is that while linking the file the parent ap


UserControl.Parent, MDIForm and Parent.ScaleMode -
I noticed a very interesting thing about Parent property in usercontrols when the usercontrol is on a MDIForm: the Parent always relates to the MDIForm and not to the actual Parent the control is on. To place a command button on the MDIForm, you need to have a picturebox. So, I had thi


VBIDE SUBCLASSING -
is there anyone who knows a good way to subclass the VBIDE from inside an add-in??? i need to be able to sniff the keypress events from the actíve code window... if anyone knows howto , please msg me!!! if you dont know , but are guessing .. DONT BOTHER!!!! i want a way that


Parent's Parent -
Hey, I'm making a quiz generator that associates certain results with certain answers to certain questions. Currently I have just one question. When using treeview, how do you detect if a node's parent also has a parent?


parent and child form -
Hi!!can anyone help me to my problem..There are two forms which is the parent and child form wherein once you click the child form declared from the parent form; the parent is still there at the back and once you drag the child form, it is still inside the parent form..help me what to


Howto use 'oledb for odbc' connect db -
could you show me some sample code on howto connect to db through 'oledb for odbc' . thanks.


[2005] Parent window, child windows, owner -
I'm not sure what I'm looking for and was hoping someone could point me in the right direction. What I'm doing is when say AutoCad is the active window, my program does something, I have that part. But when I open a dialog box, etc. within Acad, my app thinks AutoCad is no longer the


Howto hide a Form in VB.net -
hello guys I remember that the command form1.visible = false was the command to hide a form. This does not seem to be working in VB.net so my question is Howto hide a Form in VB.net ??


Well - Starting your application as a Service -
You may find this of some interest... http://www.vbwire.com/advanced/howto/service.asp


unloading child with parent -
I have set my vb program to be a child of an off-the shelf contact management program called GoldMine. When I close the parent, my program seems to go away but it is actually still running and I can see it in task manager. How can I tell my program to end with the parent without bein


Howto Launch External App Minimized -
Hi all I need to launch a external (batch) file, but i dont want the computer users to see its content, can someone tell me how to run an external app. minimized or hidden, below is the code that I use... Dim myProcess As Process = System.Diagnostics.Process.Start("C:\batc


Start Program inside Another (parent) VB6 -
Does anybody know how to start a program inside another and keep it inside a box on the form? I found an example at here but it seems to only work for notepad. Any other program, like winamp or IE will not stay in the box and it creates an instance of it in the taskbar. Also, if I


[02/03] ASP.net Access controls on parent frame -
I have a shopping cart applcation that displays the items in an Iframe, this is the viewcart part. on the parent page I have a label that should display the total amount but it doesnt, I tried to put the amount in the iframe code into a session variable and put that value in the label