1 Replies - 141 Views - Last Post: 19 July 2012 - 09:11 AM Rate Topic: -----

#1 Criel  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 100
  • Joined: 11-March 11

Focus other forms

Posted 19 July 2012 - 08:46 AM

Hello,

I'm currently trying to find a way to focus another form which is launched from another solution. Is there a way to search for all forms open at one time and focus it that way? Currently, if the window I need to focus is open and the user currently tries to close the program, the program will notify the user to close that window. I would like to focus that single form to help the user out. Is there a way to focus that form without having to reference the dll of the other solution into this one?

Is This A Good Question/Topic? 0
  • +

Replies To: Focus other forms

#2 rgfirefly24  Icon User is online

  • D.I.C Lover
  • member icon


Reputation: 233
  • View blog
  • Posts: 1,310
  • Joined: 07-April 08

Re: Focus other forms

Posted 19 July 2012 - 09:11 AM

you can check for currently running process' to see if the window that you are looking for is apart of them. you would do that by using the Process Class taking advantage of the GetProcessesByName(String) method
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1