.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Basic Instincts: Multi-Targeting Visual Basic Applications in Visual Studio 2010

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Visual Studio 2010 lets you create applications that target versions of the Microsoft .NET Framework from 2.0 to 4, and each step in between. We take a look at how multi-targeting works in Visual Studio today, and explain how you should approach multi-targeting in your projects.

Spotty Bowles

MSDN Magazine June 2010

View Complete Post

More Related Resource Links

Basic Instincts: Generic Co- and Contravariance in Visual Basic 2010


Dig into the new co- and contravariance features coming in Visual Studio 2010. Binyam Kelile provides hands-on Visual Basic examples to explain how they provide more flexibility when working with generic interfaces and delegates.

Binyam Kelile

MSDN Magazine March 2010

Basic Instincts: Collection and Array Initializers In Visual Basic 2010


Collection Initializers are a great addition to the language and allows concise syntax in order to initialize both framework and user defined collection types.

Spotty Bowles

MSDN Magazine October 2009

Visual Basic 9.0 error in Visual Studio 2010


I just upgraded from Visual Studio 2005 to Visual Studio 2010 yesterday. I tried opening my site; it started the conversion wizard and seemed to work OK. However, I get the error "Visual Basic 9.0 does not support this kind of lambda expression." Here is my code:

Dim MatchLength As Integer = Url.Path.Length
                        Dim D As GetRedirectedUrlDelegate = _
          Dim NewQuerystring As QuerystringContext = Url.QuerystringContext.Clone()
          Return Url.Clone(NewPath, NewQuerystring)
        End Function

            Match = New RedirectMatch(MatchLength, d)
            Return True

The error is on the "Function()" line. I thought multi-line lambda functions were one of the new VS2010 features. Why am I getting a VB9.0 error

Visual Basic: What's New in Visual Basic 2010


Learn about what's new in Visual Basic 10 straight from a program manager on Microsoft's Visual Basic team. Jonathan Aneja demonstrates time-saving features that help developers get more done with fewer lines of code.

Jonathan Aneja

MSDN Magazine April 2010

Parallel Debugging: Debugging Task-Based Parallel Applications in Visual Studio 2010


In Visual C++ 10 and the Microsoft .NET Framework 4, Microsoft is introducing new libraries and runtimes to significantly ease the process of expressing parallelism in your code base, together with new tool support for performance analysis and debugging of parallel applications. In this article, you will learn about debugging support in Visual Studio 2010, much of which is focused on task-based programming models.

Stephen Toub, Daniel Moth

MSDN Magazine September 2009

Basic Instincts: XML Programming in Visual Basic 9.0


With Visual Basic 9.0, working with XML gets much easier for developers. Here's a look at some of the new features, including LINQ support, XML literals, embedded expressions, XML properties, and XML Schema IntelliSense.

Jonathan Aneja

MSDN Magazine February 2008

Basic Instincts: Type inference in Visual Basic 2008


Visual Basic 2008 provides type inference to get the language ready to take advantage of LINQ and make your code more robust.

Bill Horst

MSDN Magazine October 2007

VISUAL BASIC: Unleash The Power Of Query In Visual Studio "Orcas"


LINQ, coming in the next version Visual Studio, codename "Orcas", adds type-safe data querying to .NET languages.

Ting Liang and Kit George

MSDN Magazine June 2007

Paste As Visual Basic: A Visual Studio Add-In That Converts C# Code To Visual Basic


Build a Visual Basic add-in that lets you copy C# code and paste it into Visual Studio as Visual Basic using the code converter of your choice. Scott Swigart shows you how.

Scott Swigart

MSDN Magazine February 2006

Basic Instincts: Programming I/O with Streams in Visual Basic .NET


If you are just now migrating from Visual Basic® 6. 0 to Visual Basic . NET, be prepared for a change, because the way you program file I/O is very different. The good news is that an idiosyncratic, proprietary approach has been replaced by an elegant and reusable one that has become an industry standard.

Ted Pattison

MSDN Magazine November 2005

Basic Instincts: Reflection in Visual Basic .NET


In the May 2005 Basic Instincts column I wrote about the Microsoft® . NET Framework support for custom attributes and attribute-based programming (see Basic Instincts: Designing With Custom Attributes).

Ted Pattison

MSDN Magazine August 2005

Basic Instincts: Naming and Building Assemblies in Visual Basic .NET


Learn what the different parts of an assembly name mean, how to create a stronly named assembly, and get other assembly security tips.

Ted Pattison

MSDN Magazine August 2003

Hands-on Labs in C# and Visual Basic: Getting Started with Development on SharePoint 2010

Use these 10 hands-on lab manuals to get started learning SharePoint 2010 development.

Setting a focus on a datagridview - visual basic 2010


i am was able to cause the mouse wheel to work on my datagridview.

now i have noticed that when the form first loads i actually need to click the datagridview to set the focus on it and then i can scroll

i added two line for my form load event

    ' Selecting first datagrid row
        grdAccountTypes.Rows(0).Selected = True

but that didn't solve my problem either.


any ideas ?


Visual Studio 2010 - Multi-Value AD Attributes


I have been beating my head for a while trying to figure this out...

What is the proper syntax to assign/append/remove/clear a multi-value attribute using Visual Studio 2010?  

The old syntax in VB/HTA (for appending) was: "objGroup.PutEx ADS_PROPERTY_APPEND, "ValueName", Array(Value)"

In Visual Studio 2010, it converts that line into this: "objGroup.PutEx(ADS_PROPERTY_APPEND, "ValueName", Array(Value))" but it does not understand the "Array(Value)" requirement.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend