I have an application that runs on a pc and loads data. This application runs for quite awhile so I've developed a few screens to let the users know where in the load process the program is. So.. first I have a main status form which has the high level steps the application goes through:
Step A
Step B
Step C
Step D
When each step begins I change the color of the label and when that step completes I delete the label and move to the next step.
During step A, some data is loaded. That data consists of 4 types of files with data for each of 20 market areas in the United States. I open another form (not a sub or a linked form) that is based upon a table where I update the progress of this load. Hence the users can see at a glance what has loaded and what remains to be loaded..
My problem is that when I open the second from...everything works fine, except the second form opens behind the current form and can't be seen. How do I make it visible (in front of the other form).
Opening of the Initial form:
gfrmStatus.Visible = True
Opening of the second form:
Form_frmPowerPlaytoExcelStatus.Visible = True
Form_frmPowerPlaytoExcelStatus.SetFocus
Form_frmPowerPlaytoExcelStatus.Refresh
The form frmPowerPlaytoExcelStatus opens and works fine, except it is behind gfrmstatus and I'd like it in front of gfrmstatus.
Thanks,
Step A
Step B
Step C
Step D
When each step begins I change the color of the label and when that step completes I delete the label and move to the next step.
During step A, some data is loaded. That data consists of 4 types of files with data for each of 20 market areas in the United States. I open another form (not a sub or a linked form) that is based upon a table where I update the progress of this load. Hence the users can see at a glance what has loaded and what remains to be loaded..
My problem is that when I open the second from...everything works fine, except the second form opens behind the current form and can't be seen. How do I make it visible (in front of the other form).
Opening of the Initial form:
gfrmStatus.Visible = True
Opening of the second form:
Form_frmPowerPlaytoExcelStatus.Visible = True
Form_frmPowerPlaytoExcelStatus.SetFocus
Form_frmPowerPlaytoExcelStatus.Refresh
The form frmPowerPlaytoExcelStatus opens and works fine, except it is behind gfrmstatus and I'd like it in front of gfrmstatus.
Thanks,