|
-
Mar 21st, 2011, 05:03 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Showing/Hiding a Form on Windows Server 2008 RD Web Acess
Hello Everyone,
I'm having an issue with my app where IE will get brought to the front of the screen when I am switching between forms. Basically I have a form with the man menu which consist of a few command buttons that will start up another form once a user clicks on the button. I do not want the users loading up multiple forms in my application, so once they load one form I end up hiding the main form. So my code looks as shown below when a button is clicked.
Code:
Private Sub cmdInvoiceMaintenance_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdInvoiceMaintenance.Click
Me.SuspendLayout()
'Show the Invoice Maintenance Form.
frmInvoiceMaintenance.Show()
'Hide the main menu form.
Me.Hide()
Me.ResumeLayout()
End Sub
This is working perfectly fine on our current terminal servers that are running Windows 2003. We are in the process of upgrading to terminal servers that are running Windows 2008 RD, which you launch using Internet Explorer. What I've notice now is switching between forms the screen will flicker because it seems to hide the main form before the Invoice Maintenance form is fully displayed. What's worse is it will sometimes hide the main form and then IE will come up to the front of the screen and the Invoice Maintenance screen will be behind it. Then I am forced to click on the Invoice Maintenance screen within the Task Bar to get it to come to the front. This only happens if I leave IE open in the background. If I happen to minimize it, it'll still flicker between forms but it will not bring up say Outlook or any other app I might be running behind my application.
Has anyone else experienced this problem, or anyone have any ideas how I can resolve this issue?
Thank You,
Greg
Last edited by Maldrid; Mar 23rd, 2011 at 01:07 PM.
Reason: To change title to Resolved.
Motto: Anything for a laugh.
Getting second place only means you are the first loser to cross the finish line.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|