Recent Posts

0
Comments

K-MUG Presentation on Visual Studio Productivity Tips by Yanesh Tyagi

Today I delivered a presentation on the Visual Studio Productivity Tips on the K-MUG meeting. The points that I discussed in the presentation was: Death by thousand tiny cuts Using keyboard shortcuts to enhance productivity How to become a Visual Studio Super User by extending the capabilities Use of multiple monitors ...
Filed under: , ,
1
Comments

Dealing with multiple instance of Excel (or any other COM object) by Yanesh Tyagi

In an application, I have to call many functions of Excel for my financial and statistical calculation. For this, I created an class named ExcelObject. This class has static members like CalculateFInv which inturn calls Excel's function. This code is...
Filed under: , ,
1
Comments

Implementing Delete Confirmation Dialog in List View (ASP.Net) – Part 2 by Yanesh Tyagi

In my previous blog post I described how to implementing delete confirmation dialog in ListView Control of ASP.Net. In one comment Dan Gilleland asked how to get the localized message text from resource file. In this post I am providing solution to Dan...
Filed under: ,
1
Comments

.NET Framework FX 4 Beta 1 – What’s New by Yanesh Tyagi

Today, Microsoft launched Visual Studio 2010 and .Net FX 4 Beta 1 . This is available to the MSDN subscribers only. Don’t loose heart. It will be available to everybody on Wednesday . .Net Framework 4.0 will provide the second generation of WCF and WWF...
Filed under:
3
Comments

Code Snippet for Automatically Implemented Property by Yanesh Tyagi

Code snippets allows programmers to extend auto-complete feature of Visual Studio. Code snippets enables a programmer to create an auto-complete that will appear in the intellisense. It also allows a programmer to define the logic of auto complete. Behind...
Filed under: ,
3
Comments

Mystery of Not Operator in VB.Net by Yanesh Tyagi

(Not 2) = -3. Strange! Read below. In VB.Net, non-zero integer is evaluated as True and an integer whose value is zero is evaluated as False. This is known fact since earliest version of Visual Basic. And this is also supported by VB.Net. Now consider...
Filed under: ,
14
Comments

Implementing Sorting in Generic List (List<T>) by Yanesh Tyagi

How to sort a generic list? Well, generic list provides a sort method itself in the form List<T>.Sort(). But wait a sec. This method requires you to implement sorting mechanism in your type. This is because this method uses default sorting mechanism...
Filed under: , ,
10
Comments

Implementing Delete Confirmation Dialog in ListView Control (ASP.Net) by Yanesh Tyagi

Listview control is one of my favorite controls added in asp.net version 3.5. It provides easy way to implement view (list), update, insert and delete functionality. Using SQL Data Source or LINQ Data Source control, you can create a page that will display...
Filed under: ,
20
Comments

Converting Text into Image On-The-Fly by Yanesh Tyagi

Sometimes we need to convert text into the images on the fly. This code converts the text into image and displays it onto the web page without saving it into a file on the disk. It also takes care of text wrapping. TextToImageConvertor can either be used...
Filed under: , , ,
11
Comments

Ajax Control Toolkit - Controls Disabled in Tool Box by Yanesh Tyagi

If after installing Ajax Control Toolkit on your system, you found that the conrols are disable, you need to restart your VWD or your machine. You can also trying deteting .pdb files from the VWD's 9.0 folder....
More Posts