posts tagged with visual studio

PEAK-IT Summer DevNight 2008

By Fons Sonnemans, 4-7-2008

On Juny 3, I did a Visual Studio 2008 presentation on the PEAK-IT Summer DevNight 2008 at the Fulcotheater in IJsselstein.

You can download the slide deck here.

I had a good time presenting this sessions. I hope it was a useful for you as well.

ConvertSelectedTextToAssociatedLabel Macro

By Fons Sonnemans, 9-10-2007

I have created a new Visual Studio 2005 Macro which can be used to convert a literal text to an asp:Label that is associated to the next control. You first have to select the text and then Run the ConvertSelectedTextToAssociatedLabel Macro. In the example below the text Age: is selected.

The result is an asp:Label with the correct Text and AssociatedControlID attributes.

Download Zipfile

My Code Snippets

By Fons Sonnemans, 2-10-2007

I use Visual Studio 2005 Code Snippets a lot. Especially during trainings. I have created some snippets myself which I want to share. Download this zipfile and extract it in the "My Documents\Visual Studio 2005\Code Snippets\Visual C#\My Code Snippets" folder.

My First XNA Game

By Fons Sonnemans, 27-5-2007

I finally found some time to play with XNA. I learned a lot from Rob Miles at TechEd 2006. He has some great samples on his website. Rob will also be presenting about this subject on the DevDays 2007 in the Netherlands. Fun is guaranteed.

My first game is a remake of a game I build 20 years ago on my Commodore 64. You must move around a bouncing ball using your joystick. The ball may not collide with the flying birds. It took me only a few hours to build and it was great fun.

I have used the XNA - Drawing Text in XNA article (Creator tool + XnaFont class) to fix a drawing text bug from Rob's code.

Download the source here.

New VS2005 Macros

By Fons Sonnemans, 18-11-2005

Three years ago I have written some useful Visual Studio 2003 macros: SortCode and CreateProperty. With the introduction of VS2005 it was time to upgrade them.

The new SortCode macro also supports VB.NET 2005. Totally new is the EncapsulateAllNonPrivateFields macro. It creates properties get/set for all non private (public, protected, internal) fields. By using the CodeDom I managed to supports VB.NET and C#.


After running the marco the 3 fields are private and there are 3 extra properties.

Download Zipfile

SDE Slides

By Fons Sonnemans, 20-9-2005

The slides from my presentation 'NDoc Integratie in Visual Studio 2003 & 2005' can now be downloaded.

PDC05 Keynote

By Fons Sonnemans, 13-9-2005

I have just watched the live PDC05 Keynote Webcast. I'm very impressed. Great demo's showing LINQ, Indigo, Atlas and Avalon. The problem for Microsoft will be to get us 'the developers' to use these new technologies as soon as possible. I'm afraid it is all to much for a 'normal' developer too cope with.

SDN Software Developer Event

By Fons Sonnemans, 30-8-2005

I will be speaking at the SDN Software Developer Event on the September 16 2005, De Reehorst - Ede . I will talk about the integration of NDoc with Visual Basic 2003 and 2005. Hope to see you there.

My Favorite Visual Studio 2005 and .NET 2.0 features

By Fons Sonnemans, 5-8-2005
  • C# 2.0
  • Class Designer
  • Unit Testing
  • Code Coverage
  • FXCop Integration
  • Debugging: DataTips, Visualizers and Viewers
  • Refactoring
  • Improved IntelliSense
  • Code Snippets
  • Profiles
  • Strongly-typed resource class generator
  • Improved (not perfect) Windows Forms controls

Binary Compatiblity

By Fons Sonnemans, 22-7-2005

Microsoft has released a free LibCheck tool that allows you to compare two versions of an assembly, and determine the differences. The tool reports the differences as a combination of 'removed' and 'added' APIs. The tool is limited to looking only at APIs (i.e, it can't check for behavioral changes), and only compares public differences, or changes which are deemed to be 'breaking'. The tool can be used to quickly determine what has changed between one version of your assembly and another, and can help ensure that you won't introduce any breaking changes to clients of your assembly. Instructions and intended use of the tool are described in the 'libcheck tool specification' document with the zip file.

This was a feature I always was missing. VB6 had this, VS.NET didn't. Thanks MS.

All postings/content on this blog are provided "AS IS" with no warranties, and confer no rights. All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer or sponsors. The content on this site is licensed under a Creative Commons Attribution By license.