Click here to Skip to main content
16,008,183 members
Home / Discussions / C#
   

C#

 
AnswerRe: Control, or UserControl? Pin
leppie22-Aug-02 3:46
leppie22-Aug-02 3:46 
AnswerRe: Control, or UserControl? Pin
James T. Johnson22-Aug-02 6:24
James T. Johnson22-Aug-02 6:24 
GeneralComponent Class Problem Pin
Chris Richner22-Aug-02 1:28
Chris Richner22-Aug-02 1:28 
GeneralRe: Component Class Problem Pin
James T. Johnson22-Aug-02 6:23
James T. Johnson22-Aug-02 6:23 
GeneralRe: Component Class Problem Pin
Chris Richner25-Aug-02 22:15
Chris Richner25-Aug-02 22:15 
Generalhelp me Pin
imran_rafique22-Aug-02 0:26
imran_rafique22-Aug-02 0:26 
GeneralRe: help me Pin
Stephane Rodriguez.22-Aug-02 1:43
Stephane Rodriguez.22-Aug-02 1:43 
GeneralRe: help me Pin
imran_rafique22-Aug-02 9:16
imran_rafique22-Aug-02 9:16 
thanks for your help
i have one more problem and that is
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?
i will be very thank full to u.


r00d0034@yahoo.com
GeneralRe: help me Pin
Stephane Rodriguez.22-Aug-02 10:19
Stephane Rodriguez.22-Aug-02 10:19 
GeneralInvoking Edit Label in ListView from Code Pin
Rüpel21-Aug-02 22:20
Rüpel21-Aug-02 22:20 
Generali can'T move my form... Pin
Atilla Selem21-Aug-02 21:05
Atilla Selem21-Aug-02 21:05 
GeneralRe: i can'T move my form... Pin
Stephane Rodriguez.21-Aug-02 21:30
Stephane Rodriguez.21-Aug-02 21:30 
GeneralRe: i can'T move my form... Pin
leppie21-Aug-02 21:58
leppie21-Aug-02 21:58 
GeneralRe: i can'T move my form... Pin
Nnamdi Onyeyiri22-Aug-02 3:21
Nnamdi Onyeyiri22-Aug-02 3:21 
GeneralRe: i can'T move my form... Pin
leppie22-Aug-02 3:35
leppie22-Aug-02 3:35 
GeneralRe: i can'T move my form... Pin
Nnamdi Onyeyiri22-Aug-02 3:42
Nnamdi Onyeyiri22-Aug-02 3:42 
GeneralAccess To Registry of Remote System Pin
Sarith Sutha21-Aug-02 17:47
Sarith Sutha21-Aug-02 17:47 
Generalopenning Word in MDI form as child with limited functionalities Pin
cloudno921-Aug-02 10:30
cloudno921-Aug-02 10:30 
GeneralPixel Color Pin
marnicola21-Aug-02 9:58
marnicola21-Aug-02 9:58 
GeneralRe: Pixel Color Pin
Philip Fitzsimons22-Aug-02 0:31
Philip Fitzsimons22-Aug-02 0:31 
GeneralSizing of controls in a status bar Pin
Nnamdi Onyeyiri21-Aug-02 6:36
Nnamdi Onyeyiri21-Aug-02 6:36 
GeneralRe: Sizing of controls in a status bar Pin
leppie21-Aug-02 8:20
leppie21-Aug-02 8:20 
GeneralTypeConverter Attribute and DataSource property Pin
Shaun Wilde21-Aug-02 6:14
Shaun Wilde21-Aug-02 6:14 
GeneralRe: TypeConverter Attribute and DataSource property Pin
Shaun Wilde21-Aug-02 6:53
Shaun Wilde21-Aug-02 6:53 
GeneralC++ CALLBACK to Managed Event Pin
leppie21-Aug-02 5:31
leppie21-Aug-02 5:31 

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.