Browse by Tags

All Tags » VS2005 (RSS)

My Faq on "hashtable lookups for struct types" is published at http://blogs.msdn.com/CSharpFaq

Check out http://blogs.msdn.com/csharpfaq/archive/2006/03/20/556192.aspx for a FAQ on Hashtable lookup for value types.

My articles on "Anonymous types" is up

Check out http://www.developer.com/net/csharp/article.php/3589916 for my article on " Anonymous Types ", This cool new feature coming in C# 3.0 is surely going to go places. Codeguru also contains the same article at http://www.codeguru.com/csharp/csharp...
Posted by Vipul Patel | with no comments

Guidelines on clean up code

Many a times, we use the catch block inside the try catch block for our clean up code. Something like try { // Do something } catch { // work failed, clean up code here } Rather than the above approach of using the catch block, it would be nicer to use...
Posted by Vipul Patel | with no comments

Visual Studio Service Pack WebSite

Visual Studio.NET Service Packs are due this year, but their site is up already (The site clearly mentions it is still in process) http://msdn.microsoft.com/vstudio/support/servicing/default.aspx Visual Studio 2003 Service Pack 1 ships Q2, 2006 Visual...
Posted by Vipul Patel | with no comments

.NET Tip - Getting logged in user name in ASP.NET web application

Frequently we desire to autopopulate some fields on our web form with the current logged in username and domain. How to get that information? Well, User.Identity.Name comes to the rescue. Set the text property of the field to User.Identity.Name and it...

Visual Studio Tip of the day - Refactoring - Extracting method

You notice that you have a chuck of code which could easily be transitioned to a new function. How tdo you do that? Again, Visual Studio Refactoring menu comes to the rescue. Suppose you have the following code in your function public void Myfunc() {...
Posted by Vipul Patel | with no comments
Filed under: , ,

VB gets a LINQ equivalent

With the release of the LINQ CTP for Visual Basic, VB matches C# tooth and nail (purely from the LINQ perspective) CTP version features Intellisense, Dlinq support, support for XML literals, Download link: http://msdn.microsoft.com/vbasic/future and http...
Posted by Vipul Patel | with no comments
Filed under: ,

How to: Determining programmatically if DLL is registered

Here is a C# code snippet to determine if a particular DLL is registered or not. [DllImport("kernel32")] public extern static int LoadLibrary( string lpLibFileName); [DllImport("kernel32")] public extern static bool FreeLibrary( int hLibModule); public...
Posted by Vipul Patel | with no comments
Filed under: , , ,

Visual Studio Tip of the day - Format Document

Time and again we write code and our brackets get out of visual sync, i.e. they no longer appear as a coherent set even though they may be. In Visual Studio, there is a feature known as Format Document which will align the code systematically. It can...
Posted by Vipul Patel | 2 comment(s)
Filed under: ,

Visual Studio 2005 - A Guided Tour

Want to learn more about Visual Studio 2005 . MSDN magazine folks have come up with a new issue dedicated solely to the new IDE. Check it out online at http://msdn.microsoft.com/msdnmag/issues/06/00/default.aspx
Posted by Vipul Patel | with no comments
Filed under: , , ,

Enterprise Library for .NET Framework 2.0 released

Wohoo! Enterprise library for .NET Framework 2.0 has just been released. More details at http://msdn.microsoft.com/library/?url=/library/en-us/dnpag2/html/EntLib2.asp Direct download link: http://www.microsoft.com/downloads/details.aspx?FamilyId=5A14E870...
Posted by Vipul Patel | with no comments
Filed under: , ,

Visual Studio Tip of the day - Bookmarks

How often do you wish that you could put a mark at a particular location in your source code and then switch to that point with a simple click? With Visual Studio , you can do that with the help of bookmarks. A bookmark is a virtual placeholder which...
Posted by Vipul Patel | with no comments

Incremental search - VS2005

One of the lightly used features of VS2003 and VS2005 continue to be Incremental search. Developers usually know the text which they are searching for. Due to lack of awareness of the VS editor features, I have seen many a developers editing code in TextPad...
Posted by Vipul Patel | with no comments

Visual Studio Live

With Visual Studio Live being discussed in the developer circles, a natural question arises. What do developers think of when they hear about Visual Studio live? Darryl K. Taft has an articles dedicated to this at http://www.eweek.com/article2/0,1895...
Posted by Vipul Patel | with no comments
Filed under:

VS2005 for VB guys

Guys still in VB world can check out http://msdn.microsoft.com/vbasic/default.aspx?pull=/library/en-us/dnvs05/html/VB05forVB6.asp and see whats there for them in VS2005. esp. Form1.Show works again...
Posted by Vipul Patel | with no comments
Filed under:

FYI: System.Web.Mail is deprecated use System.Net.Mail

While we are on the topic of System.Web.Mail , it is important to note a new namespace in version 2.0 of the .NET Framework. There is a brand new namespace for sending mail via managed code, it is called System.Net.Mail . Have no fear, System.Web.Mail...
Posted by Vipul Patel | with no comments

Absolute Beginner's Video Series to Visual Studio 2005 Express Editions

Do you have some students who want to learn Visual Basic .NET or C# on their own? Or perhaps you want to learn them as part of your own professional development. Well if so, Microsoft has a free series of lessons for absolute beginners. They look pretty...
Posted by Vipul Patel | with no comments

Why Upgrade to Version 2.0 of the .Net Compact Framework?

Steven Pratschner, Program Manager, .NET Compact Framework, lists down reasons why one should upgrade ot the latest version of the .NET compact framework. Highlights: Applications run faster Developers are more productive Developers are more productive...
Posted by Vipul Patel | with no comments
Filed under: ,

WinFX November CTP Released!

Download links WinFX Runtime Components (Windows Presentation Foundation, Windows Communication Foundation, Windows Workflow Foundation) WinFX SDK (documentation and command-line tools) VS2005 Extensions for WinFX Runtime Components (templates and IntelliSense...
Posted by Vipul Patel | with no comments

Developer Blogs to watch out for

With a plethora of blogs floating on the internet, it is hard to find the blogs which make a difference . Below is a collection of blogs of authors whose books we have read and blogs of people who make the technology. I spent some time to find out such...
Posted by Vipul Patel | with no comments
More Posts Next page »