Computing.Net > Forums > Programming > Closing systray applications

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Closing systray applications

Reply to Message Icon

Name: Sebastian42
Date: September 28, 2007 at 18:11:58 Pacific
OS: WinMe
CPU/Ram: PIII/256Mb
Product: generic
Comment:

There are times when I want to remove SEVERAL items from the Systray/Notification Area - after all they DO use RAM.
I can right-click on each individually and select 'exit', but if I knew 'the code' for accessing those items, I could write a batch file to close them all 'in one go'. Can anyone help with this ?

Basty



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: September 28, 2007 at 21:18:33 Pacific
Reply:

It'd be better if you stopped them from opening in the first place. But if you want to take the lazy way out, search for pskill.


0

Response Number 2
Name: Sebastian42
Date: September 29, 2007 at 00:07:54 Pacific
Reply:

Razor2.3
I will follow up pskil (if I can) - thank you.

There seems to be a misunderstanding - I WANT those applications to run - but then there is also a time when I want the Systray free of them.

Basty


0

Response Number 3
Name: Sebastian42
Date: October 1, 2007 at 21:59:30 Pacific
Reply:

Razor2.3
Your reply prompted me to a PC-SEARCH for 'kill' - in vain - but for 'end' it yielded 'endprocess.exe' in C:\windows\options.cabs A search on the NET for 'endprocess.exe' gave me info on usage and parameters, so I was able to create a batchfile to close unwanted items from the systray with lines such as 'C:\EndProcess Ymsgr_tray' to get rid of Yahoo! Messenger.
I failed to find the right script for closing Sygate (firewal) - it does not have an entry in Task Manager. Using the entry shown in MSConfig's StartUp tab (Smc.exe -startgui) is unsuitable. Any suggestions ? [I value Sygate because,
although it has been discontinued, its traffic log will identify (mysterious ?) processes occuring on-line - I don't know of another free firewall that does that.]

Basty


0

Response Number 4
Name: Sebastian42
Date: October 2, 2007 at 05:43:17 Pacific
Reply:

When I wrote yesterday that the batchfile to remove items from the systray worked, I wrote that after trying it without going on-line. But once I had been on-line, it did NOT work - any clue why that might be ?

Basty


0

Response Number 5
Name: Razor2.3
Date: October 2, 2007 at 17:24:43 Pacific
Reply:

Your reply prompted me to a PC-SEARCH for 'kill' - in vain - but for 'end' it yielded 'endprocess.exe' in C:\windows\options.cabs
Well, seeing as I told you to search Google for pskill, I'm happy something came of your search. Not exactly the same thing, but I'm not picky. Just as well; I'm not sure how well pskill supports Win9X.

I failed to find the right script for closing Sygate
Wouldn't have a clue; I haven't really supported a business Win9X environment since Win2K, nor a home Win9X environment since WinXP. I'd ask around sites that still support WinME, as well as sites that support Sygate.

once I had been on-line, it did NOT work - any clue why that might be ?
Nope; I don't have experience with endprocess.exe, you have not posted your script, and my Magic 8-Ball of Technical Support only answers yes/no questions.


0

Related Posts

See More



Response Number 6
Name: Sebastian42
Date: October 3, 2007 at 04:28:33 Pacific
Reply:

Razor2.3
Thanks again for your detailed follow up.

Having ensured for simplicity that there is a copy of endprocess.exe on C:\, the following line in my batch file works "C:\EndProcess Vptray" to close Nortons Antivirus.

After a second attempt at running the batch following being on-line, ONLY "C:\EndProcess Ymsgr_tray" failed (to close Yahoo! Messsenger).

I repeat that ALL the lines in the batch files worked repeatedly when I had not gone on-line.

It's been a very interesting exercise, and I 'can live with' the fact that the batch files are less than 100% effective.

"Magic 8-Ball of Technical Support" I suspect you might be in America, which has its own 'English'. What does it mean ?

Basty


0

Response Number 7
Name: Razor2.3
Date: October 3, 2007 at 06:04:42 Pacific
Reply:

Once, I had a Magic 8-Ball, but it sprung a leak. So I duck taped it. On the tape, I wrote "Magic 8-Ball of Tech Support," and conferred to it whenever I had a tech support question I couldn't answer due to the person I was helping not providing and/or unable to provide enough information.

As for YIM, it's probably just blocking the close action. Normally, you can get them to close if you try to kill it two or three times in a row.


0

Response Number 8
Name: Sebastian42
Date: October 4, 2007 at 09:44:38 Pacific
Reply:

There have been some exciting developments !
I've been able to remove Yahoo from the systray by adding the 'pause' command before it, so that THAT procedure doesn't start till I trigger it with a key press - and I delay that till the other applications have finished exiting.

[WinMe's endprocess.exe is absent from, but works in WinXP !]

The following is a comment in a 'dead' thread which I started about using a batch file to launch some applications (the reverse to clearing the systray). I had succeeded with some applications but failed with Sygate - that has been resolved by changing the format that worked for e.g. Nortons Antivirus : "start
C:\Progra~1\Norton~1\vptray.exe" (written WITHOUT inverted commas in the batch file) to :
"C:\Program Files\Sygate\SPF\Smc.exe" -start [where the inverted commas are IN the batch file.]

Basty


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Closing systray applications

Closing an application in VB6 www.computing.net/answers/programming/closing-an-application-in-vb6/7174.html

Close running application www.computing.net/answers/programming/close-running-application/1240.html

Vb.net Form close problem www.computing.net/answers/programming/vbnet-form-close-problem/9089.html