Missing sln from solution explorer in Visual Studio

0

Recently, i had a very interesting problem with my colleague, we were unable to see the sln file in his Visual Studio 2010′s Solution Explorer. He was unable to add another project into the solution. We tried to open and close the solutions and alot different ways….

Missing sln file in Solution Explorer - 1

Missing sln file in Solution Explorer - 1

Apparently, what we have to do is just to go into Tools > Options in Visual Studio and go into Projects and Solutions and select General. There is an option called “Always show solution“. Check it and save and you will see your solution file!

Missing sln file in Solution Explorer - 2

Missing sln file in Solution Explorer - 2

Missing sln file in Solution Explorer - 3

Missing sln file in Solution Explorer - 3

If you have any questions, feel free to contact me via the contact form, comment or email me at guohong@limguohong.com

Do check out the tutorial page too!

中国达人秀 – 梦中的额吉 (乌达木)

0

I am touched.

“A 12-year-old Mongolian boy- Uudam (乌达木 Wudamu in Chinese) who lost his parents at the age of 8 in a road accident singing the song-”Mother in the Dream” (梦中的额吉) to his mother at heaven. He seldom talk about his story but when he miss his mother, he will sing this song. Besides, he always dream about his mother, sitting beside him.

The song is in Mongolian, therefore, not everyone can understand the lyrics. However, his singing touched every judges and audiences in the hall without the understanding of the lyrics. He sang out all his love and though to his mother.

A touching song, performed by a boy who got a sad story behind, a voice comes from far Mongolia sending his though to his mother at heaven. A great performance by a 12-year-old boy! He got an interesting and beautiful dream which is to invent a kind of ink that just need a drop to drop on the ground, the whole world will cover with green grass. one more thing to add, his mother wished to see his singing on the stage when she was alive.”

Refreshed!

0

Felt very refreshed after a good weekend break. All prepared to go all out for next week. It will be a super busy one!!!

Finally finished watching “Dong Yi”. I cant afford to spend my time on another drama.

All the best to those going Tianjin. Jaryl, Ren Zoe, Sean and the rest! Have fun and train hard!!

Leaving you with a song!

Windows Phone 7 – Removing Battery Indicator

0

Many a times, when we do a XNA game, we will want it to be full screen and hide the battery indicator. We will not want to show the battery indicator like this.

With Battery Indicator

With Battery Indicator

You can change it to remove the battery indicator by adding this line of code at the constructor where the game is initialized.
graphics.IsFullScreen = true;

Without Battery Indicator

Without Battery Indicator

You can download and view the sample here.
http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Code%20Guide/Windows%20Phone%207/RemoveBatteryIcon.zip
If you have any feedback, you can email me at guohong@limguohong.com

Error reporting for Windows Phone 7 : Little Watson (XNA version)

5

Recently I blogged about Error reporting for Windows Phone 7 : Little Watson but when I was using it for the Slime Sweeper V2 , i realised its not as simple as copying and paste the framework over to XNA and use it. We have to introduce some extra stuffs.

I built the XNA version for it. Appreciated the help given by Konaju Games on MSDN forum here and Andy Pennell who have written the original version of Little Watson.

We have to add Microsoft.Phone and System.Windows references into the project. The codes are similar but we do not have native MessageBox.Show and Application.Current.UnhandledException in the project like what we have on Silverlight project and hence we have to add them differently to the project.

In the constructor of the game, we have to add this code.

Application.Current.UnhandledException += (s, e) =>
{
if (!System.Diagnostics.Debugger.IsAttached)
{
try
{
LittleWatson.ReportException(e.ExceptionObject, GetType().Assembly.FullName);
}
catch
{
// We do not want to throw exceptions in our exception handler
}
}
};

and as for MessageBox.Show, I am using Guide.BeginShowMessageBox method.
http://msdn.microsoft.com/en-us/library/dd940233.aspx

Guide.BeginShowMessageBox

You can download the sample code which I have built here, the button will crash the application and when you try to go into the application again from the emulator, a messagebox will appear :
http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Code%20Guide/Windows%20Phone%207/LittleWatsonXNA.zip

If you have any feedback or question, feel free to contact me via the contact me form or email me at guohong@limguohong.com

WPDT 7.1 Comprehensive Developer Documentation

0

Recently Chris Ismael, Developer Evangelist from Microsoft Singapore posted a blog post on Innovative Singapore on the resources which Microsoft kindly released to help the developer to learn WPDT 7.1 ( Known as Mango )

This blog post consolidate all the samples and walkthrough on how to use WPDT 7.1 http://innovativesingapore.com/2011/05/a-comprehensive-mango-developer-documentation-reference/

Windows Phone 7 – Putting application in game hub

0

One of the things that i tried to do is trying to put the application which we have created into the game hub. I cant seem to find this resource easily and hence I have decided to post it and how we can go about doing it.

According to http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
We will have to go to WMAppManifest.xml and edit the Genre

You can fill in either Apps.Normal or Apps.Games.

AppManifest - Game

AppManifest - Game

By doing this, you will place your application into the game hub.

You can download the sample code here.
http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Code%20Guide/Windows%20Phone%207/XNAGameHubSample.zip

If you have any question or query or feedback, you can contact me at guohong@limguohong.com

Graduated from Temasek Polytechnic

0

I finally graduated from Temasek Polytechnic. I am proud to say that I now have a Diploma in Information Technology from Temasek Polytechnic, School of Informatics and Information Technology.

These 3 years in my life had been an exciting and interesting one. I joined the Microsoft Student Community, OCIP, Special Interest Group (IT), Microsoft Imagine Cup 2010, codeXtremeApps 2010, Microsoft Office Specialist, Diploma Plus Programme and more. I have graduated with more than just a diploma. This unique experience which TP had provided me had allowed me to be well-trained, well-equipped with the correct skillset and prepared for the industry. Without the help, support from the faculty staff of TP and friends, i certainly will not enjoy this trip as much I did.

We went to Cambodia and complete our Overseas community involvement programme, have an understanding on what it is all about to be a global citizen. I participate in Microsoft Imagine Cup with my team and stayed back in our lab trying to “perfect” our application. We went to SMU and compete in codeXtremeApps and stay awake for 24 hours trying to complete our submission. We helped each other when we need help in certain assignments and many more… these memories are so painful. :x Though painful but i learnt. I was stretched to the limit. I knew i grew each time i complete the challenge, i can feel it. If i didn’t took up all these opportunity which TP had presented to me, i wouldnt be the Guo Hong I am today.

I will like to thank all my friends and mentors whom i made in TP!
In no order,
-Mr. Yeak Shaw Wen
-Mr. Oh Chin Lock
-Miss Hannah
-Miss Sandra
-Mr Jason
-C195, Debbie, Wei Hao, Zhi Qiang, Alex, Kang Long, Jesal, Pong, Hariandy, Agustian, Wee How, Chun Kai, Brandon, Chee Boon, Ji Zhou, Fina, Li Hua, Sunny
-C195 friends, Cindy, Eriko, John, Alisha, Wei Jie, Da Jie
-Tutorial mates

Thank you. Without you, the experience at TP wouldnt be complete. Really~ THANK YOU! THANK YOU! and THANK YOU C195!!! =)

TP MSP
Jonah, Lup Peng, Alvin, D, Yang Lin, Jireh, Kelvin, Bee Siew, Kenneth, Kiat Siang, Rachel, Yun Ting, Kyzer, Kim, Eric, Don

I have learnt alot and benefited much from this program. Its my honour to be in this team and leading this team during one of the FYs. Certainly there are ups and downs but we will still move together as a team bringing the best technology to the faculty so it can benefit the students! This is an awesome team. It makes my life in Temasek Polytechnic so unqiue and special! Thank you MSP community.

Lastly, my parents, Jasper, Beverly, Ren Zoe, Ryan, Leying, brothers and sisters, uncle Daniel and auntie Serene and auntie Trish. THANK YOU for being around me when I am low. ( I know sometimes i doesnt seems low. ) It meant alot to me.

As this chapter ends, it also signifies the opening of the next chapter. I have been accepted by National University of Singapore! After my 2 years National Service, I will be going to NUS to persuade my degree in Information System. I wish best of luck to all my friends of Temasek Polytechnic to all our different endeavors and may we not forget each other and the never say die spirit of C195. :)

Once again, congratulation to all graduands of 2011 TP cohort. Congratulation to Debbie for making us proud and awarded the Silver Medal. Congratulate to C195 which has more than 1/3 students in DWM!

I am leaving you with this,
Someone said this to me when I was in year 2, he reminded me on what I have been believing in, “Age Quod Agis”.

p.s: I understand that this is a wordy post. I will update pictures when I have more time and when i get them. :)

Microsoft Powerpoint 2010 – Inserting Offline Video

0

One of the good things in Microsoft Powerpoint 2010 is the ability to insert offline and online videos into your powerpoint presentation easily. Do look at this if you are wondering how to achieve it.

http://office.microsoft.com/en-us/powerpoint-help/embed-in-or-link-to-a-video-from-your-presentation-HA010374729.aspx

One of the common questions are what are the different format available,

Note Videos in the .mp4, .mov, and .qt formats can be played in PowerPoint
if the Apple QuickTime player is installed.

File format Extension More information
Adobe Flash Media .swf Flash Video This file format is generally used to deliver video over the Internet using the Adobe Flash Player.
Windows Media file .asf Advanced Streaming Format This file format stores synchronized multimedia data and can be used to stream audio and video content, images, and script commands over a network.
Windows Video file .avi Audio Video Interleave This is a multimedia file format for storing sound and moving pictures in Microsoft Resource Interchange File Format (RIFF) format. It is one of the most common formats because audio or video content that is compressed with a wide variety of codecs (codec: An abbreviation for compressor/decompressor. Software or hardware used to compress and decompress digital media.) can be stored in an .avi file.
Movie file .mpg or .mpeg Moving Picture Experts Group This is an evolving set of standards for video and audio compression developed by the Moving Picture Experts Group. This file format was designed specifically for use with Video-CD and CD-i media.
Windows Media Video file .wmv Windows Media Video This file format compresses audio and video by using the Windows Media Video codec (codec: An abbreviation for compressor/decompressor. Software or hardware used to compress and decompress digital media.), a tightly compressed format that requires a minimal amount of storage space on your computer’s hard disk.

Note The third-party products discussed in this article are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding the performance or reliability of
these products.

Quoted from http://office.microsoft.com/en-us/powerpoint-help/compatible-audio-and-video-file-formats-in-powerpoint-2010-HA010336709.aspx

Microsoft Powerpoint 2010 – Compress Media

0

One of the issues which people faced is that the powerpoint slides which they constructed is too big and cannot be sent via email.

I have screencasted a demonstration on how we can use the Compress Media feature to compress the media. Notice that i cut down the amount of disk space i need. From 37.7MB to 9.17MB.

You can download the sample here.

http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Office%20Demo/Compress%20Media%20Demonstration.pptx

For more information, please feel free to email me at guohong@limguohong.com or use the Contact Me form to contact me.

Go to Top