Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .NET - Random Tips   (RSS)

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

Win32 <-> .NET API Mapping

This is another of those links that you simply must add to your favorites if you develop using .NET. This page tells you when not to use that other very handy website - PInvoke.net . So before you go the p/invoke route, make sure there isn't already a
Posted by rprabhu | 0 Comments
Filed under:

Smart Client in focus again

Good to see that Soma's keynote at VSLive! San Francisco brings the concept of 'smart client' back in focus. This is something I am personally passionate about and it is also the theme of this blog. Here is Soma's blog post on the topic and you can view
Posted by rprabhu | 1 Comments

Windows Forms and Avalon roadmap

If I am planning to write a Windows client application in the coming months, what technology should I target - Windows Forms or Avalon? This is a question that comes up every so often and results in a lengthy debate, but no clear conclusion. In an attempt

Smart Client Developer Center reloaded

Check out the new and improved MSDN Smart Client Developer Center page - it is a great place to start if you are looking for information about client application development. Jonathan, who is co-editor for the site with Chris Sells , has more information
Posted by rprabhu | 0 Comments
Filed under:

.NET Framework SPs now available on Windows Update

The final versions of .NET Framework 1.1 SP1 and 1.0 SP3 are now available for download on Windows Update .
Posted by rprabhu | 0 Comments

.NET Framework SPs - Tech Preview announced

Technical previews of .NET Framework 1.1 SP1 and 1.0 SP3 are out. You can find links to download, newsgroups and information about what's in the service packs here .
Posted by rprabhu | 2 Comments
Filed under:

Smart Client Developer Center

If you haven't seen it already, check out the Smart Client Developer Center on MSDN launched earlier this month. It's a great place to start if you are looking for any kind of information relating to client application development. It also has an RSS
Posted by rprabhu | 0 Comments

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 to create non-rectangular Windows Forms applications

Ever wanted to write an app with forms that have arbitrary shapes rather than the usual rectangular windows? Mike Harsh describes on MSDN TV how you can accomplish this in Windows Forms, without writing a single line of code, using the RegionMaster controls
Posted by rprabhu | 3 Comments
Filed under:

Why are the interop definitions in System.Windows.Forms internal?

In a comment on BradA's blog, Chris wonders why Windows Forms didn't expose the structures and p/invoke declarations it uses for interop. This would have saved users from having to redefine them for their own use. I guess there were mainly two reasons:
Posted by rprabhu | 1 Comments
Filed under:

Windows Forms Markup

Check out Mike Harsh's post about Windows Forms Markup Language (WFML). The sample and article by Joe Stegman are up on windowsforms.net . Note that this is based on .Net Framework v1.1, so you can try it out today!
Posted by rprabhu | 1 Comments
Filed under:

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

On using Windows Forms controls as ActiveX controls

[Update: Reformatted and edited the quote below] Here is a great summary by Mark Boulter (Tech Lead on .NET Client Team): To summarize our official position on using Windows Forms controls as ActiveX controls: v1.0 of Windows Forms only supports using
Posted by rprabhu | 9 Comments
Filed under:
More Posts Next page »
 
Page view tracker