Monday, April 27, 2009

Gmail Configuration

CNAME: mail - 3600 - ghs.google.com.
MX: vinculumventures.com. - 3600 - 1 - aspmx.l.google.com.
MX: vinculumventures.com. - 3600 - 5 - alt1.aspmx.l.google.com.
MX: vinculumventures.com. - 3600 - 5 - alt2.aspmx.l.google.com.
MX: vinculumventures.com. - 3600 - 10 - aspmx2.googlemail.com.
MX: vinculumventures.com. - 3600 - 10 - aspmx3.googlemail.com.

Monday, April 20, 2009

A generic error occurred in GDI+.

When you program in VB.NET/C#, if you encounter into situation such as a GDI error. Chances are it is a permission issue. Do check that you have the required 'write' permission for the ASPNET and USER account. That should solve your problem.

Similarly for flex, if it keeps checking for permission when you are loading images from a folder, chances are it is a permission issue on your server.

To modify permission, Right click on 'permission' inside IIS for the folder.

Saturday, April 18, 2009

Phrases

One chapter in a person life is not going to define the rest of his life.
Countries that out studies us will outperform us tomorrow
The absence of evidence, does not give evidence of absence
You do not marry someone whom you can live with, you marry someone whom you can't live without

Friday, April 17, 2009

Transparency issues with SPRY in Dreamweaver

When we add transparent PNG and use any effects in dream weaver, we may get problems with the transparency. There may be unwanted border color around the area of transparency. To solve that, we can very simply add a border color to it using CSS.

A simple style="background-color:#FFFFFF" will fix the problem.

Centering DIV

Centering a DIV using CSS

#content { width: 700px ; margin-left: auto ; margin-right: auto ;}

But how do you center a DIV in the center within a DIV? Say I have two absolute div and one is within the other. Both has got position set to absolute. We can do this:
<div style="width:900px;position:absolute;margin-left:-450pxtop:50px;left:50%;">

position:absolute will set the position to absolute
left:50% will set the child div to be drawn in the center
margin-left:450px will dictate that the drawn child be drawn to left by 450

Tuesday, April 14, 2009

Convertible Top Care

I was researching on convertible top car care kits recently and found two products. Mainly 303 and RaggTop. RaggTop is the premium version of 303 (as it appears by pricing). The last thing I want to do is to spoil my convertible's roof and hence I went ahead to buy the RaggTop kit from Amazon.

But before you buy any convertible car care kits, do make sure you check out if your convertible's roof is fabric or vinyl. It is different! Google about your car top material online. At least I am certain that my Z4 is Fabric :)

RAGGTOPP Convertible Top Care Kit - Fabric

PHP Debug Using TextFiles

The best way to debug PHP application is using textfiles.

$fp=fopen("temp.txt",'a');
fwrite($fp, $sqlCmd . "\n\n");
fclose($fp); // close file