Browse by Tags

All Tags » DevCenter (RSS)

XML namespace prefix 'xmlns' is not defined

When working with VB9 you may get this cryptic error : XML namespace prefix 'xmlns' is not defined If you are using only default namespaces you can fix this by including a definition for the xmlns as an Import statement or as an xmlns attribute...
Posted by bill | 8 comment(s)
Filed under: , , , ,

Cleaning up your XML literal namespaces

If you use XML literals in your code, adding one to another: Dim e1 = <a:books></a:books> dim e2 = <a:book></a:book> e1.Add(e2) You will have the xmlns declaration repeated in each of the elements, when really it is only needed...
Posted by bill | 11 comment(s)
Filed under: , , , , ,

Snippet paths and duplicates in VS 2008

If you install VS 2008 on a machine that has VS 2005 on it, you'll be prompted to let VS 2008 import as many of your settings from 2005 as possible. Generally this is a good thing, but you might run into some issues with code snippets as you might...
Posted by bill | with no comments
Filed under: , ,

Bug in XML literals around the Imports keywords..

In VB9, there's a bug when using XML literals with any type member that is a protected keyword. For example, given the following psuedo types, Class Doc Public Property [Imports]() As List( Of DocImports) End Class Class DocImports Public Property...
Posted by bill | 2 comment(s)
Filed under: , , , , ,

VS 2008 is LIVE !!!

Just spotted it on MSDN subscriber downloads. Enjoy :)
Posted by bill | 2 comment(s)
Filed under: , , , ,

Update on Snippet Editor

I've finally given the Snippet Editor a major make over including a new look. To go with this, I've given it a new home on my web site: http://billmccarthy.com/Projects/Snippet_Editor And I've added a Snippets category to this blog for feedback...
Posted by bill | 2 comment(s)
Filed under: , , , , , ,

Old error, new look !

In playing with Windows.Forms in VS 2008, I got the same old error I use to get in VS 2005 sometimes: Type must be a type provided by the runtime. Parameter name: type The good news is it looks so much prettier in VS 2008. It's not fixed, but look...
Posted by bill | with no comments
Filed under: , ,

Snippet Editor 2008 release

I've updated the Snippet editor to work with Visual Studio 2008 and 2005 releases. Note this release requires .NET 3.5. Changes/fixes: Added 2008 product range to the list of products Fixed replacement of the install root variable for Visual Studio...
Posted by bill | 5 comment(s)
Filed under: , , , , ,

Oh so you want polymorphism ???

I recall almost four years ago to this day, I was at the 2003 PDC in LA. On the last day of the conference, the head architects of different .NET languages got together and talked about language directions, generics and some of the "VS 2005"...
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: , , , , , , ,

OK is not OK, but Close is ?

I've been rummaging through the Windows Vista User Interface Experience Guidelines draft, a 33 MB pdf file , and it poses some interesting questions around warning and exception dialog messages. Now apparently it is not OK to present the user with...
Posted by bill | 3 comment(s)
Filed under: , ,

Schemas in the scheme of things...

I got an interesting email today, which, to paraphrase, said: I would like a syntax where I can say “an XElement that follows this XSD" This question actually digs deep into the issue of strong typing versus dynamic typing and what it really is we...
Posted by bill | with no comments
Filed under: , , ,
More Posts Next page »