Browse by Tags

All Tags » Whidbey (RSS)

Windows Live team continues insults at VB'ers ...

After my post about the first set of insults from the Windows Live team and the Search API samples, it was nice to see some VB samples released. Sadly though they were just the C# samples run through an automated tool. I mean look at this bullshit code...
Posted by bill | 2 comment(s)
Filed under: , , , , , ,

Arrays in VB.NET

You probably know that declaring an array in VB, such as : Dim names(9) As String creates an array with 10 elements. As of VB8 you can use the 0 To syntax for the same thing: Dim names(0 To 9) As String I prefer the 0 To syntax as it clearer for those...
Posted by bill | with no comments
Filed under: , , ,

Counting deck chairs on the titanic

Paul Vick released some statistics in relation to VB , which for discussion sake I'll repeat here : Visual Basic is the #1 .NET language (as reported by Forrester Research) Visual Basic is the #1 downloaded and #1 registered Express Edition (topping...
Posted by bill | 4 comment(s)
Filed under: , , , , , , ,

.NET 3.0 does NOT change .NET 2.0 libraries.

Recently a fellow MVP pointed out the addition of the TransferRequest method to the HttpServerUtility class. The documentation falsely states it as being .NET 3.0 when in fact the change is made in .NET 3.5 Beta. You'd think stating the file versions...
Posted by bill | 3 comment(s)
Filed under: , , , ,

The &operator

I just read again today the claim that you should use + for string concatenation in VB. You should NOT. Just because you can doesn't mean you should. VB has the Concatenation operator & as distinct from the + operator. Yes for the most part adding...
Posted by bill | 1 comment(s)
Filed under: , ,

Defy All Challenges

The latest from Microsoft's Developer Marketing is hilarious ! Seems some folks at MS have way too much time on their hands… But then again what am I doing watching the videos there ? <g> you have to watch the "Team Call" video, I'm sure we've all...
Posted by bill | 1 comment(s)
Filed under: ,

example of a file by file SettingsProvider

the following is the code for the custom SettingsProvider from Geoff and mine's TechEd 2006 presentation: Option Strict On Option Explicit On Imports System Imports System.Configuration ''' <summary> ''' simple example of a SetitngsProvider that...
Posted by bill | 1 comment(s)
Filed under: ,

Saving from a DataGridView

If you click on a button in a toolstrip, such as the save button on a BindingNavigator, the button never gets focus, so the DataGridView never looses focus, so the current changes are not persisted. The first thing you need to do is call EndEdit on the...
Posted by bill | with no comments
Filed under: ,

how well do you know VB (part 2)

a few weeks ago, I posted a quiz about the syntax low < x < high, which really was a quiz about implicit casting of Booleans. Of course the great Dan Appleman got that one right :) That quiz stemmed from an earlier post , and raised some questions...
Posted by bill | 10 comment(s)
Filed under: , ,

Exception Helper for VS 2005

today I updated the open source Exception Helper plugin for Visual Studio 2005. You can view a short screen cast demonstrating it's installation and usage (about 4 minutes) You can download from workspaces.gotdotnet.com/project42
Posted by bill | 9 comment(s)
Filed under: ,

Messing with JIT options

Sometimes different problems come together to provide a unified solution. Today I think I stumbled across such a thing. Earlier today I noticed a comment post to an old blog entry of mine about how to tell if an assembly is a debug or release build ....
Posted by bill | with no comments
Filed under: ,

Builderau just doesn’t get it ?? (early Friday RANT)

A couple of weeks ago, I got an email from Builderau describing how to use snippets in Visual Studio 2005. I was kind of amazed to see that they provided two links to "snippy" editor, but not a single one link to the VB Snippet Editor. That's despite...
Posted by bill | 3 comment(s)
Filed under: , ,
More Posts Next page »