Blog

Welcome to our blog!

Reporting Services – “Your browser does not support scripts or has been configured not to allow scripts.”

When I run a report in the Report Manager using Internet Explorer (I had this issue on IE7) I got the following error:

Your browser does not support scripts or has been configured not to allow scripts.

Solution

Should you get it as well follow the instruction below:

  • go to (from its menu) Tools/Internet Options
  • go to Security tab
  • select

Java: == might work the same as equals()

It’s a rule that == is used to compare references, not values. To compare values for equality equals() method should be used.
However, as of Java 5, you can also use == to check if two objects’ values are the same… But it works only for the following wrapper objects, if their primitive counterparts’ values are the same:

  • Boolean
  • Byte

Gmail as POP3 client

I’ve been using Google for ages, it was mostly the Google Search though… I’ve been using external software for mail management, having unorganized RSS, e.g. Untill August…

Then I started working for Kainos. The Systems folks announced it was impossible to use external software for private mail – security, viruses, POP3 blocked, bla bla blah… I thought, could be better… …

C++, MFC

MFC: CButton and how ON_BN_DOUBLECLICKED message map works

Microsoft Foundation Classes (MFC) library provides CButton which, according to MSDN, can be used for creating a check box, a radio button, and a pushbutton.

There are two events CButton supports: (i) ON_BN_CLICKED (single click), (ii) ON_BN_DOUBLECLICKED (double click). Let’s assume you provide a meaningful implementation for a single click and do nothing in the event handler for the double …

Formatting output

Usually to print some ouptut you’d use System.out.printl() or System.out.println() method. It’s easy to use but you can face some difficulties in providing output formatted in a specific way.

To format output you can use either of the following methods (they work the same)

  • System.out.format(String format, Object... args)
  • System.out.format(Locale l, String format, Object... args)
  • System.out.printf(String format, Object... args)
  • System.out.printf(Locale l,

Reporting Services – blank Report Manager screen

I believe Reporting Services are very powerful tool for report generation. Unfortunately the installation process can be time consuming as you might face some problems with the cofiguration… Of course such problems can be the reason of unsufficient knowledge in SQL Server configuration and management, etc.

Anyway, blank Report Manager screen can be one of the problems, which displays as …

GlassFish Training Offer

For a long time I haven’t written a word here… The main reason is I was moved to a new project and am so busy I simply don’t have time to describe solutions to problems I’ve been facing. This project is again not Java based – .Net.

To be honest, I haven’t written anything serious in Java for almost a …

AddThis on IE – Object doesn't support this property or method

29612v1-max-250x250

AddThis is a great service – it allows robust integration with online services, e.g. Facebook, Twitter, LinkedIn, del.icio.us. What you need to do is to get your button’s code on AddThis homepage and use it in your project. Additionally you can configure the widget; you can refer to AddThis API, where you can find needed information and examples.

I created …

How to motivate oneself to take short breaks at work?

workrave1-8-5customsettings_xfce4therapy

If you are reading this post or my blog in general, you probably are a software enginner, programmer, designer – a person who spends considerable amount of time at their desk, similar to me.

I work like that full time so 8 hours a day but there are days when I need to stay longer – 10 hours or even …

The feature name XXX already exists in SharePoint. You need to rename the feature before solution deployment can succeed.

From time to time when I try to deploy a SharePoint project from Visual Studio 2005 I’m getting this error:

The feature name XXX* already exists in SharePoint. You need to rename the feature before solution deployment can succeed.

Solution
Whenever I get this (annoying) error I go to C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12TEMPLATEFEATURES and remove the directory named …