Link to home
Start Free TrialLog in
Avatar of Linky
Linky

asked on

VB Help - Controlling the Task Bar

In Windows there is a task bar the shows the programs you have running. I want to design a program that automatically kills the 3rd program on the task bar. Just close it, its gone. So only 2 programs can be running at once. This is getting to destroying popup adds that appear down there. Is there any way I can do this? Code would help.
ASKER CERTIFIED SOLUTION
Avatar of Monchanger
Monchanger
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DanRollins
Hi Linky,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

Linky, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
Obviously, I have an objection.

As asked, relevant code was given. No response from the asker saying "no, that's not good" suggests that the answer was acceptable.
I also don't see why the asker deserves a reward for abandoning the question.

Moderator - I won't pursue this. Do what you think is right.

Monchanger
Monchanger,
Thanks for the input.  When I tried your first link, it came up broken -- but it was because I had scripting turned off.  Sorry.  I also thought that the correct answer would involve using the ITaskbarList interface.  That would be the most direct method, but the method described in the link you provided would probably work fine.  

Please note that the fact that the Asker never responded cannot be construed as evidence that the answer was acceptable.  Linky has closed 37 questions so he/she clearly knows the accepted procedure.  Most abandoned questions get that way after receiving no useful comments -- when the Asker feels he has not gotten the help needed, but sees no on-screen option to close the question with that disposition.

I am changing my recommendation to:

   Accept Monchanger's comment as an answer.

==========
DanRollins -- EE database cleanup volunteer
Avatar of SpideyMod
SpideyMod

per recommendation

SpideyMod
Community Support Moderator @Experts Exchange