Tuesday, October 7, 2008

Displaying row number in mysql

Try the following piece of code -
SELECT @rownum:=@rownum+1 AS "Count", m.* FROM member AS m, (SELECT @rownum:=0) AS temp ORDER BY firstname DESC

Obviously, choose the second table ('member' in my example) appropriately

Saturday, September 13, 2008

nokia pc suite not compatible with map upload

It seems that the latest version of the Nokia N-Series PC Suite and the latest Nokia map loader have compatibility issues.

If you have faced this problem with your n-series PC suite, then here's what you need to do -
1. scrap your n-series pc-suite.
2. download and install the generic Nokia PC-Suite 7.0
3. Download and install the latest version of the Nokia Map Uploader

You will now be able to upload maps to your n-series phone

Friday, September 12, 2008

Network ID disabled

If any of the following is true -
1. network ID button is disabled in 'computer name' section
2. you cannot change your workgroup

Then you need to install the 'Client for Microsoft Networks' on your LAN/Wifi.

1. Go to Network Connections
2. Right click on your LAN/Wifi, and then Properties
3. If 'Client for Microsoft Networks' is un-checked, then check it.
4. If it is not there at all, then Install the client
5. Restart, and you should be good to go :-)

Wednesday, May 7, 2008

Cannot compose or write email in Outlook Web Access on Vista

check out these links -

fix for exchange server:
http://www.mydigitallife.info/2006/12/09/cannot-compose-or-reply-to-messages-and-other-errors-in-outlook-web-access-in-windows-vista/

fix for IE7:
http://mustech.net/2007/02/20/windows-vista-webmail-owa-fix-for-internet-explorer-7-five-step-fix

The IE7 fix worked just fine for me. Haven't tried the exchange server fix, since it requires to bring down the server.

Friday, August 17, 2007

Microsoft Outlook 2003 - insert signature

My co-worker wants me to switch over to a MAC. Everyday, I spend a few minutes just trying to figure out why my PC (loaded with Microsoft) behave the way it does.

Outlook allows you to create many different signatures. But here's the problem -
If you turn on Word as your default email editor, the 'insert -> signature ->....' option disappears from the menu. It seems that MS Word does not integrate too well with Outlook. To get back that menu option go to: Tool -> Options -> Mail Format , and uncheck the checkbox for 'use MS word to edit email messages'.

Now when you create a new email, click on 'Insert -> Signature' , to add your signature while writing the email.

Tuesday, July 31, 2007

Click to activate and use this content

The IE flash problem. See fixes
--> here 1 <--
--> here 2 <--

Monday, July 23, 2007

AJAX request overlapping

I am sure many people of faced the problem of multiple ajax requests overlapping each other's context. In english - when you placed 2 AJAX requests without any delay between them, the AJAX callback function receives only the data from the second request.

This happens due to caching problems in the browsers.

To avoid this i created a stack implementation in Javascript and used the stack to control my AJAX request. Consequently, the AJAX requests went out sequentially rather than all at once, but it was a trade-off i was willing to pay.