Jump to content

Tray icon


GeCe

Recommended Posts

Hello, I'm using CCleaner /AUTO with my small application (c#). But I have a problem. When CCleaner starts cleaning, CC's tray icon is appearing in the tray (SS attached). And It deselects the active window.

 

So, How can I disable this tray icon? "Advanced menu option" is not working for my problem.

 

Thank you for your time.

post-66610-0-06903300-1371197375_thumb.jpg

Link to comment
Share on other sites

  • Moderators

So, How can I disable this tray icon?

 

There currently isn't a way to disable it. What you want could be considered a feature request/suggestion so there'd be the ability to enable/disable the tray icon.

Link to comment
Share on other sites

  • Moderators

this sentence is throwing me off (and obviously @Alan_B too)

Hello, I'm using CCleaner /AUTO with my small application (c#)

could you maybe explain?

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

He means he's written a small application in C# (a .NET based programming language) and is programatically calling "CCleaner.exe \AUTO"

 

GeCe; you could try something like this to circumvent the issue you describe.

 

private void StartCCleanerSilent() {
System.Diagnostics.ProcessStartInfo ccleaner = new System.Diagnostics.ProcessStartInfo();
ccleaner.FileName = ("C:\\ProgramFile\\CCleaner.exe");
ccleaner.Arguments = ("\\AUTO");
ccleaner.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
ccleaner.UseShellExecute = true;
System.Diagnostics.Process.Start(ccleaner);
}

 

My C# is a little rusty; but something along those lines should do the trick.

I'm Shane.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.