/Home /Archive /Syndicate /Blog /Support /About /Contact  
All Visual Basic Feeds in one place!





We can subclass the prior Windows Presentation Foundation (WPF) class called Browse that displays the results of a query. This subclass will add a WPF Popup to it.   The popup can easily be added to either a ListView or the ListBox sample I posted earlier ( Use LINQ with WPF : Styles and DataTemplates in code )   The code sample below is exactly the same code as the prior Browse post except that it uses a subclass of the Browse class ... [ read more ]
ListBox control with colored selected item
Learn how extension methods can be used to extend any existing type's functionality, even when a type is not inheritable, and how they play a crucial role in the implementation of LINQ.
I guess I've been working too hard on getting the product ready to ship to notice that Bart has put together an awesome blog series on VB9 . It includes discussion of a feature called runtime agility or compiler agility that we haven't taken up on this blog. We introduced this feature to make it much easier for new .NET platforms (think Silverlight, XNA, & .NET Micro Frameworks) to allow Visual Basic  programmers to target their platform. For those of you language/compiler ... [ read more ]
Beth posted about the VS 2008 SDK saying it had many VB samples .  When I installed it I didn't see any in the DSL tools, so I thought there weren't any at all. turns out there are some VB samples, but no DSL samples as well as others completely missing. This is what is there:     VS 2005 SDK VS 2008 SDK   C# VB C# VB Categories 9 5 12 6 Samples 48 32 ... [ read more ]
Today the VS Ecosystem team released the Visual Studio 2008 SDK 1.0  and the Visual Studio 2008 shell . The VS 2008 SDK contains full native Visual Basic support and contains many VB samples. What was in the VB Pack for the VS 2005 SDK is now included in the VS 2008 SDK , plus more. I've started playing with building Visual Studio AddIns in Visual Basic and it's really simple to get started. I've got the Tip of the Day Browser running at startup now. Stay tuned for a post on th ... [ read more ]
Yesterday I promised to post about the hidden gems in Visual Basic and Visual Studio 2008 that you haven’t read about in blog posts or seen at conferences. I forgot that I mentioned a few of my favorite features in the Beta1 announcement where I showed off the improvements in the Intellisense experience – statement completion for keywords, local variables, and expressions. In that post, I also cover a new language feature called Relaxed Delegates which allows you to provide alte ... [ read more ]
The title of this post essentially says it all.  AutoSize and DockStyle.Fill don't mix well together.  Both properties exist to describe the size relationship relative to the rest of the control but they do so in conflicting ways. AutoSize is a property describing the size of a control relative to it's contents.  Setting this to True will generally cause a control to resize itself so that it takes up only enough room to display it's contents.  DockStyle.Fill is a prop ... [ read more ]
Despite VB being the * most popular * language on .NET, many teams over at Microsoft like to give VB the finger.  But before I start on this month's FU awards, a big anti-fu award (aka kudos) goes to Don Box who said : " I'd be an idiot not to walk in their shoes as much as possible " Sadly, other teams at Microsoft still don't get that.  So onto the FU list of shame for this month: First mention just has to go to the XNA team.  Their continual big ... [ read more ]
If you install VS 2008 on a machine that has VS 2005 on it, you'll be prompted to let VS 2008 import as many of your settings from 2005 as possible.  Generally this is a good thing, but you might run into some issues with code snippets as you might have both the 2005 and 2008 collections loaded in VS 2008.  The problem is Visual Studio stores snippets by default in the %InstallRoot%, which for VS 2005 is Program Files\Microsoft Visual Studio 8 and for VS 2008 it's Program F ... [ read more ]
Creating strongly-typed master pages in asp.net 2.0


© 2005 Serge Baranovsky. All rights reserved.
All feed content is property of original publisher. Designated trademarks and brands are the property of their respective owners.

This site is maintained by SubMain(), a division of vbCity.com, LLC