Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
GeneralRe: @$#)(#@)($ dialogs Pin
Sijin19-Aug-02 3:41
Sijin19-Aug-02 3:41 
GeneralRe: @$#)(#@)($ dialogs Pin
Christian Graus19-Aug-02 12:12
protectorChristian Graus19-Aug-02 12:12 
GeneralRe: @$#)(#@)($ dialogs Pin
Domenic Denicola19-Aug-02 13:32
Domenic Denicola19-Aug-02 13:32 
GeneralRe: @$#)(#@)($ dialogs Pin
Sijin19-Aug-02 3:36
Sijin19-Aug-02 3:36 
GeneralRemoting Question Pin
Eka19-Aug-02 2:01
Eka19-Aug-02 2:01 
GeneralRe: Remoting Question Pin
Sijin19-Aug-02 2:39
Sijin19-Aug-02 2:39 
Questionkeyboard events and mouse events? Pin
imran_rafique19-Aug-02 1:15
imran_rafique19-Aug-02 1:15 
Generalplz ans that one Pin
imran_rafique19-Aug-02 0:18
imran_rafique19-Aug-02 0:18 
please read that code and solve mine problem


tmpProcess = new Process();
tmpProcess.WaitForInputIdle();
tmpProcess.StartInfo.FileName="f:\\mirc59t";
try{
tmpProcess.Start();
while(! tmpProcess.Responding)System.Windows.Forms.Application.DoEvents();
}catch{}

tmpProcess.WaitForInputIdle();
IntPtr hWnd=tmpProcess.MainWindowHandle;
///////////////////////////////////////////////////////////
Control parent = Control.FromHandle(hWnd);
//////////////////////////////////////////////////////////
//Control parent = Control.FromChildHandle(hWnd);
if(parent!=null)
MessageBox.Show("parant not null");

/*foreach(Control child in parent.Controls)
{
IntPtr childHandle = child.Handle;

}*/
///////////////////////////////////////////////////////////
parent variable recive null that's why remaining code could not run.

it should not recive null because the process main window
contain two button and four Static members.

can any body tell why it recive null?
and what i have to do that it should not recive null?

r00d0034@yahoo.com
GeneralRe: plz ans that one Pin
leppie19-Aug-02 1:19
leppie19-Aug-02 1:19 
GeneralRe: plz ans that one Pin
jparsons19-Aug-02 10:29
jparsons19-Aug-02 10:29 
QuestionImageList ... where to store ? Pin
AegisHold18-Aug-02 22:54
AegisHold18-Aug-02 22:54 
AnswerRe: ImageList ... where to store ? Pin
Gevik Babakhani18-Aug-02 22:58
Gevik Babakhani18-Aug-02 22:58 
GeneralRe: ImageList ... where to store ? Pin
AegisHold18-Aug-02 23:17
AegisHold18-Aug-02 23:17 
General...does not have an entry point defined. Pin
Thesisus18-Aug-02 13:55
Thesisus18-Aug-02 13:55 
GeneralRe: ...does not have an entry point defined. Pin
Eric Gunnerson (msft)18-Aug-02 15:52
Eric Gunnerson (msft)18-Aug-02 15:52 
GeneralHashtables and there keys Pin
gekoscan18-Aug-02 12:28
gekoscan18-Aug-02 12:28 
GeneralRe: Hashtables and there keys Pin
Eric Gunnerson (msft)18-Aug-02 15:51
Eric Gunnerson (msft)18-Aug-02 15:51 
GeneralWeb Components and Events other than the default Pin
Paul Riley18-Aug-02 10:04
Paul Riley18-Aug-02 10:04 
GeneralRe: Web Components and Events other than the default Pin
James T. Johnson18-Aug-02 10:18
James T. Johnson18-Aug-02 10:18 
GeneralRe: Web Components and Events other than the default Pin
Paul Riley18-Aug-02 10:26
Paul Riley18-Aug-02 10:26 
GeneralSerialization Pin
dwebster18-Aug-02 8:53
dwebster18-Aug-02 8:53 
GeneralRe: Serialization Pin
James T. Johnson18-Aug-02 9:29
James T. Johnson18-Aug-02 9:29 
GeneralRe: Serialization Pin
dwebster18-Aug-02 11:15
dwebster18-Aug-02 11:15 
GeneralRemoting problem.. Pin
itay_k18-Aug-02 0:30
itay_k18-Aug-02 0:30 
GeneralText Compression Algorithm Pin
Jonathan Tan17-Aug-02 22:26
Jonathan Tan17-Aug-02 22:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.