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





Visual Basic 2008 in combination with the .NET framework 3.5 brings us a lot of new powerful features. Some of them are obvious like LINQ or XML literals; other new features are less obvious. Some very handy features are the new (extension) methods on arrays. Methods for concatenating of arrays, filtering or even mathematical operations like the minimum- or maximum value or the sum of all elements. More...
After a lot of head scratching, I was finally able to accidentally duplicate a mapping issue reported to me by a reader of the Rough Cuts version of my book, Programming Entity Framework . Then after a lot more head scratching, I was able to discover the pattern and workaround for this problem, which has also surfaced a number of times in the forums. The issue is when creating associations where one of the ends is a 0..1 (zero or one) and one of the entities involved is derived from anoth ... [ read more ]
It's common that you want to launch an external process but supply input and capture the output. Here's one attempt:  ' BAD CODE Using p As New System.Diagnostics.Process     p.StartInfo.FileName = "cat"     p.StartInfo.UseShellExecute = False     p.StartInfo.RedirectStandardOutput = True     p.StartInfo.RedirectStandardInput = True     ... [ read more ]
  When I was going through the snippet editor code to put it on CodePlex, I wanted to grab a screen shot of the snippet schema.  immediately I was confronted with there being no visual designer for schemas in VS 2008, but the worse part was I could have sworn there use to be.  To clear up that confusion here’s an illustrated history lesson on schema views in Visual Studio.   In earlier versions of Visual Studio the schema designer was a bit like the early dat ... [ 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