Visual Basic Frequently Asked Questions

Maintained by Duncan Mackenzie and some great VB MVPs

Browse by Tags

Tagged Content List
  • Blog Post: How do I determine the difference between two dates?

    Posted by: Duncan Mackenzie , MSDN This post applies to Visual Basic .NET 2002/2003 This common question is often phrased as "How do I find the number of hours between two dates?", substituting minutes, seconds, days, or whatever interval you are looking for in the place of 'hours'. Well, in Visual...
  • Blog Post: Workaround: Arrays with non-zero lower bounds

    Posted by: Phil Weber , VB MVP This post applies to Visual Basic .NET 2002/2003/2005 OK, now that Paul Vick has explained why VB.NET doesn't support arrays with non-zero lower bounds, let's see how we can do them anyway. ;-) Say you want to store a collection of annual values in an array of integers...
  • Blog Post: Why doesn't VB support non-zero lower bounds for arrays?

    Posted by: Duncan Mackenzie , MSDN This post applies to Visual Basic .NET 2002/2003/2005 Another answer from Paul Vick , Technical Lead on VB.NET, explaining the changes in array bounds from Visual Basic 6.0: Why doesn't VB support non-zero lower bounds for arrays? ... We allowed programmers to declare...
  • Blog Post: Why did Visual Basic .NET introduce AndAlso and OrElse?

    Posted by: Duncan Mackenzie , MSDN This post applies to Visual Basic .NET 2002/2003/2005 Paul Vick , Technical Lead on VB.NET, and the author of the Visual Basic .NET Language Specification, discusses the new short-circuiting boolean operators added in Visual Basic .NET 2002. Why did we introduce AndAlso...
  • Blog Post: Operator Overloading?

    Posted by: Phil Weber , VB MVP This post applies to Visual Basic .NET 2005 (“Whidbey”) Gokhan Altinoren asks: What was the design decision behind the fact that VB.NET does not support operator overloading? Will this feature be in the VB.NET specification in the future? Sadly,...
Page 1 of 1 (5 items)