![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Application Bring to front I have a problem in that when my application loads it shows behing other windows with folder listings. We have tried frm.bringtofront but this only brings the current form to the front of other forms in that application - not other windows screens. For example - I have a folder showing the list of filenames on screen. I click the executable and this loads behind the folder listing - not in front as it should. Please can anyone advise I am using VBNet2005 |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Application Bring to front ngrTerry wrote: Quote: > I have a problem in that when my application loads it shows behing > other windows with folder listings. > > We have tried frm.bringtofront but this only brings the current form > to the front of other forms in that application - not other windows > screens. > > For example - I have a folder showing the list of filenames on screen. > I click the executable and this loads behind the folder listing - not > in front as it should. > > Please can anyone advise > > I am using VBNet2005 -- Mike |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Application Bring to front > > I am using VBNet2005 Quote: > > Form.Activate() should do it. > > -- > Mike It works sometimes, but then on others it remains behind the directory listing even if we get a timer to kickin and raise the event. It only appears to happen when we run the program on the server (SBS2003), when we run from an ordinary PC we have no problems. |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Application Bring to front I've done this (reluctantly) by Setting Form.TopMost to true and then making sure that any event on that form (Mousemove, click whatever) sets it false so it isn't stuck in the user's face when it's supposed to go behind. Keep in mind foreground activation permission is like love..... http://blogs.msdn.com/oldnewthing/ar...0/9435239.aspx -- Phil Wilson The Definitive Guide to Windows Installer http://www.apress.com/book/view/1590592972 "ngrTerry" <ngr@newsgroup> wrote in message news:63ff20f9-53ea-4614-8f8f-db0e2988ed46@newsgroup Quote: >I have a problem in that when my application loads it shows behing > other windows with folder listings. > > We have tried frm.bringtofront but this only brings the current form > to the front of other forms in that application - not other windows > screens. > > For example - I have a folder showing the list of filenames on screen. > I click the executable and this loads behind the folder listing - not > in front as it should. > > Please can anyone advise > > I am using VBNet2005 |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Application Bring to front What happens when you set the form to minimize and then restore it to its original state right after. Does that pop it to front? "ngrTerry" <ngr@newsgroup> wrote in message news:63ff20f9-53ea-4614-8f8f-db0e2988ed46@newsgroup Quote: >I have a problem in that when my application loads it shows behing > other windows with folder listings. > > We have tried frm.bringtofront but this only brings the current form > to the front of other forms in that application - not other windows > screens. > > For example - I have a folder showing the list of filenames on screen. > I click the executable and this loads behind the folder listing - not > in front as it should. > > Please can anyone advise > > I am using VBNet2005 |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| front end question | PowerShell | |||
| To bring to front existing process... | VB Script | |||
| FSB (Front Side Bus) | Vista performance & maintenance | |||
| appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY | Vista General | |||
| Bring back ME! | Vista General | |||