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





Naturally, these are on my mind because my hand still stings from getting slapped by the runtime when I tried to do this. LINQ to Entities does not support projecting into known types. If you have a type or struct defined such as: Public Structure KeyListItem Public ID As Integer Public Name As String End Structure and are doing a query that will project out an ID and a Name, this is the natural way to write the query, given some experience with LINQ to [anyth ... [ read more ]
Today I posted an interview on Channel 9 with Yang Xiao , a tester on the VB IDE. In this interview Yang shows us the new XML Schema Explorer in Visual Studio 2008 Service Pack 1 . This new window is invoked when you right-click on an XML literal element or namespace and select "Show in XML Schema Explorer" in Visual Basic programs. It's a nice way to visually display the structure of your schema sets which makes you even more productive when working with XML in Visual Basic. ... [ read more ]
Do you want to retrieve all the Exceptions, including the inner Exceptions when an Exception is thrown for logging purposes? Since they are not enumerable, I wrote a block of recursive code below that will do the trick.     1   Function RetrieveAllExceptions( ByVal ex As Exception) As ObjectModel.ReadOnlyCollection( Of Exception)     2     Dim exceptions As New Generic.List( Of Exception)    ... [ read more ]
I've just discovered the Rosetta Stone for the AdventureWorks sample databases that you can install to demo or test SQL Server. It was created by Pikauba Software Solutions for SQL Server 2005, but I expect that many of the details are going to be similar for 2008. See this .
I was wrong. Actually, I was mislead and believed what I was told about Visual Studio 2008 SP1 and SQL Server 2008 (Katmai) RTM. Apparently, the Katmai report processor was not incorporated into the ReportViewer (or as they now call it the "MicrosoftReportViewer") control during SP1. While it might look like Microsoft had upgraded the ReportViewer (it has the new "Tablix" control and other Reporting Services 2008 features), the RDL generated by the newly released Katmai RDL ... [ read more ]


© 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