Showing posts from 2008

ZooM In - Send Photos to India from US

I recently used service from ZooM In for sending my pictures to my family in India. Everyone liked it. Check out there promotion.

Eid Ul Fitr 2008 My Pictures

Here are some of my pictures taken on Eid ul Fitr on Sept 30 2008. Yeah, thats right, its a Thobe / DishDasha and I hope you love it ;-).

And Finally, one from my office. Yeap, you guessed it right, I am an Arsenal Fan.


My pictures...From LA, NY, Home and Misc


Windows XP Utilities - Dual Monitor, Dual Taskbar, ClearType font.

If you like to be power user, then you will love these free utilities for Windows XP.

The cleartype font utility makes the appearance of text crisp on your monitor. It can be downloaded for free from microsoft here

There is a another free utility which allows you to have 2 taskbar in Windows XP. The link for download is here

I am very happy with the use cleartype font utility. It changes the appearance of text 200%. No kidding about that.

You could also have 2 different wallpapers on the monitors with this utility . I have not tried this one, just to let you know ;-).

Good Luck.

Moving Bookmarks only --- backup of bookmarks in Firefox

In Windows XP, Firefox profile folder is located at "%APPDATA%\Mozilla\". Firefox saves backup copy of your bookmarks in the "%APPDATA%\Mozilla\Firefox\Profiles\sometext.default\bookmarkbackups" folder. So all you have to do is in your new FF instance, go to the profiles\sometext.default folder, and replace the old bookmarks.html file with the one you are copying over.

Thats all to it. Within a minute you can have your bookmarks in the new FF instance. This is the manual way of doing it. FF has import wizard which will do the same for you. I found this method since I was working on 2 machines and I just wanted to take bookmarks on new machine without any extensions.


Making text bold in Adobe Acrobat

If you want to make a text bold in Adobe Acrobat, you will have to

1. first select Advanced Editing Toolbar.

2. In advanced edit toolbar, select TouchUp Text tool.

3. Then select the text you want to make bold, right click, and select properties.

4. Under Text tab, you will find Font option.

5. Select Font option and you will see Bold option for the font that is being used. For example, if selected text is font type Verdana, then under Fonts option, you should see a Verdana Bold option. If you do not see respective Bold Font, then you would have to pick a font that supports Bold Option.

I know, its unlike Word but atleast we know the way now how to do make text bold in Adobe Acrobat.

Dreamweaver 8 Export Import Multiple Site Definitions in less than 5 minutes.

Exporting or Importing Site Definitions in Dreamweaver is important if you have a lot of sites and if you want to setup new environment. This tutorial will help you get it done in less than 5 minutes.

Open Dreamweaver, Go to Site Menu, Select Manage Sites option. You will see the list of sites you have configured in your DreamWeaver editor. Select the site which you want to export the site definition of, and select the button Export from list of options. It will ask you to save the site definition as a nameoffile.ste file. Save it at a convenient location.

For importing, do the same steps as above, except that you will select IMPORT button instead of export button. Select the location of *.ste file and you will have site definition setup in your new environment.

Tips & Tricks : Lot of people want multiple sites to be imported and the trick for this is that when you are exporting, hold the CNTL key and select all the sitesyou want or need in new environment. Hit export button and Drea…

My first video on youtube about fifa 07 ps2 soccer goals online

Here is a link to my video, fifa 07 ps2 soccer goals online on

If you are in some restricted region like dubai UAE, the link will say, video no longer exists. In that case, please try any of these 3 links below. The fix to this issue is to append &fmt=6 or &fmt=16 or &fmt=18 to the youtube url




USA Region below


Decimal datatype in sql server 2000

The decimal data type in sql server 2000 has precision and scale.

The precision defines how many length of chars that can exist from left to right including the the numbers after the decimal point.

For example col1 decimal(3,2) can contain total of 3 numbers. 9.20 is valid whereas 99.2 is invalid because sql server will add a zero at end to make it 99.20 and that invalidates the rule of precision 3.

try this

drop table testDec2

create table testDec2(col1 decimal(8,2))

insert into testDec2 values (999996.9999999)
--number on left is of len 6 and even thogh we have 7 digits after decimal point, sql -- will truncate the number to insert 999997.00 . Notice the rounding.

-- if you try to insert 999999.99 it wont work because of rounding. The number will
-- be 1000000.00 i.e. total of 9 chars.

select * from testDec2

give it a try. ;-)

Outlook appearance like Gmail Conversation style

Found this great tutorial to mimic the gmail conversation style threading of conversation / emails in one single thread.

Right click on From, or Subject and select Field Chooser. Select Conversation and drag it to any place where From, Subject etc appear. Conversation will appear along From, Subject wherever you have placed it. Right Click Conversation and select Group by this field.

Thats it. You are done. I got a message saying cant group by Date and conversation. so I sorted my mail by sender and then clicked on conversation. It worked for me. Make sure you arrange mail in such a way that the new email is listed on top.


Translators not loaded --- Translators error in Dreamweaver for coldfusion.htm

I use Dreamweaver 8 on Windows XP and recently started to get this error message for no reason. It just started one day.

the following translators were not loaded due to errors coldfusion.htm has configuration information that is invalid.

This could also happen for
XSLT.htm has configuration information that is invalid,
ASP.htm: has configuration information that is invalid.
ASP.NET.htm: has configuration information that is invalid.
and so on.

The solution to this problem is to delete FileCache_X.dat files from the Dreamweaver user configuration folder, where X is a random number and it could be different for your system. See below

Dreamweaver 8 on Windows XP:
C:\Documents and Settings\[username]\Application Data\Macromedia\Dreamweaver 8\Configuration

All the best. I was able to successfully solve this problem

CFSchedule task - how to schedule a job in ColdFusion 7

This article will show how to schedule an automated job in ColdFusion 7 using CF administrator.

Login to CF 7 Administrator and from left hand side, under Debugging & Logging, select Scheduled Tasks Option. Select create new.

Under task name enter a task name, start date enter the date from which you want to start scheduled task, you could set daily or monthly depending on your preference and make sure specify time, in my case i entered 9:00 AM, under URL I entered my url like this,
http://myipaddress/MonthlyReport - DontDelete/R_monthlyreport.cfm where
MonthlyReport - DontDelete is a folder to make sure our report runs without any authentication that is usually specified in Root/Application.cfm. Instead of IPAddress, you could enter a url to a site as well but make sure you have right permissions.

Finally, you could do save output to file and make sure specify the path to output file like this C:\Inetpub\wwwroot\clientname\MonthlyReport - Dont Delete\RepOut.htm

Thats all, and you …

Coldfusion 7 - Accessing images from a network share

So this morning I had an issue where in images were not being displayed. The images are stored on network share on a different machine.

I used this code to make it work, thanks to the help provided by members.

welcome to the test page.....
<cfset theFile = "\\servername\sharename\CF_Chart_Share\test.jpg">

<cfif fileExists(theFile)>

File exists

<cfelse> does not exist


<br><cfoutput>#theFile#</cfoutput> <br>

<!--- we have code in img2.cfm that will get us the image -->
<br><img src="img2.cfm">

The file img2.cfm has the code below

<cfcontent type="image/GIF" file="\\servername\sharename\CF_Chart_Share\test.jpg">

I tried adding the code cfcontent in the same page but that was causing only the image to be displayed i.e. no text was being displayed.

Hope it helps someone.


Webex file extension .wrf will not open or rendered by IIS web server

We recently moved our web application to new server and we noticed that the webex files with extension .wrf was not being shown to user or was not being rendered by IIS. So on doing further research, I came to know that we needed to set a MIME type for the wrf extension. The .wrf extension needs to be set to application/octet-stream.

Go to IIS settings, select the website or the web root folder and right click and select properties. Click on HTTP Headers tab and the bottom click on MIME Types button. Click new button and add .wrf in extension and application/octet-stream in MIME Type text box. Click OK and Apply at next screen and you should be done.

After I clicked OK and Apply, the screen Inheritance override was shown. I said cancel to all. Here is some info from IIS help.
If you set or change a MIME type that conflicts with a setting at another node in the hierarchy, you are prompted with an Inheritance Override dialog box where you can specify the nodes to which the new setting ap…

Redirect using Coldfusion or Redirect using IIS

I have a client who has url say They want a new url so that when user enters, the user should see in his address bar of browser. Basically an alias/redirection with address bar showing the new url. I could have done redirection by dns names/url redirection at website level but problem is I have a subfolder application i.e.

Now if I do dns/url redirection, and user tries to access subfolder application with this url,, it takes the user automatically to i.e. the main application without the subfolder application, and I dont want that. It should take user to

So to avoid this redirection at the website level, I added this code in Application.cfm

<!-- Relocate if not a secure connection -->
<cfif cgi.SERVER_PORT is "80" and CGI.SERVER_PORT_SECURE is "0">

<!---replace xyz with abc --->
<cfset x = "…

CSS - Form Layout without using tables

Coldfusion CFSELECT Validation Fails

Most of us have issues with Coldfusion CFSELECT Validation i.e. form submits even though he didnt select an entry from drop down list and you have validation in CFSELECT . Here is the solution to this issue.

1. The validation works only if you have size attribute of cfselect set to a value greater than 1.

Here is my code that works

<cfselect name="sec_question" required="yes" message="You must select a security question to reset your password." size="2">

<option value="1">What is your mother's maiden name?
<option value="2">In what city were you born?
<option value="3">What is the title of your favorite book?
<option value="4">What is your favorite pet's name?


2. Here are some observations

a. I didnt require selected="" attribute inside cfselect

b. I didnt require Please select a value i.e. with a space or without space(either way, I tried and it didn…

Nice blog post - how to get things done.

Nice Interview - Mark Taylor on Cricinfo - Part 1 and Part 2

My Barcelona Jersey


Pictures Real Madrid Jersey Plus New Kurta


NBA 2008 Conference Standings

The 2008 NBA conference Standings.