|
Hello,
I ran into the following situation. First, i'll list a small excerpt of the process list output from Process Explorer [^];
Process PID
System Idle Process 0
Interrupts n/a
DPCs n/a
cdas56e.exe 504
StartupMonitor.exe 3388
eclipse.exe 3396
javaw.exe 3052
emulator.exe 2752
jdbgagt.exe 3872
procexp.exe 1592
iexplore.exe 2168
taskmgr.exe 1536
procexp.exe 3688
explorer.exe 2172
multiDesk.exe 2164 The process that is bolded, namely eclipse.exe and it's children, is orphaned because the explorer.exe died for some reason. I started a new explorer from the taskmgr.exe application. The problem that I am trying to solve is that I can no longer access the eclipse.exe application after it's parent, explorer.exe, dies. (I tried to use the "Bring to Front" command from taskmgr.exe but that did not work because that option was turned off.)
How would I go about writing a program to reattach an orphan process(es) to a new explorer.exe process?
Sources, URL s, etc..., would be greatly appreciated.
Thanks,
|
|
|
|
|
Hello everyone,
I am trying to get some hotkey "Short-cut" for my application. I am currently using the following codes for a single key event and everything works fine.
switch(e.KeyCode)
{
case Keys.Right:
{
_Pacman.MovementDirection = MovementDirections.Right;
break;
}
case Keys.Left:
{
_Pacman.MovementDirection = MovementDirections.Left;
break;
}
case Keys.Down:
{
_Pacman.MovementDirection = MovementDirections.Down;
break;
}
case Keys.Up:
{
_Pacman.MovementDirection = MovementDirections.Up;
break;
}
}
I wish to have the case that "Ctrl" key to be added to these key events. Can someone tell me what I need to do to have this, please.
Thank you for your help.
Khoramdin
|
|
|
|
|
if (e.Control == true) {
switch(e.KeyCode)
{
case Keys.Right:
{
_Pacman.MovementDirection = MovementDirections.Right;
break;
}
...
}
}
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
hey, I'm havening trouble trying to get the letter under the mouse
my purpose is to make each letter in a label select able or a button.
can any one help, i would be great if you do
Thanks
|
|
|
|
|
There's a Win32 API called WindowFromPoint, this will give you the window handle of the control you are over. From there, you can use GetWindowText, but working out what letter is under the mouse, will be a little more complex, you need to get the font details from the control, and work out how that font renders. A multi line control makes it even harder. I imagine getting it to work 100% of the time would be a very big job, indeed.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
yea it would be, i'll look into that and see how i go, my font is 'Lucida Console, 9pt'
which makes each letter the same width part.
thanks for that
|
|
|
|
|
I added both the convert and revert in title for completness. I am using the ArrayList.ToArray(typeof(byte)) now to return the byte array.
now I need to convert it back to an Arraylist. Cannot seem to figure that one out for some reason.
Any help would be appreciated.
Steve Welborn
Software Engineer
BitWise Solutions
|
|
|
|
|
Try this:
public ArrayList ToArrayList(byte[] buffer)
{
if (buffer == null || buffer.Length == 0)
return null;
ArrayList list = new ArrayList();
list.AddRange(buffer);
return list;
}
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Easy enough. thank you Pete
Steve Welborn
Software Engineer
BitWise Solutions
|
|
|
|
|
Not a problem.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
How can I retrieve information about the devices attached to the IDE.
|
|
|
|
|
Where do you want to retrieve this ? How do devices attach to the IDE, do you mean database servers ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I want read what drives, CD and HD are attached to primary master, primary slave, secondary master, and secondary slave.
|
|
|
|
|
|
This reports information on the drives but does not tell which IDE port it is attached to. I need something similar to the bios report on the post screen.
Primary Master = <descriptive string="">
Primary Slave = <descriptive string="">
Secondary Master = <descriptive string="">
Secondary Slave = <descriptive string="">
|
|
|
|
|
Take a look at using WMI to do this, before you ask I have no idea, never had a need to use WMI.
|
|
|
|
|
Hye Guyz
I really need some help in finding out how to develop simulation of memory paging in C Sharp. Its my class project. It need not be based on http://cs.gmu.edu/cne/workbenches/vmsim/vm.html[^]
Rather something which just does calculations based on input and generates a simulation. I will really appreciate any help.
powersyndrome@yahoo.com
|
|
|
|
|
usmanali123 wrote: Its my class project.
Don't you have classmates you can ask?
Marc
Thyme In The CountryPeople are just notoriously impossible. --DavidCrow There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith
|
|
|
|
|
Oh Sire ,
I wish world was less competitive . I personally am sure they do not know much but even if they knew they would not prefer sitting with me for some tips. I hope someone is magnanimous enough out there to listen to the plea of this student.
Thank you for reply by they way.
Usman
|
|
|
|
|
Can someone tell me how to make a simple chat program.
C#
|
|
|
|
|
Ten people can tell you ten ways.
|
|
|
|
|
I want the simpliest way.
C#
|
|
|
|
|
Google[^], and what da ya know, the first result says it's the simplest
|
|
|
|
|
Does anyone know how to set the position of the horizontal scrollbar for a datagrid?
Thanks
RABB17
"Nothing fancy needed, please just solve all our problems as quickly as possible."
|
|
|
|
|
i guess thats the most challenging part when using scrollbars to a grid, what position you want to set?
for more info: www.dnzone.com/ShowDetail.asp?NewsId=564
http://datawebcontrols.com/faqs/CustomizingApperance/ScrollableDataGridWithFixedHeader.shtml
Gautham
|
|
|
|