Monthly Archives: November 2011

VB Quark #7 : Optional Parameters and Dates

Hopefully you already know VB has full support for Optional parameters, both declaring them and calling them, but did you know you can use Dates as Optional parameters ?    Public Sub AddNewCustomer(customer As Customer,                               Optional dateAdded As Date = Nothing)       … Continue reading

Posted in 13569, 16311, 491, 5162, 5726, 7099, 7341, 8917 | Leave a comment

Displaying Dates in VS 2010

From time to time there’s discussion about the way dates are displayed in the Visual Studio IDE for Visual Basic. Typically dates are shown using VB’s date literal syntax of #MM/dd/yyyy# which is the standard US format.  For people outside … Continue reading

Posted in 13569, 491, 5162, 5726, 7099, 7341, 8582, 8917 | Leave a comment