Ramendra Kumar

Ramendra Kumar

  • NA
  • 76
  • 1.2k

Open And Find Another Control of a Form

May 13 2019 12:24 AM
I have a Window Applicattion, i am opening another application Inside that, Using Below Code.
 ProcessStartInfo startInfo = new ProcessStartInfo();
        startInfo.FileName = @"C:\Data.exe";
            Process p = Process.Start(startInfo);
            Thread.Sleep(500); // Allow the process to open it's window
           SetParent(p.MainWindowHandle, this.Handle);
      
 
Here File Is Opening, now i want to Find TextBox Of that Exe file, and write Some Data, any help will be Highly appreciate.

Answers (4)