http://www.AcehAid.org
Daily Archives: March 8, 2005
simple html web designers – where are they?
http://www.AcehAid.org
ADO.NET 2 article in MSDN Magazine
I finally got my copy of the April 2005 issue of MSDN Magazine in the mail this afternoon and am very proud to have my first article for them in there. It’s on ADO.NET 2.0. I wrote this article in July against the May bits.I had to update the article for the October bits and then again for the November bits. Then I had to go through it one last time before it went to press in early February. I learned soooooo much in the process of doing this as some of you may have seen by my frequent posts about different things in ADO.NET 2.0. I also had a lot of help from the very patient Pablo Castro, the PM on the ADO.NET team. No amount of Lake Champlain Chocolates can readily repay him, but I did try.
I do not envy people writing books during alpha and betas of a product. 🙂
http://www.AcehAid.org
switch with optional cases (stacked case labels)
this took me a while time to find via MSDN Library or Google. That’s because I didn’t notice it at the bottom of the “switch” explanation on C# (duh!). (And because the fantabulous C# & VB.NET Conversion Pocket Ref doesn’t have an index and I couldn’t find the listing for this in the TOC.) It’s hard when you don’t really know what you are looking for! That is my driving reason for doing the C# for VB programmers talk (at Code Camp this weekend and at DevConnections in a few weeks)
VB lets you put optional cases together as in
Case 3 Or 4 3,4 ‘(duh, I guess I should have gone and looked at one of my many examples of this in my real applications!)
‘do something if it’s 3 or 4
C# does it this way
case 3:
case 4:
//do something if it’s 3 or 4
This seems to be referred to as “stacked case labels”.
http://www.AcehAid.org
New England’s Code Camp III this weekend!!
I’m doing 3 talks – two are brand new talks that I am warming up for DevConnections – “What’s New in ADO.NET 2.0” (with a slant towards asp.net development since it is for ASP.NET Connections) and “C# for VB(6) Programmers”. I just decided at this moment to put the “6” in parens because this is just as easily C# for VB.NET programmers (my original intent), but I make special accomodation to focus on things that are specific to VB6 programmers who are new. This talk is mostly about syntax. A lot of fun. I’m thinking of letting the attendees challenge me to try to code an if statement or a new class in C# from scratch and see how much I rely on the compile time errors to show me where I have forgotten the special syntax – left parens out of a method call or something! But at least I can decipher the error messages really quickly! Here’s a crazy example:
Correct:
string[] names;
names=new string[5] {“John”,”Mary”,”Rich”,”Julie”,”Kat”};
Incorrect:
string() names;
names=new string(5) {“John”,”Mary”,”Rich”,”Julie”,”Kat”};
The incorrect syntax throws SIXTEEN build errors and none of them say anything about ( ) or [ ]!
I am also going to do what I think is a very important talk – “Getting Ready for WSE 2.0: Security Fundamentals and a Brief Intro”. This is where I focus on explaining things like encryption, hashing, digital certificates, digital signatures, etc. I LOVE doing this talk. I will be doing this as the first part of my 3 hour pre-con workshop at ASPConnections on March 20th.
http://www.AcehAid.org
Bill Vaughn will be doing workshops at DevTeach
This is very cool news. Bill Vaughn has recently been added to the lineup for DevTeach 2005. He’ll be doing a morning session on ADO.NET and an afternoon session on SQL Server Stored Procedures. This will be a pre-con on Saturday, June 18th. There are also pre-con sessions by Rod Paddock, Jim Duffy and Carl Franklin. The conference is Sunday – Tuesday. Here is the info on the pre and post-cons for DevTeach.
http://www.AcehAid.org
Auxiliary Displays on laptops and PCs
http://www.AcehAid.org
Still contemplating the end of mainstream VB6 support
This happens on March 31 – a few weeks away.
I’m still thinking about how this affects me and trying to keep in mind how it will affect many companies still on VB6. Remember, that not all support is going away. We still have a chunk of it for 3 years.
Although all of my development since spring 2002 is in .NET, I do have 2 big VB6 legacy applications for two separate clients that I have no intention of porting to .NET. Client A has a ton of new stuff in .NET but the VB6 app is at the center of their core day to day operations. Client B only has their VB6 app, nothing new. But they use it also in their day to day operations. Both clients could not function without these applications. Client A’s VB6 app has minor mods made to it every once in a while. Client B’s app has been static for a long long time. I have never needed to go beyond google, msdn online or the newsgroups to do any troubleshooting for the VB6 applications.
For both clients, financially there is just NO reason to port the applications. Client A’s app is huge and would cost a fortune (this is relative of course to the size of the company). CLient B is a small company and it would be awful for them to have to port the application over. Sure they could be better, but they are very good and run their businesses and there really is no justification.
I have actually emailed some software companies that I know that are still dependent on VB6 to see how this affects them. And I even emailed the entire VTdotNET member list to get their comments as well.
http://www.AcehAid.org