Posts

Showing posts from August, 2007

Canon A70 is broken

Last few years i bought a digital camera cost about RM1450 and now it was broken due to the Canon product quality. The Camera model is A70 which one of the Canon most popular modal during that time and because it is made by Canon, I trust the quality and I decided to buy it. However, after 4 years of using the camera, the camera internal electronics broken unexpectedly. I sent the camera to Canon manufacturer for repairing. The service is good because they send it back to me within 14 days. Later after 1 year of usage the camera broken again and i believe it is the same problem as before. Now, I am quite sceptical about Canon products quality control. Next time i will not buy Canon digital camera product.

C# Programming Lesson 1

I am very passionate to write about tips and some tutorial to guide you to learn programming. And what is the lesson 1? Can anyone write a Hello World program to me in any language?

What is the easiest way to find out the lastest created file in a directory using C#?

I was puzzed few days ago about sorting the lastest created file in the directory. The methods which i thought of were too complicated having to check the file infomation and do some sorting of the files. Later i thought of some simple way and i believe it is very creative method. //Code to save the file string saveImageLocation = @"C:\store"; { string fileName = DateTime.Now.Ticks + new FileInfo(openFileDialog1.FileName).Name; if (!File.Exists(saveImageLocation + fileName )) { File.Copy(openFileDialog1.FileName, saveImageLocation + fileName); } } catch (DirectoryNotFoundException) { Directory.CreateDirectory(saveImageLocation); } //Code to retrive the image file. string saveImageLocation = @"C:\store"; pictureBox2.ImageLocation = Directory.GetFiles(saveImageLocation)[Directory.GetFiles(saveImageLocation).Length - 1]; The main idea is naming the creating file by appending the date to the file name. Since date has it own special character, i would suggest using ticks

Hot Cabrera Chicken Wings

This Cabrera chicken wings are origin from the North Korea. Soon later in 21 century, it had been modernized with it favor to hot and spicy taste. This is the favorite recipe for most Asian and definitely delicious to eat in this coming winter. Ingredians: 10 x small sized chicken wings. 1 x whole Lemon 10 drops x Maggie Seasoning 5 shake x Black paper 2 teaspoons x Chilly powder 1 x whole Garlic 3 x red unions 5 drops x Wine vinegar 4 teaspoons x pure honey 2 teaspoons x Sesame oil Preparation: Wash the chicken with salt water, drain it with cooking paper. Mix lemon juice, chilly powder, blended garlic and union into a bow. Mix well and add wine vinegar with pure honey. Stir completely until a very nice creamy texture. Marinate the wings with the sauce and next refrigerate for 12 hours. This technique is to ensure the sweetly lemon juice and vinegar has completely absorb to the wings. After the 12 hours, add Maggie seasoning and black paper to the wings. Make sure you mix the wings we

Ad Sense today get started.

I was very happy today because i just created an ad sense account for me to get started to earn some extra pocket money. I am planning to create a website titled "Find a rental room" for those who wanted to search for houses or apartment for rental . I think this is a very good idea since I didn't notice any website related to this. I believe this will eventually simplify and save time as alternative finding a agent to look for them. Any comment and idea? Please let me know.

Tropical Swiss Salad

This is a very d elicious salad for hot summer and you will like it. Secret recipe for Tropical Swiss Salad: Main fresh Cucumber x 4 Large Carrot x 2 Large Sa kot x 1 Large Dressing Lemon Wine Vinegar Sugar Mayonnaise Cut the main fruits into small square cube cuttings, mix with lemon & wine vinegar and refrigerate it for 30 minutes. Later add mayonnaise and stir well and balanced. Add 3 teaspoon of sugar into your lovely salad. Chile it for overnight and served for 4-6 persons. You will definitely love it with this summer.