Browse by Tags

How LINQ to Dataset works in VB (Jonathan Aneja)
14 May 08 04:52 PM
LINQ at its core requires any data source to be queryable , which basically means it must implement IEnumerable. (It’s actually a bit more complicated than that, for a full explanation see section 11.21.2 of the Visual Basic 9.0 Language Specification Read More...
Using LINQ to Dataset in an .aspx page (Jonathan Aneja)
13 May 08 06:35 PM
Recently I got a customer question about how to use LINQ to Dataset in an .aspx file. The compiler was complaining that it couldn't find the AsEnumerable method that allows LINQ to work over a DataTable ("AsEnumerable is not a member of 'DataTable'"). Read More...
Postedby VBTeam | 2 Comments    
Launching External Tools from inside Visual Studio (Jonathan Aneja)
27 November 07 08:08 PM
Visual Studio has a small but extremely useful feature that allows you to hook external tools directly into the IDE’s Tools menu. All you have to do is click Tools->External Tools… and then you can add your own custom menu items that will launch a Read More...
Postedby VBTeam | 1 Comments    
Option Strict [On|Off|SortOf]
25 September 07 03:29 PM
Yesterday I got a question from a developer asking whether or not we could add something called "Option Strict Warn" to the language. This would give a developer a warning when using something like late binding or an implicit conversion, rather than disabling Read More...
Postedby VBTeam | 4 Comments    
Implementing Dynamic Searching Using LINQ
29 August 07 03:51 PM
A common requirement in forms-over-data applications is that users be able to search by any combination of fields to construct a dynamic query at run time. For example, the search feature in this application allows the user to find all records that meet Read More...
Postedby VBTeam | 4 Comments    
Attachment(s):DynamicCondition.zip
LINQ Cookbook, Recipe 7: Selecting Pages of Data from Northwind (Jonathan Aneja)
12 July 07 10:58 AM
Ingredients: - Visual Studio 2008 (Beta2 or Higher) - Connection to Northwind database Categories: LINQ-To-Objects, LINQ-To-SQL Instructions: · Create a new Windows Forms project with a Northwind DataContext (for step-by-step instructions on how to do Read More...
Postedby VBTeam | 8 Comments    
LINQ Cookbook, Recipe 3: Find all the prime numbers in a given range (Jonathan Aneja)
28 June 07 01:21 PM
Ingredients: - Visual Studio 2008 (Beta2 or Higher) Categories: LINQ-To-Objects Instructions: - Open Visual Studio 2008, and Click ‘File/New Project’. Find and double-click the ‘Console Application’ Icon - Add the following code: Module Module1 Sub Main() Read More...
Postedby VBTeam | 6 Comments    
Slide deck for Interop Toolkit Webcast
06 June 07 05:38 PM
Thanks to everyone who was able to make it out for this morning's webcast. We covered how to use the Interop Toolkit 2.0 to upgrade VB6 applications to VB.NET, how to deploy hybrid applications, and finally we touched on some other great interop resources Read More...
So what does ComClass actually do?
01 June 07 07:59 PM
I came across a really cool article yesterday by James Ashley, which shows some of the cool things you can do with the Interop Forms Toolkit 2.0 . The three VB6 examples cover consuming a WebService (complete with a Dilbert icon showing up in the VB6 Read More...
Postedby VBTeam | 1 Comments    
Just Released - Interop Forms Toolkit 2.0!
02 May 07 02:40 PM
Today we launched the Interop Forms Toolkit 2.0 , which makes it easier than ever to upgrade VB6 applications to .NET. This new release builds on version 1.0 by adding support for the following features: Interop UserControls - These are .NET controls Read More...
Postedby VBTeam | 3 Comments    
Interop Roadmap – UserControls, MDI, and Data
02 November 06 04:53 PM
Recently the VB team released the Interop Forms Toolkit , which allows VB6 developers to extend their existing applications using .NET. The toolkit allows developers to write a regular Windows Form in VB.NET, click “Generate Wrapper Classes”, and then Read More...
Visual Basic 2005 Power Pack!
20 September 06 04:38 PM
I’m excited to announce that the Microsoft Visual Basic 2005 Power Pack has been released and is now available for download on MSDN! In this release we have two components: Microsoft Interop Forms Toolkit 1.0 - This toolkit is aimed at simplifying the Read More...
Postedby VBTeam | 9 Comments    
VB6 Collections: The Missing LINQ
19 June 06 04:44 PM
By Jonathan Aneja Hi, my name’s Jonathan and I’m a Program Manager on the VB team, working mainly on LINQ features. One of the things I love about LINQ is it’s not just limited to querying over databases and XML – you can query over any collection of Read More...
Postedby VBTeam | 2 Comments    
Attachment(s):VB6_to_LINQ.zip

This Blog

Syndication

Page view tracker