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… …
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
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?
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 …
Windows 2003: problem with running exe files
Today I couldn’t install some tool on Windows 2003 SE despite being assigned to the Admisnitrators group. Whenever I tried I get the following message:
Windows cannot access the specified device, path, or file. You may not have the appropraiate permissions to access the item.
If you face such problem, first of all check what permissions you have. To do …
SELECT + JOIN
I learned SQL (basic and quite advanced stuff) at the univerity a few years ago. I’ve been using SQL commands quite often; it’s difficult to imagine an application or a web page without a database in the back-end.
Recently, I’ve discovered I remember little about using JOIN command in SELECTs. There are a few types of JOINs; however, I’ve been …