Browse by Tags

Spot the Bug! – The Key to using Anonymous Types (Jonathan Aneja)
16 November 09 11:54 PM
This one’s going to be long, but for those of you who’ve felt the first 3 in this series were too easy I promise this one’s tougher J . Let’s say you want to list all the customers from a table in a ComboBox, and update the UI based on which one is selected. Read More...
Spot the Bug! – Is it in VB or XAML? (Jonathan Aneja)
12 November 09 07:39 PM
What’s wrong with the following WPF code? Class Window1 Sub OK_Click(sender As Object , e As RoutedEventArgs) Handles OK.Click MsgBox( "Button Clicked" ) End Sub End Class < Window x : Class ="Window1" xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Read More...
Postedby VBTeam | 0 Comments    
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 | 10 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    
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...
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    
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 | 2 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 | 4 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 | 10 Comments    

This Blog

Syndication

Page view tracker