Visual Basic Blog

A group blog from members of the VB team

Transactional Update using TableAdapters

As promised, I’ve put together a sample that demonstrates how to create a transactional update using the new Whidbey TableAdapters. http://windowsforms.net/samples/ThreeLevelUpdate.zipIn this sample I create a Parent, Child and Grandchild relationship.  The tables are named, Parent, Child and Grandchild… JUsing the sample you...

Why can’t I drag from Server Explorer to my form?

This was one of the hardest decisions we had to make.  We know this is a very intuitive way to work.  I’ve got my database, and I want it on my form (period).BackgroundFirst, lets look at what we had in 2002, 2003.  In 2003 you could drag from Server Explorer to your form, but we didn’t give you textboxes and labels...

VB Suggestions

I posted an update on the suggestions the VB team has received from the Product Feedback Center and what how they have been resolved. Check out my blog.http://blogs.msdn.com/rgreen_msft/archive/2004/08/25/220317.aspxRobert GreenVB Program Manager...

New article on My

There have been some great articles on My coming out over the past month.  This article by Jesse Liberty provides some good examples of how My services can be integrated into applications.  If you're working with the Beta, you may notice a few discrepancies between the article and the Beta bits.  For example, My....

Why are the Data Components no longer on the Toolbox?

The short answer:We’ve updated from untyped, configured DataAdapters to Typed, Code Generated classes similar to the type DataSet for DataAdapters.  or: The reasoning:With new releases of products, we work to make experiences better.  In Whidbey (Visual Studio 2005), we were able to pick up where we left off in 2002 for ...

Updating a Joined Query

A statement we hear a lot is:“The Typed DataSet is great, but the DataAdapters don’t support joined queries.  I need a relational model in the database, but I need my application model to flatten things out:” Using the Data Component Wizard, which is essentially the 2003 DataAdapter Wizard, developers can create an ...

Connection and Transaction properties exposed as Friend on TableAdapters

Connection Modifier Changes In the Beta 1 build of VS 2005 we expose the Connection as Friend.  Friend ReadOnly Property Connection() As System.Data.SqlClient.SqlConnection Based on user feedback and usability studies we've found that this has caused confusion.  We've found that when users are creating DataSets within their exe ...

Tips and Tricks of Visual Studio File and Project References

Tips and Tricks of Visual Studio File and Project References Cameron McColl, Bill HorstVisual Basic Product TeamMicrosoft Corporation   August 2004   Summary:  This paper describes some of the interesting properties and quirks of the Visual Studio .NET Visual Basic project model. The paper explores what's going on, and proposes...

Hot Job Alert: Programmer/Writer opening on Visual Basic Team

(image) (image) Developer Tools User Education is looking for an experienced, creative writer with strong programming skills for the Visual Basic team. In this role, you'll document the Visual Basic application building process, including deployment and project design. The Visual Basic audience demands that the documentation ...

VS Powertoy – Bootstrapper Manifest Generator is Released for Beta 1

Posted By: David Guyer, VB Testing The Bootstrapper Manifest Generator was created to make it easier to create custom packages for Components (PreRequisites) in Visual Studio 2005 (Beta 1). One of the powerful aspects of the Generic Bootstrapper that is built into Visual Studio .NET and the .NET Frameworks Software Development Kit is the ...