Embedding resources in WebParts

Today I came across a requirement of showing an swf file in the webpart. So I thought I will upload the swf file in folder and give its url to the webpart. But then that will be hardcoded path. What will happen if the user deleted that folder or rather deleted that file itself? So my webpart will not run. So I found some alternative to this and thought of embedding my swf file and js file in webpart itself. I googled on how can I do this, and here are the steps for embedding the files in the webpart itself. I ll assume that you are ready with the Webpart and you just need to remove the hard coded...

Friendship’s Day

We have something called as Fun Friday’s in our office we normally celebrate that every alternate friday. What we do in that is play games and enjoy. All it does is it keeps you fresh and agile its one of the most happening thing in my office. And the games are based on the theme or some festival which is goin on or which is awaited. The winning team is presented with choclates. This friday it was Friendship day which was comming up this sunday. So we decided so have something related to friendship some game related to friendship but our different ideas were all used in the previous fun...

Intellisence help in user-defined functions, properties etc in Visual Studio

I just went through one of the video which showed how can you enhance intellisence feature in Visual Studio for the user-defined things.  Let me explain this to you in detail, suppose you have a class containing few functions and properties, When you create an object for that class and access its function all you can see in the intellisence is the name of the function without the description, but when you look at the inbuilt function in any of the inbuilt class you can see the description of that function. Have you ever thought why so? This is just because they have commented their code. You...