Author Archives: CooLMinE

How to display a progressbar in taskbar in C#

You might have noticed that programs display a progress bar in the taskbar a lot of times. This allows users to see the progression of the task even if the application is minimized by simply looking at the taskbar. Today I will be showing you a way to achieve that functionality so you can use it in your projects.

Taskbar progress bar

First you will need to download Windows API Code Pack for Microsoft .NET Framework. Extract the contents of the file and search for Microsoft.WindowsAPICodePack.Shell.dll which is located under the binaries folder.

Add Microsoft.WindowsAPICodePack.Shell.dll as a reference to your project. This will allow you to use the namespaces which are required in order to display the progress bar.

The code below is an example on how you can implement the feature.

How to make Firefox ask to save tabs on exit

Sadly the newer versions of Firefox no longer ask you if you want to save the open tabs when you close Firefox. This is probably because of the new feature that has been implemented in the general options which allows Firefox to always remember the open tabs and windows upon closing.

Firefox save windows and tabs option

But what happens if you don’t always want to save the open tabs ?

To get back the original functionality of Firefox, that used to show a message on exit asking if we want to save the open tabs or not we need to dig a bit in Firefox’s configuration settings.

  1. Type about:config in your address bar and press enter.
  2. There are three entries we are interested in (four if you are using Firefox 12 or higher).
    • browser.tabs.warnOnClose
    • browser.warnOnQuit
    • browser.warnOnRestart
    • browser.showQuitWarning (for Firefox 12 and higher)

    Search for each one individually and make sure that their value is set to true.

  3. Restart Firefox.

Now everytime you will close Firefox (assuming you have tabs open) you will get a message asking you if you want to save the current tabs or not.

Firefox save tabs message

Disable grey urls in Firefox’s address bar

Firefox 6 and higher support a new feature that will automatically color the domain name and the top level domain black, greying out the rest of the URL.

Since this feature is enabled by default in the latest versions you might want to disable it if you don’t like the way Firefox is displaying the URL in the address bar. If that is the case simply follow the steps below.

browser.urlbar.formatting.enabled (true)
Firefox url formatting color setting enabled

browser.urlbar.formatting.enabled (false)
Firefox url formatting color setting disabled

How to disable Firefox’s url formatting.

  1. Type about:config in your address bar and press enter.
  2. Search for browser.urlbar.formatting.enabled.
  3. Make sure the value is set to false.

The URL in the address bar should now be colored in black only.

Disable recently closed tabs and recently closed windows in Firefox

Firefox’s recently closed tabs and recently closed windows are not controlled by the history settings. Which means even if you have history disabled the last windows and tabs you closed will still be there.

If you are worried about your privacy and you don’t want others to able to find out the last websites you visited then an addition solution to disabling the history is to disable the recently closed tabs and recently closed windows as well.

In order to do that you will need to following the steps below:

  1. Type about:config in your address bar and press enter.
  2. Search for browser.sessionstore.max_windows_undo and browser.sessionstore.max_tabs_undo.
  3. Change the value to the number of max entries you want Firefox to remember. Use 0 to disable them completely.

And as always, if you are making changes to Firefox’s configuration, it is always wise to restart Firefox once the changes have been made.

Winamp’s era is coming to an end

After 15 years of active development the company behind Winamp announced that they are shutting down winamp.com and all the associate web services they provide. No official reason for the shut down was given as of yet.

The shut down will happen on the December 20, 2013 and from that point on users will not be able to download Winamp from the official site or use any other services that were associated with it. With these sad news Nullsoft released a final version of Winamp (Winamp 5.66) which will be available on their site till the 20th of December.

Farewell Winamp, you will be missed.

Winamp 5.66