Process and Data Automation
1 discussion post
I have an application that uses different configuration for starting up different sets of forms used in that app.
I.E.
Left monitor app will startup - MyProgram.App which will display Form1 on startup
Right monitor app will startup - MyProgram.App which will dislay Form2 on startup.
The MyProgram.App is started with a unique startup file that calls the MyProgram.App.
They run correctly when the unique startup file is clicked on the different monitors.
However, if I try to have them startup on Windows startup, they both start on the same monitor.
Please advise,
Thank you
I discovered why my app was not redirected correctly.
It opens up with a splash screen which receives the focus.
Once that splash screen exits, the main window loads for the app.
What can I do to get focus of that window. I found I can get the window by Title name.
But, the splash screen takes 20-30 seconds to perform its function before the main window loads.
Is there a waiting loop I can implement that will wait for that main window to load and then set the focus to it?
Best regards,
Mar 24, 2016 (modified Mar 24, 2016)
•
#1