Archive forJune, 2006

So how well do you really know VB ?

okay, so I posted about the If low < x < high Then syntax.  The smart people got it.  But now comes the big question. Under what circumstances will this code give a different result in VB6 compared to VB.NET.   If low < x < high Then   MsgBox (“true”) Else   MsgBox(“false”) End If […]

Click here to read more »

But was it intuitive ??

yesterday I asked people what does the code 2 < 1 < 5 produce.  Much to my amazement everyone seemed to get it right !!  I must admit when the syntax was pointed out to me just the other day I really didn’t expect to see what I saw. Admittedly, the syntax I used was […]

Click here to read more »

What does this code do ?

Will the following VB code display True or False ?  Why ? (and no cheating by actually trying the code and decompiling it)   Option Strict Off   Module Module1      Sub Main()         If 2 < 1 < 5 Then          MsgBox(“true”)       Else          MsgBox(“false”)       End If    End Sub   End Module

Click here to read more »

Messing with JIT options

Sometimes different problems come together to provide a unified solution. Today I think I stumbled across such a thing.  Earlier today I noticed a comment post to an old blog entry of mine about how to tell if an assembly is a debug or release build.   It was nice to see that Google and my blogged […]

Click here to read more »

ADO.Next Entity Framework

The good oil about the ADO.NET Entity Framework can be found via the MS data site. http://msdn.microsoft.com/data/   Make sure you check out the ADO.NET entity framework document just released.

Click here to read more »