Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Visual Studio   (RSS)

Visual Studio Express will be free permanently!

Great news - it was annouced a couple of days back that Visual Studio Express , originally offered free for one year, will now be free permanently! Haven't heard of Express products before? Read this FAQ . Not only are the Express products free, they
Posted by rprabhu | 0 Comments
Filed under: ,

I have heard of the BSoD - what's a WSoD?

If you have used the Windows Forms designer in Visual Studio 2005 enough, chances are you may have occasionally seen a white error screen instead of the design time form. This screen, fondly referred to as WSoD in our team, shows up when error(s) are
Posted by rprabhu | 10 Comments
Filed under: ,

Why doesn't my TypeConverter get called?

Consider the following code: public class MyControl : Control { [ TypeConverter ( typeof (SomePropertyConverter))] public Foo SomeProperty { get { ... } } } [ TypeConverter ( typeof (FooConverter))] public class Foo { ... } Now here are a couple of questions:

Do you really need a custom CodeDomSerializer?

When you author a new component for .NET for which you want to offer a smooth user experience within the Visual Studio designers, you may find you need to write a few more classes to get it working the way you want. For example, you may need to write

How does the Windows Forms designer in Visual Studio load a Form?

Here are a couple of questions we often get from developers who are new to Windows Forms: 1) The designer allows me to open an abstract Form, but not a Form that inherits from an abstract Form. Why is that? 2) I got a load error when I tried to open my
Posted by rprabhu | 21 Comments
Filed under:

Localization in Whidbey

Before I describe how Windows Forms localization works in Whidbey, let us first take a look at how it works in VS 2002/2003. Consider a Form with a Button control on it. When you mark it Localizable = True in the property grid, the designer generates
Posted by rprabhu | 16 Comments
Filed under: ,

Visual Studio 2005 Beta!

It's finally out - Visual Studio 2005 and .NET Framework 2.0 Beta 1! Here are the relevant links: VS 2005 Beta Developer Center - portal for all VS 2005 Beta related information, including links to download. VS 2005 Express Products - described as “lightweight,
Posted by rprabhu | 1 Comments
Filed under: ,

Designer Hosting in Whidbey

If you have had a chance to play with Visual Studio Whidbey, you may have noticed some of the cool new features in the Forms designer - snap lines, smart tags and so on. Now what if you desire to expose some of this design time UI in your own application?
Posted by rprabhu | 23 Comments
Filed under: ,

Strongly typed resource model in Whidbey

In Visual Studio 2003 and earlier, managing resources like images and icons in your project is somewhat difficult. For example, when you try to assign an image to a PictureBox through the property grid, you get the FileOpenDialog. When you pick an image
Posted by rprabhu | 8 Comments
Filed under: ,

What's this new GenerateMember property?

If you have played with Whidbey builds of Visual Studio, you may have noticed this new property called GenerateMember that shows up in the property grid for all controls and components you add to a Windows Form. Wondering what it is about? It is actually
Posted by rprabhu | 2 Comments
Filed under: ,

Brian explains Components, Containers and Services

Brian blogs about the fundamental concepts of the .Net component model. The post is typical of Brian - his explanation is always crystal clear!

How does the designer decide what properties to persist on a given component?

Any component has a bunch of properties on it. For example, the WinForms Button control has properties like BackColor, ForeColor, Text, Name, BackgroundImage and so on. When you place a Button on the Form in the VisualStudio designer and look at the generated
 
Page view tracker