Category Archives: 7341

Why isn’t Windows Phone 8 an update for Nokia Lumia’s ?

Yesterday’s announcement of Windows Phone 8 not being an upgrade for the latest Nokia phones, including Lumia 800, 900 et al, has been met understandably with both disappointment and anger from many existing handset owners. I’ve also seen some articles/comments … Continue reading

Posted in 14721, 15036, 15128, 17126, 17127, 492, 494, 7341 | Leave a comment

Lightswitch suddenly becomes relevant

The LightSwitch team announced that LightSwitch will render to HTML5 + javascript. This is huge in expanding and liberating the client requirements including mobile devices !! see the LightSwitch team blog for more details ..

Posted in 14292, 16843, 491, 5162, 7341 | Leave a comment

Visual Studio 11 ALL CAPS

The following is my response to the VS blog post about the design for all caps in top level menus: http://blogs.msdn.com/b/visualstudio/archive/2012/06/05/a-design-with-all-caps.aspx First off, why would you want to add *EMPHASIS* to menus when the design philosophy stated for the new … Continue reading

Posted in 17054, 491, 5162, 7341, 8582 | Leave a comment

Visual Studio toolbar

The beta of Visual Studio 11 is causing a lot of feedback around the grey shade icons.  The use of colour or not has also brought to the forefront the UI for colour-blind people.  So I thought I’d post a … Continue reading

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

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

VB Quark #6: Date operators

The DateTime structure in .NET includes custom operators for Date comparisons such as less than, greater than, equal and not equal; but did you know it also includes addition and subtraction operators ?  There’s two subtraction operators and one addition … Continue reading

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

VB Quark #5: C is for Char

Can you pick the problem with this code ? :       Dim currentChar As Char       For i = 0 To largenumber          currentChar = getChar(i)          If currentChar = "a" Then             count += 1          End If       Next   The … Continue reading

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

VB Quark #4: type literals

Do you know why you can’t write this code in VB:    Dim x = 123456789.0123456789 Answer: The IDE won’t let you If you try to write that code the IDE will truncate the number, giving :    Dim x … Continue reading

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

VB Quark #3: operator differences in VB/C#

Can you spot the problem with this code:    <Extension()>    Public Function ToColor(argb As UInteger) As Color       Return Color.FromArgb( _                       CType((argb & &HFF000000) >> &H18, Byte), _                       CType((argb & &HFF0000) >> &H10, Byte), _                       CType((argb & &HFF00) >> 8, … Continue reading

Posted in 13569, 15036, 16311, 491, 5162, 5726, 6184, 7187, 7341 | 1 Comment