Friday, June 29, 2007

Google Search Trick

This is a pretty simple search trick that makes it very easy and efficient to search for files that are often more difficult to find.


Cool Google Search Trick - Watch more free videos

Friday, June 15, 2007

How To Milk A Horse

I can't comment anything to this....Just watch and laugh!!!
And!
Please Don't Try This At Home !!!!

Monday, June 11, 2007

Syntax error: Missing operand before 'Like' operator

I am currently developing a 2 way SMS interface (Demo version) FYI, I am doing pre-sales IT as well. #@%#^$&%&%^&
Basically I have developed the architecture and out of my surprise it doesn't give me much problem.
But I will keep posting some minor bugs of my program and will try my best to solve it.

This is the code I am "trying" to execute which is trying to filter a Binding Source using a ComboBox Value:

bsReceiveSMS.Filter = "Like Message = '" + cbDepartmentCode.Text + "%'";
Error received : Syntax error: Missing operand before 'Like' operator
-----------------------------------------------------------------------------------------
Solution:
//Code
string filter = String.Format("{0} LIKE '{1}%'", "Message", cbDepartmentCode.Text);
bsReceiveSMS.Filter = filter;
-------------------------------------------------------------------------------------------

Friday, June 08, 2007

Bug buster blog!!

I am going to transfer my blog to a so call Bug buster blog!
Frustrated to see lots of bug in my program, popping out every where in every minutes or even seconds...
The first stupid bug is
"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints."

Well, basically this error message tell you NOTHING...one of the useless error message by Visual Studio 2005....
Okie, after I google this error message and found this useful LINK
So by putting this below function into the try and catch function:
-------------------------------------------------------------------------------------------------------------------------------------
[C#] 
private void PrintAllErrs(DataSet myDataSet){
DataRow[] rowsInError;

foreach(DataTable myTable in myDataSet.Tables){
// Test if the table has errors. If not, skip it.
if(myTable.HasErrors){
// Get an array of all rows with errors.
rowsInError = myTable.GetErrors();
// Print the error of each column in each row.
for(int i = 0; i <>
foreach(DataColumn myCol in myTable.Columns){
Console.WriteLine(myCol.ColumnName + " " +
rowsInError[i].GetColumnError(myCol));
}
// Clear the row errors
rowsInError[i].ClearErrors();
}
}
}
}

-------------------------------------------------------------------------------------------------------------------------------------
It tell you what's went wrong, rather then give you an useless error message



Saturday, November 25, 2006

mvdoulos ship & VIVO city TRIP

TGIF(thank god is friday) Happy face

On the 16th of November, yeah, is Friday..I received a call from Benley..below is our conversation..

Allan: Hello
Benley: Hei, wanna go to Harbor Front visit a ship?
Allan: What ship??
Benley: Ship what full with bookssssssss..
Allan: What kind of bookssssssss........
Benley: Alot leh, and it's very cheap....
Allan: Got PlayBoy??? and what's the price?
B***** (masked because dont want to let her gf know): I think got la, I plan to buy some also...
Allan: Okie..On..see you in 5 minutes time.

So, right after I arrived..wow Harbor Front is really a great place, its have a great view..very suitable for rendezvous..Hahhaha..
Okie less word more pictures

nice view at Harbor Front

shopping complex and restaurant


A short description of the ship: Doulos is
a private, non-profit, charitable organization registered in Germany. Basically, this ship sell books to cover up their expenses....but how the heck they going to cover by just selling book, if they really can cover then how are they going to do charity??? more information about the ship

A big ship with boobsss (books)



ship with their website address



Double A in action, handsome and stylish

Benley and Nicole...Benley must be thinking "shit, how the heck i going to buy my books if she beside me"

Legendary 50's Pose

A tall snowman

Snowman and I

A special tree at the street....We called it a "Bai Hua Shu" (Hundred Flower Tree)

Self-claim fitness guy is trying to lift the tree...ohh, he must be too tension at work so we didn't stop and trying to cooperate with him..Clap, clap..

Benley:"Best in Singapore, and JB..Some said Kluang"

F***, what am I doing!!! Unpredictable

Solid Man to Man in front of VIVO city

VIVO city-- biggest in Singapore

Best moment: when the water is at its climax..(Obviously its not at its' climax, so re-take)

Again..but failed......

This time changed another photographer...ohhh yeah.......succeed..
Just don't blame on me, blame on them no fate........


Inside VIVO...Christmas decoration is already embellished

007 car

Benley: "Daniel Craig cannot fight with me la...find me act 007 better la..Obviously, I am more sexy than him..."
Allan: "Ohhh...yeah, certainly you are more sexy" (God, forgive me for telling a century lie)

Incipiently I thought I really can get some PlayBoy book from Doulos, but of course I can't. This ship is selling a lot of "knowledge book". Erudition people like me, of course will buy some book to parade that I am an erudition's people. Ended up I bought a cooking book that cost me $20.
Next post: Christmas around the corner

Sunday, November 12, 2006

Google Checkout


Lol, Google launched Google Checkout earlier this year... Within 3 years time Google has grow a lot from 2003 to now, their total equity growth from 2,929.06 millions to 14,397.09 millions USD.

Google Checkout certainly is a killer to PayPal and few others online payment transactions company. I have read some comments from the web, and found out that currently Google Checkout is far more better than others. Recently Google Checkout also offer 2 attractive new features Coupon Creator and Email Invoices. That's a killing point to other companies.

Click here for Coupon Creator info
Click here for Email Invoices info

Another main point for consuming Google Checkout is their intelligent customer service which able to solve problems quickly.


Thursday, November 09, 2006

Mario in Vice City....

Today it's now a good day to work (everyday also not a good day to work)...Is pretty irritating when you have to keep repeating your tasks daily.

It's a hard thing to let our clock tick faster, especially in office..Can't imagine that I have to sit 9-10 hours in da office....9-10 hours for some stupid green papers that we need to own in order to survive!

Cheer up with the video below....
When Mario and Luigi take a wrong turn to Vice City (Grand Theft Auto's City)..where crime, whore, drug and blood happen everywhere....Enjoy it.