What's New in Visual Basic 9

What's New in Visual Basic 9

  • Comments 15

I'm here in Denver, Colorado where the sun shines bright and the snow is white! I spoke at a Microsoft event yesterday on Visual Basic 9 language features including LINQ and XML Literals and I had a great turn out for the session. I uploaded the deck and samples to Code Galley: http://code.msdn.microsoft.com/whatsnewvb which expand a bit upon the LINQ How-Do-I videos. Have a look and let me know what you think. It was great to get everyone excited about VB 9 and all the awesome productivity features this version has to offer.

There's a great .NET Community here in Colorado. Kathleen Dollard (VB MVP) was gracious to not only pick me up from the airport, get our ears pierced, drive me to Ft. Collins for the .NET User Group, drive me back to Denver in the snow in the middle of the night, help me out at the event.. BUT also is taking me sight-seeing tomorrow. THIS is community, baby!


Leave a Comment
  • Please add 4 and 1 and type the answer here:
  • Post
  • PingBack from http://www.travel-hilarity.com/airline_travel/?p=1148

  • thanks to all who came out to the denver devdays big event this week. this was the first time i've

  • Beth, Our software is designed to work with many different DB engines - Oracle/SQL Server/Access etc.

    We know the schema, but not the engine.

    So how do we best approach this situation and still be able to use LINQ features ?

    Thanks so much

  • Hi Jeff,

    You can still use LINQ over Datasets or your object models. The only thing you won't be able to take advantage of is LINQ to SQL directly. You may want to take a look at the ADO.NET Entity Framework instead for your data access, as this will suport multiple providers in the future.



  • So by creating a dataset in code vs the IDE - and then wiring that up for LINQ -- that will create the separation of actual data storage from dev.env. that we're looking for?

    Did you mean  "You can still use LINQ ON your object models" (ON vs OR)?

    BTW: I was at the Denver Event briefly - but I only had time to see Rob's presentation. Sorry I missed your show!

    Rob demoed the 3 types of LINQ interfaces - the entity framework, which looked interesting but like all of the video's that I've seen, he worked with existing db's - instead of building off of a code-created dataset - which left my question(s) unanswered.

    And of course,  we can't program to that until all providers are known...

    Thanks again!


  • You can use LINQ over in-memory Datasets as well as any object collection. This doesn't change your Data Access architecture, you can use LINQ in any tier to write queries over any object collection, including datasets.

    If you are looking to re-architect your data access then Entity Framework would be the way to go in the future.

    Here are some videos to help get you started with LINQ: http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx#linq



  • can you give me some techniques on developing simple or difficult programs???



  • can you help me teach some techniques on vB on developing programs

  • Hi Beth,

    I'm really getting some value from your tutorials, so thanks for that!

    Just one question however, I'm trying to put a combobox into to column of a DataGridView in VB 2008, however I'm stuck handling the foreign key errors that result when you try to insert a record.  

    I've actually got this working before but struggling this time, can you point me in the direction of the relevant tutorial or article?



  • Hi,

    I'm looking for your thoughts on two items:

    1. What development tools would you recommend for SharePoint application development?

    2. I have 5+ years developing in VBA using MS Access.  What do you suggest for training to move into Visual Studio?  (Can I assume I am best suited to use VB within Visual Studio, given my VBA background?)



  • Hi Peter,

    I think this is the video you need:


    This one may also help:




  • Hi David,

    1. Visual Studio is a great tool for developing Sharepoint Applications. Here's a good set of references to help get you started: http://msdn2.microsoft.com/en-us/sharepoint/aa905691.aspx

    2. I would agree that with your background Visual Basic will be the easier of the languages to learn as syntax will be much more familiar. However, learning the .NET Framework is the more daunting task. :-)

    Please visit the Visual Basic Developer Center for resources and How-Do-I videos on getting up to speed. http://msdn.com/vbasic



  • Beth,

    After many views of the vid's - can you do one where you mix them together?

    Like so:

    A listbox filled with linq-sql-xml for "cars"

    Then a user selects from MORE THAN ONE CAR but NOT ALL the cars - and that query is built DYNAMICALLY.  

    Now let's say the query returns how many miles driven and the average speed PER VEHICLE.

    So the XML should also generate the average speed(s) for ALL vehicles and the TOTAL distance for all vehicles at the end of an html output.  - All the while, the WHERE clause limits by a subset of vehicles.

    Now that is the kind of real world "stuff" that everyone can use for their particular situation.

    Thanks in advance.


  • Beth,

    I have downloaded and setup the ado.net for entities beta - I want to know if I am missing something. I want to create an edmx model from an XML file (vs manually or from a db). Is that something that is possible, or will be possible soon?



  • Oh my - N-Tier data apps was ggggggood !

    Now if I could only wire it up using an asp.net client instead of a Winforms client...

Page 1 of 1 (15 items)