Developer111
Member
- Joined
- Apr 21, 2010
- Messages
- 24
- Programming Experience
- 5-10
I am developing an application having multiple screens appearing one after another using vb.net. My requirement is to bring some screens (windows form) in front of the user to take input and some of the forms can work in background (behind other applications) as they are only progress showing forms.
I tried Me.active(), Me.BringToFront(), Me.Focus(), and also some of the APIs like GetForegroundWindow(),SetForegroundWindow(), ShowWindow() etc, but failed to do so.
I tried another set of instructions
Me.TopMost = True
Me.Active()
Me.TopMost = False
Its works for me but once my form come in front, no other application can appear on top untill the my form is selected manually. Although I tried Me.Select() and Me.Focus() after above mentioned set of instructions but failed.
Can anybody help to get the solution for this problem
Thanks in Advance
I tried Me.active(), Me.BringToFront(), Me.Focus(), and also some of the APIs like GetForegroundWindow(),SetForegroundWindow(), ShowWindow() etc, but failed to do so.
I tried another set of instructions
Me.TopMost = True
Me.Active()
Me.TopMost = False
Its works for me but once my form come in front, no other application can appear on top untill the my form is selected manually. Although I tried Me.Select() and Me.Focus() after above mentioned set of instructions but failed.
Can anybody help to get the solution for this problem
Thanks in Advance