Process handling (help me please)

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts Page 1 of 1
Contributors
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

I need help i want to maxmize and minmize processes via a seder tag


basically i tried this

sender.tag.bringtofront but well it didnt work
haha and i need to figure it out but no ideas on
how i can do it

example of what i mean is if notepad is runing then
then i press a button and it will bring it to the top and then
if it allread top most it will send it to the background

any ideas then people
User avatar
noypikami
VIP - Donator
VIP - Donator
Posts: 151
Joined: Sat Dec 22, 2012 1:49 am

===set the form always on top of any other opened window========

me.TopMost = True

====send the form on back of the current opened window=========
me.SendToBack()
User avatar
noypikami
VIP - Donator
VIP - Donator
Posts: 151
Joined: Sat Dec 22, 2012 1:49 am

===set the form always on top of any other opened window========

me.TopMost = True

====send the form on back of the current opened window=========
me.SendToBack()
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

that would be okay if i built the form but i need to to work for all process not just mine so like if skype is runing my program adds a button to a bar and i want to make it so if they click that button the program it reprsents is brought to front
User avatar
Smiley
VIP - Donator
VIP - Donator
Posts: 269
Joined: Sat Dec 19, 2009 3:39 pm

I found a discussion about bringing a process to front i tested the code and it worked but i'm having trouble making it send to back.

http://www.pcreview.co.uk/forums/bring- ... 17589.html

the code that worked for me was in the 5th post
5 posts Page 1 of 1
Return to “Coding Help & Support”