Home All Groups Group Topic Archive Search About
Author
27 Nov 2007 4:22 PM
Arthur Dent
Does anyone know where i can find a decently thorough list of the language
changes in VB2008, such as the new If() function?

All i can seem to find through search engines, most of the articles all talk
about LINQ, with only cursory mention - at best - of any other new features.

Thanks in advance, ...
Arthur Dent.

Author
27 Nov 2007 6:31 PM
Cor Ligthert[MVP]
Hi Arthur,

http://weblogs.asp.net/scottgu/archive/2007/11/19/visual-studio-2008-and-net-3-5-released.aspx

I got this just some minutes ago from Ken, I did not read it yet, but seems
to be pretty well.

Cor
Author
27 Nov 2007 6:59 PM
Arthur Dent
Thanks for the link. It *does* look like one of the better articles, but
still doesnt really cover the new features to the actual _language_ of VB.


Show quoteHide quote
"Cor Ligthert[MVP]" <notmyfirstn***@planet.nl> wrote in message
news:C6107C93-4298-4604-B2AB-D597BF1C93BF@microsoft.com...
> Hi Arthur,
>
> http://weblogs.asp.net/scottgu/archive/2007/11/19/visual-studio-2008-and-net-3-5-released.aspx
>
> I got this just some minutes ago from Ken, I did not read it yet, but
> seems to be pretty well.
>
> Cor
>
Author
27 Nov 2007 8:57 PM
Harry
"Arthur Dent" <hitchhikersguideto-n***@yahoo.com> wrote in message
news:7C99435C-5970-4DD3-861D-E4018E959B3C@microsoft.com...
> Does anyone know where i can find a decently thorough list of the language
> changes in VB2008, such as the new If() function?
>
> All i can seem to find through search engines, most of the articles all
> talk about LINQ, with only cursory mention - at best - of any other new
> features.
>
> Thanks in advance, ...
> Arthur Dent.
I am not able to find any reference to an If() function in VS2008. Did you
mean Iif() function?

The most compeling thing about VS2008 is that it is a major bug fix for
VS2005. I am not experiencing all the hangs I used to get in the previous
version (when working on a large solution). Further to this 2008 loads much
faster, projects load much faster and the IDE is much more stable. Help also
loads much faster.

If you like VS2005 you will love VS2008
Author
27 Nov 2007 9:32 PM
Arthur Dent
Yes, i've been using the Express version until the product actually ships...
for us non-MSDN people.  ;)

If() is a new function in 2008... it has two overloads,

    If(booleanCondition, resultIfTrue, resultIfFalse)    > this works
basically like Iif() but with lazy evaluation (FINALLY!!)

    If(object, defaultValue) > this returns the value of object if possible,
otherwise it returns defaultValue. Sort of a VB implementation of Sql
Server's IsNull function or ORACLE's NVL.

Then things like the shortcut for creating a nullable value...
Dim var As Nullable(Integer)     can now be    Dim var As Integer?

Those are the little things i'm looking to find out about... some sort of
thorough listing of those kinds of changes.
CheerZ!  :)


Show quoteHide quote
"Harry" <harryNoSpam@ffapaysmart.com.au> wrote in message
news:uJH20fTMIHA.5172@TK2MSFTNGP06.phx.gbl...
> "Arthur Dent" <hitchhikersguideto-n***@yahoo.com> wrote in message
> news:7C99435C-5970-4DD3-861D-E4018E959B3C@microsoft.com...
>> Does anyone know where i can find a decently thorough list of the
>> language changes in VB2008, such as the new If() function?
>>
>> All i can seem to find through search engines, most of the articles all
>> talk about LINQ, with only cursory mention - at best - of any other new
>> features.
>>
>> Thanks in advance, ...
>> Arthur Dent.
> I am not able to find any reference to an If() function in VS2008. Did you
> mean Iif() function?
>
> The most compeling thing about VS2008 is that it is a major bug fix for
> VS2005. I am not experiencing all the hangs I used to get in the previous
> version (when working on a large solution). Further to this 2008 loads
> much faster, projects load much faster and the IDE is much more stable.
> Help also loads much faster.
>
> If you like VS2005 you will love VS2008
>
Author
27 Nov 2007 9:39 PM
Mark Lincoln
Here's a link to a developer blog regarding the new If and other
things...

http://blogs.msdn.com/vbteam/archive/2007/11/20/hidden-gems-in-visual-basic-2008-amanda-silver.aspx

Show quoteHide quote
On Nov 27, 4:32 pm, "Arthur Dent" <hitchhikersguideto-n***@yahoo.com>
wrote:
> Yes, i've been using the Express version until the product actually ships...
> for us non-MSDN people.  ;)
>
> If() is a new function in 2008... it has two overloads,
>
>     If(booleanCondition, resultIfTrue, resultIfFalse)    > this works
> basically like Iif() but with lazy evaluation (FINALLY!!)
>
>     If(object, defaultValue) > this returns the value of object if possible,
> otherwise it returns defaultValue. Sort of a VB implementation of Sql
> Server's IsNull function or ORACLE's NVL.
>
> Then things like the shortcut for creating a nullable value...
> Dim var As Nullable(Integer)     can now be    Dim var As Integer?
>
> Those are the little things i'm looking to find out about... some sort of
> thorough listing of those kinds of changes.
> CheerZ!  :)
>
> "Harry" <harryNoS***@ffapaysmart.com.au> wrote in message
>
> news:uJH20fTMIHA.5172@TK2MSFTNGP06.phx.gbl...
>
>
>
> > "Arthur Dent" <hitchhikersguideto-n***@yahoo.com> wrote in message
> >news:7C99435C-5970-4DD3-861D-E4018E959B3C@microsoft.com...
> >> Does anyone know where i can find a decently thorough list of the
> >> language changes in VB2008, such as the new If() function?
>
> >> All i can seem to find through search engines, most of the articles all
> >> talk about LINQ, with only cursory mention - at best - of any other new
> >> features.
>
> >> Thanks in advance, ...
> >> Arthur Dent.
> > I am not able to find any reference to an If() function in VS2008. Did you
> > mean Iif() function?
>
> > The most compeling thing about VS2008 is that it is a major bug fix for
> > VS2005. I am not experiencing all the hangs I used to get in the previous
> > version (when working on a large solution). Further to this 2008 loads
> > much faster, projects load much faster and the IDE is much more stable.
> > Help also loads much faster.
>
> > If you like VS2005 you will love VS2008- Hide quoted text -
>
> - Show quoted text -
Author
27 Nov 2007 9:56 PM
Arthur Dent
Great link; thanks for that!  :)

Show quoteHide quote
"Mark Lincoln" <mlinc***@earthlink.net> wrote in message
news:0dca0c6b-3d37-4484-b4dd-aea396192d13@j20g2000hsi.googlegroups.com...
> Here's a link to a developer blog regarding the new If and other
> things...
>
> http://blogs.msdn.com/vbteam/archive/2007/11/20/hidden-gems-in-visual-basic-2008-amanda-silver.aspx
>
> On Nov 27, 4:32 pm, "Arthur Dent" <hitchhikersguideto-n***@yahoo.com>
> wrote:
>> Yes, i've been using the Express version until the product actually
>> ships...
>> for us non-MSDN people.  ;)
>>
>> If() is a new function in 2008... it has two overloads,
>>
>>     If(booleanCondition, resultIfTrue, resultIfFalse)    > this works
>> basically like Iif() but with lazy evaluation (FINALLY!!)
>>
>>     If(object, defaultValue) > this returns the value of object if
>> possible,
>> otherwise it returns defaultValue. Sort of a VB implementation of Sql
>> Server's IsNull function or ORACLE's NVL.
>>
>> Then things like the shortcut for creating a nullable value...
>> Dim var As Nullable(Integer)     can now be    Dim var As Integer?
>>
>> Those are the little things i'm looking to find out about... some sort of
>> thorough listing of those kinds of changes.
>> CheerZ!  :)
>>
>> "Harry" <harryNoS***@ffapaysmart.com.au> wrote in message
>>
>> news:uJH20fTMIHA.5172@TK2MSFTNGP06.phx.gbl...
>>
>>
>>
>> > "Arthur Dent" <hitchhikersguideto-n***@yahoo.com> wrote in message
>> >news:7C99435C-5970-4DD3-861D-E4018E959B3C@microsoft.com...
>> >> Does anyone know where i can find a decently thorough list of the
>> >> language changes in VB2008, such as the new If() function?
>>
>> >> All i can seem to find through search engines, most of the articles
>> >> all
>> >> talk about LINQ, with only cursory mention - at best - of any other
>> >> new
>> >> features.
>>
>> >> Thanks in advance, ...
>> >> Arthur Dent.
>> > I am not able to find any reference to an If() function in VS2008. Did
>> > you
>> > mean Iif() function?
>>
>> > The most compeling thing about VS2008 is that it is a major bug fix for
>> > VS2005. I am not experiencing all the hangs I used to get in the
>> > previous
>> > version (when working on a large solution). Further to this 2008 loads
>> > much faster, projects load much faster and the IDE is much more stable.
>> > Help also loads much faster.
>>
>> > If you like VS2005 you will love VS2008- Hide quoted text -
>>
>> - Show quoted text -
>
Author
27 Nov 2007 9:58 PM
Herfried K. Wagner [MVP]
"Arthur Dent" <hitchhikersguideto-n***@yahoo.com> schrieb:
> Does anyone know where i can find a decently thorough list of the language
> changes in VB2008, such as the new If() function?
>
> All i can seem to find through search engines, most of the articles all
> talk about LINQ, with only cursory mention - at best - of any other new
> features.

The Visual Basic Team
<URL:http://blogs.msdn.com/vbteam/>

What's New in Visual Basic
<URL:http://msdn2.microsoft.com/en-us/library/we86c8x2(vs.90).aspx>

What's New in the Visual Basic Language
<URL:http://msdn2.microsoft.com/en-us/library/y17w47af(VS.90).aspx>

What's New in the Visual Basic Compiler
<URL:http://msdn2.microsoft.com/en-us/library/x9es5c23(VS.90).aspx>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>