.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: Type inference in Visual Basic 2008

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

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

View Complete Post

More Related Resource Links

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


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

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

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: 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

Delegates in .NET: A Primer on Creating Type-Safe References to Methods in Visual Basic .NET


Delegates, new in Visual Basic .NET, are type-safe, object-oriented references to methods. By using delegates, you make your methods accessible to others and therefore more extensible. This article provides an introduction to delegates, their benefits, and how they are used.Here the author shows you how to declare, create, and use delegates to invoke instance and shared methods at run time, and how to implement delegates as properties. He then goes on to provide examples of how delegates are used for callback functionality and explains the relationship between delegates and events. Finally, the article provides a glimpse at how delegates are implemented in intermediate language code by the Visual Basic .NET compiler.

Jesse Liberty

MSDN Magazine February 2003

WPF - Visual Basic 2008 - Grid vs. DataGrid vs. Timeline vs. Gantt Chart


I am relatively new here but here goes. I am working with Windows XP, Visual Studio 2008, SQL Server 2005, WPF. I am working on a Payroll System and trying to create a work schedule grid. I have searched for timelines and datagrids and Gantt Charts to see if anything like this has been done but can't seem to find anything. What I am trying to do is I have a Crosstab query that goes against two tables. Table 1 is Employee Number, Employee Name, Employee Location. Table 2 has Employee number, Date, Hours. The query gives me Header Row 1, Employee Name in Column 1, then each date (1/1, 1/2, 1/3, etc.) for the following columns. So Row 2 is Joe Smith in Column 1, 8 hours in Column 2, 0 hours in column 3, etc.

I need this information displayed in a grid format that could be scrolled. I couldn't find timeline views or datagrids views. Can anyone point me in the right direction? I have checked other sites but there doesn't appear to be any examples anywhere.

How to make a chat program in visual basic 2008


Hi folks,

I am making a card game and i would like to make a host so that many clients can join to play, chat and share information together on a specific port or server (or whatever it is, I'm not too familiar with these)...

I would be grateful if you could provide me with some coding or anything else in vb.net to make such connection between host and many clients over the internet...

Thanks in advance.


How to delete a row drom database through datagrid view in Visual Basic 2008?


I am trying to delete a row from database through datagridview. some more information about coding is "data as Dataset" & "adap as TableAdapter" & "Group is my Table Name". I am using Visual Basic 2008 express edition with sql server 2008 Express Edition with Management Studio. I created the .mdf file in Mangement studio and i connected this file directly to the project. My opreating System is WINxp Proffessional. Now my code is given below:

For Each Row As DataGridViewRow In GroupDataGridView.SelectedRows


when i applied this code only one was deletd that time. But when i close the program and redubug the program whole data was deleted.

And then next i tryed this code :

Dim dr As DataRow
    dr = Me.data.Group.Rows.Item(GroupDataGridView.CurrentRow.Index)



Visual Basic Extract Links, VB 2008 Extracting URL Links, Visual basic 2008 extracting html links, v

I'm new to visual basic 2008 & was wondering if anyone could show a great code sample for extracting url/links from web page html.

I've seen this code in other threads, but not sure how to use it:
(?<=\<form\sname="dlf"\ action=")[a-zA-Z0-9\.\\_:\/^<="]+ 

Maybe I don't need this and there's another way to extract links. I know that somebody here knows how.  ;o]

Please specify an exact code sample for this page (since it has a lot of links.):


visual basic 2008 and installin sql conflict


I have visual Basic Studio Express and tried installing sql framework for triing to buld northwind database for the first time and in tryin to install sql it says there is an error with visual studio express?

any comments or suggestions most welcome to this

How to run Office macros by using Automation from Visual Basic .NET

This step-by-step article describes how to call Office macros from a Visual Basic .NET Automation client.

You can use Microsoft Office Automation to open a document or create a new document that contains a Visual Basic for Applications (VBA) macro and execute the macro at run time.

Dynamically Create Controls in ASP.NET with Visual Basic .NET

This step-by-step article describes how to dynamically create controls for an ASPX Web page.

The sample project does the following:
It creates two TextBox controls.
It verifies that the TextBox contents (TextBox.text) and attributes are saved across posts to the server.
It describes how events that are posted by a dynamically created control are handled.
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