OK - I finally got to see the webcast last night (you can too at <A HREF="
TARGET="_new">
<br>
What Steve Balmer said was :<br>
<br>
1) VB is critical to Microsoft's success.<br>
2) XML is critical to Microsoft's success.<br>
3) Be prepared to use XML as another source of data for your programs<br>
<br>
There was a demo by a guy named Dave (I think that was his name) of how to add a column to a grid (on a ASP page, I think it was) that gets it's data from a XML file on another computer. Crashed the first time, but worked the 2nd time (isn't pre-release code fun!)<br>
<br>
New language features:<br>
<br>
1) Free threading<br>
You 'new' a thread object, then 'new' a threadstartobject, passing in the public function you want to run in it's own thread. Sort of like this:<br>
<br>
Dim T as Thread<br>
Dim W as MyWorkerObject<br>
Set W = new MyWorkerObject()<br>
Set T = new Thread(new ThreadStart(AddressOf W.MyFunction))<br>
T.start<br>
<br>
and MyFunction then runs on it's own.<br>
<br>
2) Structured Exception Handling<br>
No more 'On Error Resume Next'! You write your code like this:<br>
<br>
Try<br>
Do Something Dangerous<br>
Catch<br>
Handle the exceptional cases that get kicked out<br>
Finally<br>
Clean up any resources allocated<br>
End Try<br>
<br>
3) Code-based inheiritance<br>
Yes, it's finally here! You can have one class inherit from another. Single inheritance only, as far as I can tell. You can also do overloading, polymorphism, and hide functions in inherited classes. Parameterized constructors are also included.<br>
<br>
Class1<br>
Public Function GetCustomer()<br>
Public Function GetCustomer(CustCode as integer)<br>
Public Function GetCustomer(CustName as String)<br>
<br>
Class2<br>
Inherits Class1<br>
public Overloads Function GetCustomer()<br>
public Overloads Function GetCustomer(CustCode as integer)<br>
DoBase<br>
End Function<br>
<br>
<br>
So, you can now do something like:<br>
Dim C as new class2<br>
C.GetCustomer 'calls class2's function<br>
C.GetCustomer(1) 'calls class2's function that accepts an integer, which in turn calls class1's function via the DoBase keyword<br>
C.GetCustomer("Acme"

'calls class1's function that accepts a string<br>
<br>
4) Visual inheritance<br>
VB will allow you to have one form inherit from another. They kind of implied that you also get functionality as well. So you could have a form with your corporate logo and a hyperlink for going to the corporate website. Every form you create that inherits from your base form will get the logo plus the hyperlink action.<br>
<br>
5) Increased type checking<br>
VB today will promote pretty much any type into a different type automatically. You will be able to set a compilation option to do stricter type checking (yippee!)<br>
<br>
Very cool stuff, and looks really exciting. Steve said availability was "End of this year".<br>
<br>
Chip H.<br>