Unable to get the focus on active form
Posted: Thu May 28, 2009 2:22 pm
My script for automating the installation of my product.
System.Diagnostics.Process.Start("C:\\install.exe");
I'm using the above code to launch the installation file.
InstallBldRepository repo = InstallBldRepository.Instance;
repo.WebDocumentInternet_Security_Suite.Self.Focus();
For setting the focus on the WebDocument. It is failing.
How to set the focus to the WebDocument??
System.Diagnostics.Process.Start("C:\\install.exe");
I'm using the above code to launch the installation file.
InstallBldRepository repo = InstallBldRepository.Instance;
repo.WebDocumentInternet_Security_Suite.Self.Focus();
For setting the focus on the WebDocument. It is failing.
How to set the focus to the WebDocument??