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??
Unable to get the focus on active form
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Unable to get the focus on active form
My Install.exe when clicked extracts and then the webdocument gui gets opened.
I'm setting the focus by using:
InstallRepository repo=InstallRepository.Instance;
repo.WebDocumentInstall.Self.Focus();
But still it doesn't recognize the WebDocumentInstall gui????
I even tried with EnsureVisible() method, but it doesn't work.
I'm setting the focus by using:
InstallRepository repo=InstallRepository.Instance;
repo.WebDocumentInstall.Self.Focus();
But still it doesn't recognize the WebDocumentInstall gui????
I even tried with EnsureVisible() method, but it doesn't work.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact: