I have a custom application that runs from an Excel template, which is launched from a short cut and set to run minimized.
On start up, a form is launched to get an i.d. number from the user. "OK" on this, unloads it and launches the getOpenFilename window, with a path based on the i.d.
Once a file has been chosen, it is opened and data from the file is displayed in another form.
The problem is that this last form appears, but does not receive the focus. How can I make sure this form gets the focus after it is displayed ?
On start up, a form is launched to get an i.d. number from the user. "OK" on this, unloads it and launches the getOpenFilename window, with a path based on the i.d.
Once a file has been chosen, it is opened and data from the file is displayed in another form.
The problem is that this last form appears, but does not receive the focus. How can I make sure this form gets the focus after it is displayed ?