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);
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.
Rajanikant HawaldarRank #110 · 20.4K reputationPosted May 12, 2019, 9:51 PM EDT
Sivakumar KonetiRank #1,557 · 1K reputationPosted May 12, 2019, 8:26 PM EDT
Ramendra Kumar68 reputationPosted May 12, 2019, 8:29 PM EDT
Ramendra Kumar68 reputationPosted May 14, 2019, 12:44 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts