/Home /Archive /Syndicate /Blog /Support /About /Contact  
All Visual Basic Feeds in one place!





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 on the XML literal.  But if you are using prefixed namespaces imported at file level, then you must add an imports at project level via the project properties reference tab. You have two choices: Import System.Xml.Linq for the en ... [ read more ]
Been a while since I posted Chapter 3 of Petzold's WPF book converted to VB .   In case you missed it, Patrick started working on this project which I took over early this month.  Anyway, I am very excited to tell you about progress we've been able to make so far. First, we now have a separate article page, Applications = Code + Markup (Charles Petzold) Visual Basic Code Sample , where you can grab all the converted sample packages.  We will be updating this ... [ read more ]
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 once per the document or outer element. The problem is caused by VB adding a xmlns declaration as an attribute to the root element. It can get a bit more complex if you have duplicate namespace declarations with different prefixes.  So I d ... [ read more ]
An article showing how to create a very simple text label with a meter/progress bar.


© 2005 Serge Baranovsky. All rights reserved.
All feed content is property of original publisher. Designated trademarks and brands are the property of their respective owners.

This site is maintained by SubMain(), a division of vbCity.com, LLC