Browse by Tags

Linking Zune media items with LinQ, Part 2 (Matt Gertz)
07 November 09 08:00 AM
In this post, I’ll continue on with coding the new playlist shuffler. If you haven’t read part 1 yet, I highly recommend it so that this post will make more sense. J Code for the controls (continued) The Title TextBox When the title changes, we’ll want Read More...
Postedby VBTeam | 1 Comments    
Filed under: , , ,
Linking Zune media items with LinQ, Part 1 (Matt Gertz)
06 November 09 02:17 PM
Way back in October 2007, I wrote up a few posts ( here and here ) on my experiments with the Windows Media Player object model. The problem I was trying to solve was that, when I had a playlist set to “shuffle,” WMP would break up songs that should always Read More...
Postedby VBTeam | 0 Comments    
Filed under: , , ,
Spot the Bug! – Much ado about Nothing… Part 2! (Jonathan Aneja)
05 November 09 11:46 PM
In yesterday’s post we saw that the use of the wrong comparison operator with Nothing in an If block can lead to surprising results. Let’s look at a slightly different case today: Dim x As Integer = Nothing If x = Nothing Then MsgBox( "A true statement Read More...
Postedby VBTeam | 6 Comments    
Spot the Bug! – Much Ado about Nothing… (Jonathan Aneja)
03 November 09 06:32 PM
Microsoft has this neat mailing list called “Spot the Bug” where developers can send interesting snippets of code that look correct but actually have subtle bugs in them. The puzzles are a lot of fun and I’ve always thought it’d be a fun thing to try Read More...
Postedby VBTeam | 6 Comments    
Getting Loopy (Matt Gertz)
07 October 09 02:50 PM
In my last post, I talked about the hidden costs that can occur whenever you call out to methods, particularly in loops. In looking at my examples, reader KG2V commented that another thing that folks need to be aware of is avoiding the assumption that Read More...
Postedby VBTeam | 10 Comments    
Filed under: , , ,
Hidden Costs (Matt Gertz)
06 October 09 12:54 PM
(Note: there was a grievous error in this post based on a bad assumption on my art regarding VB. Not feeling the need to hide my ignorance :-), I have instead made a number of edits in this post to bring it back to some semblance of reality.) One thing Read More...
Postedby VBTeam | 15 Comments    
Filed under: , , ,
Testing Events for Nothing/Null (Doug Rothaus)
25 September 09 10:10 AM
While helping some Windows API folks with some sample code this week, I stumbled upon...uh...I mean “carefully researched” an issue that you might find handy. You may be aware that the RaiseEvent statement automatically checks to verify if an event handler Read More...
Postedby VBTeam | 7 Comments    
Filed under: , ,
It’s a Small World, After All, part 2 – VB, C#, and GPS (Matt Gertz)
05 August 09 12:30 PM
In my previous post, we fixed up a C# GPS library to provide more support, and wrote all of the UI for a VB GPS application, all based on (but modified from) a Mobile GPS sample in the Windows Mobile 6.0 SDK. In this post, we’ll finish up the app by enabling Read More...
Postedby VBTeam | 9 Comments    
Filed under: , ,
It’s a Small World, After All, part 1 – VB, C#, and GPS (Matt Gertz)
04 August 09 02:34 PM
The title of this blog post has sort of a triple meaning for me. First of all, I just got back from a long (and wonderful!) cruise in the Caribbean, followed by a stop at Disney World. And of course, if you go to Disney World with kids, it’s the law that Read More...
Postedby VBTeam | 5 Comments    
Filed under: , ,
Dynamic Searching using LINQ - Dataset + Joins
10 July 09 05:22 PM
About two years ago I posted some code that shows how to dynamically construct LINQ queries at runtime . On average there's a couple questions per month about trying it in some edge case, and usually the support already exists within the API. Recently Read More...
Postedby VBTeam | 5 Comments    
Attachment(s):DynamicQueries.zip
VB Entity Framework Samples Now Available (Lisa Feigenbaum)
18 June 09 10:45 PM
There are a lot of great Entity Framework samples on Code Gallery that you can now find available in Visual Basic .NET. This was recently announced on the ADO.NET team blog . Browse through the list below and start downloading! ADO.NET Entity Framework Read More...
Postedby VBTeam | 3 Comments    
Filed under: ,
Phoning Home, revisited (Matt Gertz)
21 May 09 10:43 AM
In my post “ M. G. Phone Home ,” I discussed how to write a simple phone application for Windows Mobile, using Visual Basic, which accesses the Bluetooth service. What I didn’t discuss was how to deploy it to the phone via CAB. Since I purchased a new Read More...
Postedby VBTeam | 1 Comments    
Filed under: , ,
CodeRush Xpress 9.1 Beta: 59 Refactorings, 17 Consume-first providers, and Much more! (Lisa Feigenbaum)
04 May 09 08:07 PM
Very exciting news! Developer Express is coming out with a new version of the FREE add-in we all know today as Refactor! . The new product, CodeRush XPress, builds on Refactor! by increasing the refactoring count to 59! It also includes a host of other Read More...
Postedby VBTeam | 6 Comments    
XML Literals, WCF and LINQ Article by Steele Price (Lisa Feigenbaum)
02 May 09 02:02 PM
Steele wrote a great article in last month's issue of Visual Studio Magazine on XML Literals, WCF and LINQ. He shows how to use these three technologies together to produce more responsive ASP.NET pages, and more readable code. Lots of great tips for Read More...
Postedby VBTeam | 3 Comments    
Two free e-books available till April 22th to celebrate MS Press’s 25th b-day (Daniel Walzenbach)
16 April 09 02:30 PM
2009 is the 25th anniversary of Microsoft Press ! To celebrate their b-bay they’re giving away two free e-books, namely Windows Small Business Server 2008 Administrator's Companion by Charlie Russel and Sharon Crawford (27 chapters, 3 appendices, 712 Read More...
Postedby VBTeam | 12 Comments    
More Posts Next page »

This Blog

Syndication

Page view tracker