Monthly Archives: April 2012

How to insert picture into Crystal Report

Right click on the Crystal Report page, select Insert then Picture…. Do not use gif.     You can also download a single solution from http://skydrive.live.com. The sample file name is CrystalReportsApplication1.rar. My MSN ID is chanmmn@hotmail.com.

Posted in .Net | Tagged | 1 Comment

Replace the data in Metro Style Grid Application

1. Start VS 11 2. Choose File -> New -> Project… 3. Choose Windows Metro Style then select Grid Application.   4. Copy a new png file to the Assets folder (my one is piano.png). 5. Open SampleDataSource.cs under the … Continue reading

Posted in .Net | Tagged , , | 1 Comment

Creating a Movie Database Application in 15 minutes with ASP.NET MVC

I could not remember where I downloaded the sample code for the video “Creating a Movie Database Application in 15 minutes with ASP.NET MVC”. The one that I have downloaded is without delete functionality. I have added the View (Delete) … Continue reading

Posted in .Net | Tagged , , , | 2 Comments

How to see the VHD content without start virtual machine

Normally we will start the virtual machine in order to see the file contents in vhd image created by using Windows virtual machine and Virtual PC. In order to view the file contents without running virtual machine. 1. Go to … Continue reading

Posted in .Net | Tagged | 2 Comments

How to add foreign key to entities model

Manually add foreign key to entities model   There are times when the developer might just want to add a foreign key to entity model directly without regenerate everything from database. In order to do that follow the steps below. … Continue reading

Posted in .Net | Tagged , , , | Leave a comment

How to create meeting request using C#

You can find many articles outside about sending appointment using C#. Somehow, the article Setting up an MS Outlook Appointment C# is working well. There is no code download for this article. Go to my skydrive and download there if … Continue reading

Posted in .Net | Tagged , , | Leave a comment

Cannot get ObjectCollection class in Windows Phone 7

In the articleCreate simple bar chart in Silverlight 5 you found we used ObjectCollection class to bind the data to chart like the snippet code below.   publicstatic ObjectCollection PugetSound {   get   {     Object pugetSound = newObject(); … Continue reading

Posted in .Net | Tagged , , , | Leave a comment