473,804 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Some changes to VB (Whidbey) that may interest you

Just got my hands on Whidbey. Here are a few interesting changes that you
may not be aware of:

1. Continue statement on Do, For and While commands

2. Default Instances of certain classes are back (such as forms).

3. Properties can now have mixed access levels. For example you can
declare a property like this:

Public Property SomeVal() As Integer
Get
Return m_val
End Get

Private Set(ByVal Value As Integer)
m_val = Value
End Set
End Property

4. IsNot keyword. Now instead of If Not someObj Is Nothing, you can
write If someObj IsNot Nothing

Not to mention Operator Overloading, Unsigned types, Generics, Partial
types.
--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Nov 20 '05 #1
19 1099
"Chris Dunaway" <dunawayc@_lunc hmeat_sbcglobal .net> schrieb
Just got my hands on Whidbey. Here are a few interesting changes
that you may not be aware of:


Only a question: Is it legal to make this informatin public?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
In article <to************ *************** **@40tude.net>, Chris Dunaway wrote:
Just got my hands on Whidbey. Here are a few interesting changes that you
may not be aware of:

1. Continue statement on Do, For and While commands

Wooo! Hooo! Now if they would extend the Continue and Exit XXX
statements to use labels - then they could do away with Goto completely
:) Like Java's labeled breaks and continues...
2. Default Instances of certain classes are back (such as forms).

I personaly can live with out that... Never used 'em in VB.CLASSIC, so
I don't expect to now :) But, it will make a lot of other peoples lives
easier.
3. Properties can now have mixed access levels. For example you can
declare a property like this:

Public Property SomeVal() As Integer
Get
Return m_val
End Get

Private Set(ByVal Value As Integer)
m_val = Value
End Set
End Property

Nice... Not essential, but it makes mixed access conceptualy cleaner
then having a public property Get, private method setter...
4. IsNot keyword. Now instead of If Not someObj Is Nothing, you can
write If someObj IsNot Nothing

Lame...
Not to mention Operator Overloading, Unsigned types, Generics, Partial
types.


Wooo! Hoooo! Especially the unsigned types and generics.

--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #3
* "Armin Zingler" <az*******@free net.de> scripsit:
Just got my hands on Whidbey. Here are a few interesting changes
that you may not be aware of:


Only a question: Is it legal to make this informatin public?


AFAIK yes. Most of this information has been presented at the PDC.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #4
On Thu, 13 Nov 2003 18:10:39 +0100, Armin Zingler wrote:
"Chris Dunaway" <dunawayc@_lunc hmeat_sbcglobal .net> schrieb
Just got my hands on Whidbey. Here are a few interesting changes
that you may not be aware of:


Only a question: Is it legal to make this informatin public?


Well, I never signed any NDA and a quick read of the eula doesn't seem to
indicate that I cannot post this information. This DVD was the same one
given out at the PDC so I imagine that it's ok.

I have heard from some beta testers that they received a e-mail from MS
releasing them from their NDA's, so I guess the cat is offically out of the
bag.
--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Nov 20 '05 #5
On Thu, 13 Nov 2003 09:22:58 -0800, Tom Shelton wrote:
2. Default Instances of certain classes are back (such as forms).

I personaly can live with out that... Never used 'em in VB.CLASSIC, so
I don't expect to now :) But, it will make a lot of other peoples lives
easier.


This doesn't work exactly like VB classic. You have to use the new "My"
object: My.Forms.Form1. Show
Not to mention Operator Overloading, Unsigned types, Generics, Partial
types.


Wooo! Hoooo! Especially the unsigned types and generics.

Oh, and I forgot to mention Edit and Continue and XML documentation.
--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Nov 20 '05 #6
Cor
Hi Chris,
4. IsNot keyword. Now instead of If Not someObj Is Nothing, you can
write If someObj IsNot Nothing


This looks greath to me

If Not someObj IsNot Nothing

:-)) I hope they skip it before it comes actual

It has in my opinion to be (came out some arguing between Jay B and me)

If someObj Is Something

Cor
Nov 20 '05 #7
In article <16************ *************** ***@40tude.net> , Chris Dunaway wrote:
On Thu, 13 Nov 2003 09:22:58 -0800, Tom Shelton wrote:
2. Default Instances of certain classes are back (such as forms).


I personaly can live with out that... Never used 'em in VB.CLASSIC, so
I don't expect to now :) But, it will make a lot of other peoples lives
easier.


This doesn't work exactly like VB classic. You have to use the new "My"
object: My.Forms.Form1. Show
Not to mention Operator Overloading, Unsigned types, Generics, Partial
types.


Wooo! Hoooo! Especially the unsigned types and generics.

Oh, and I forgot to mention Edit and Continue and XML documentation.


<spit>E&C</spit> I don't need no stinking E&C... I really don't mind
if they include it... I just will probably never use it. I never used
it when we did have it :)

XML docs are good, but I think over rated.

--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #8
>
If Not someObj IsNot Nothing

Is this Obfuscation before compile?
Nov 20 '05 #9
Armin,
You can download the info from:

http://msdn.microsoft.com/vbasic/whidbey/

So far it is a copy of what is on the PDC DVDs.

The rule of thumb I go by is if you can find it on MSDN, then you can talk
about it in public.

Hope this helps
Jay

"Armin Zingler" <az*******@free net.de> wrote in message
news:ei******** ******@TK2MSFTN GP09.phx.gbl...
"Chris Dunaway" <dunawayc@_lunc hmeat_sbcglobal .net> schrieb
Just got my hands on Whidbey. Here are a few interesting changes
that you may not be aware of:


Only a question: Is it legal to make this informatin public?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1326
by: mt | last post by:
Where can I access the Page_Load event in Whidbey for a C# ASP.NET website? Since the partial class has been introduced, I'm not sure where I should be putting page load events. Thanks very much!
32
2276
by: Fresh Air Rider | last post by:
Hi I understand that ASP.net 2.0 (Whidbey) is going to reduce coding by 70%. Surely this is going to de-skill or dumb down the developer's task and open up the task of web development to less qualified and trained staff. Tell me if I'm wrong.
2
1111
by: Bern McCarty | last post by:
The recent questions about C++/CLI in this group made me wonder if some folks had their hands on it.... Is it available someplace? How is the calendar shaping up for Whidbey Beta 1?
3
1206
by: Doug Holland | last post by:
Hi There I just installed the PDC build of Whidbey onto Windows XP using the 'Web Developer' profile when I installed and was a little surprised to see that it is only ASP.NET projects that I have available and now wishing I'd chosen 'C# Developer' which probably displays all project type ... how do I switch profiles in VS.NET Whidbey???? Secondly what happened to Microsoft telling us that code
4
7378
by: kimpton | last post by:
Hi, My App running on my local machine is trying to access apsx and ascx pages via a virtual directory (see earlier post) that points to a share on a different machine. I can now access .aspx and run .aspx pages ok. However I've added a <@ register tag to a local page that references a .ascx page on the remote share (via the virtual directory). I now get a 'Failed to start monitoring changes to ' error on the @register statement.
4
950
by: Paul Aspinall | last post by:
Hi Does anyone have an overview of the changes to ASP.NET 2.0, since ASP.NET 1.1?? Thanks
5
2888
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1. I open a new project based on a windows form 2. I click on "data" and then "Add New Data Source" then I click on next within the wizard 3. I have 3 choices Database, Local Database, Web service and Object. 4. I choose Database, click next and get...
0
1302
by: RaiderXCChamp | last post by:
Hi! I am supposed to create a program that will display an investment schedule in a list box for my Visual Basics Class. 1. It says that annual interest is calculated using the simple interest formula: Interest = (Beginning Balance + Annual Investment) * Rate Assume the Investment Rate is entered and displayed as an annual rate. This formula also assumes the annual investment is made at the beginning of each year. 2. Include column...
3
11462
by: Henry Jones | last post by:
I am using VB.NET VS 2005 and I have a datagridview bound to a table. This table has rate information on bank loans. The fiels are ProductName, MinDeposit, Rate, and PreviousRate On the grid I have maybe 5 rows. I would like to change the MinDeposit field and then call a routine to chane the ProductName. Here is an example of the current data '$5K', 5000, 5.34, 5.00 - This means that the Name is "$5K" a minimum Deposit of...
0
9715
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9595
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10603
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10353
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10356
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10099
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9176
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7643
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.