Published by

Comments

Wednesday, February 12, 2003 9:46 PM by Ivan Towlson

# At least one respected commentator has doubts

Bruce Schneier used Meganet and VME as a leading example of snake oil in a Crypto-Gram article three years back:

http://www.counterpane.com/crypto-gram-9902.html

His comments include "This makes no sense, even to an expert ... takes the ridiculous a step further ... This is not a proof. It isn't even close."

Of course the fact that Meganet don't communicate their claims well doesn't mean they haven't come up with something good. It's just that there's little reason to feel much confidence.
Friday, February 14, 2003 12:59 AM by Wes Haggard

# Quick Code.Net

If you really would like to inscrease your productive by having "shortcut code" inserted you should check out QuickCode.Net (http://quickcode.dvxp.com/). You can setup code templates and insert them based on a pattern. For example I have simple pattern "{" and when I hit the Shift-Enter key(hotkey I gave the command) it will insert
{
(Cursor)
}
just like your macro. You can do the same thing for your try/catch blocks or any other shortcut code.

Wes
Tuesday, February 18, 2003 3:02 AM by Jason

# Check out this article

There was an article in the August issue of MSDN Mag, actually written by Chris Sells.. check it out here.

http://msdn.microsoft.com/msdnmag/issues/02/08/VisualStudioforApplications/default.aspx
Tuesday, February 18, 2003 10:20 AM by Tim Marman

# He imported from Radio...

I think he was dealing with Scott and imported his posts from Radio, so now all were done since DotNetWebLogs opened :)
Tuesday, February 18, 2003 4:55 PM by Roy

# That would explain it... :)

That would explain it... :)
Saturday, February 22, 2003 8:20 AM by Jesse Ezell

# IConfigurationSectionHandler

Yah, but have you seen IConfigurationSectionHandler... definately a bit cooler. I'll never go back to appSettings.

--Jesse
Saturday, February 22, 2003 3:53 PM by Roy

# KISS principle applies

The way i see it: KISS principle applies (Keep it Simple)
if you dont need to go with IConfigurationSectionHandler , then don't. the reason this setting is better for me, is that it allows me to add settings with no coding. much simpler. :)
Sunday, February 23, 2003 5:17 PM by Royo

# Testing comment system....

Just testing out the new comment-to-email system...
Sunday, February 23, 2003 6:48 PM by Fleh

# re: About Syndirella


Isn't this where open source is going? i.e. how does one make a living if nobody is willing to pay for anything?
Sunday, February 23, 2003 10:35 PM by Richard Birkby

# re: Microsoft Download Center RSS feed

Hi,

The RSS aggregator was written by myself and John Bristowe. It uses Chris Lovett's excellent SGMLReader from gotdotnet to do the HTML parsing. The ASP.Net cache is set to 1 hour to keep processing overhead low.

Richard
rbirkby@hotmail.com
Monday, February 24, 2003 3:01 AM by TrackBack

# Open Source Vs. Commercial Aggregators - The NewsGator Dillema : ISerializable

Open Source Vs. Commercial Aggregators - The NewsGator Dillema : ISerializable
Monday, February 24, 2003 10:15 PM by TrackBack

# About me : ISerializable

About me : ISerializable
Monday, February 24, 2003 10:15 PM by TrackBack

# About me : Wibbleshanks - ASP.NET UK New Media

About me : Wibbleshanks - ASP.NET UK New Media
Tuesday, February 25, 2003 4:25 AM by Chris

# re: Wow!

Thanks! <blush> :O)
Tuesday, February 25, 2003 8:47 AM by Thom

# re: Unemployment

Thanks for the comments. You and I seem to be on parallel paths. I did almost everything that you mentioned. One of the things that hit me hardest was when I came home the day that I was laid off, and my oldest son said "Dad, that really sucks. You put your heart and soul into that company." And you know what? I did.

I agree that the tables have kinda turned, and as you said, managers have the upper hand. But as you said. morale goes down.

Again, thanks for the comments.
Tuesday, February 25, 2003 12:34 PM by David Stone

# I'm sure it does

Haven't downloaded it yet..but they did release that right after news got out about 3degrees.
Tuesday, February 25, 2003 2:42 PM by Thom

# re: Snow in Jerusalem - Beautiful pictures

Roy, have you ever seen snow before? I live in a state in the US where it snows all the time. I was wondering how your community handled the storm?
Tuesday, February 25, 2003 2:45 PM by Thom

# re: Snow in Jerusalem - Beautiful pictures

Actually, I meant have you ever been in a snow storm? I know it sounds like a stupid question, but there are many people who have never had a snow ball fight or tubbed down a hill side, or skied in powder as deep as your neck.
Thursday, February 27, 2003 8:38 AM by Jason Bock

# re: What the hell...?

What you referring to? Your image isn't showing up...
Thursday, February 27, 2003 9:24 AM by Ben Richardson

# re: What the hell...?

To use the add an image to your blog you need to upload the file somewhere, the app (winform or web) won't upload the file from your local hard drive.

So the rest of us are seeing a broken image in your post.
Friday, February 28, 2003 1:34 AM by Paul Laudeman

# re: What the hell...?

This is a bug within the IDE that we've come across many times. The fix that has worked for us in most cases was to simply select all the code, cut it, save the file, and paste it back in and recompile. Odd, eh?
Friday, February 28, 2003 2:09 AM by Paul

# re: What the hell...?

Try just doing a full rebuild... Might be a problem in the incremental compiler (I never trust incremental compilers!) :)
Friday, February 28, 2003 8:47 AM by Roy

# re: Snow in Jerusalem - Beautiful pictures

Well, Thom, I have been in a snow storm. Israel has mt. "Hermon" which is just on the border between israel and syria up north. that place is usually snowing every winter, and it has slides and ski routes. However, israel is a pretty warm climate country, so any time it snows near the center, it's makes for a celebration.
Friday, February 28, 2003 9:43 AM by David Stone

# Re: "Is there such a name?"

How about "Blogging"?
Friday, February 28, 2003 6:55 PM by Ziv Caspi

# re: RSS is not mature

RSS-SMTP has been done several times (see, for example, http://bitworking.org/Aggie.html). RSS-NNTP has also been done several times (search for HEP, and there are many others). So you see, we're not as backwards as you might think, although we still have a long way to go.
Friday, February 28, 2003 7:15 PM by TrackBack

# Bin Drinkin : Phil Scott's WebLog

Bin Drinkin : Phil Scott's WebLog
Friday, February 28, 2003 7:55 PM by Roy

# re: RSS is not mature

"How about "Blogging"? "
Naa. Blogging is something that uses this technology, but how do we name the whole technology behind it..?
Saturday, March 01, 2003 2:11 AM by Phil Scott

# re: RSS is not mature - continued

Err, think mostly 10 beers talking there :) Mostly I've gotten pretty sick and Tired of Dave (www.scripting.com) acting all high and mighty about Radio, RSS and the such.

He seems to forget that the vast majority of people simply can't afford to get their voices out there.

I guess everything is kinda cool, but I don't see what the big deal is. Sure everything is XML and people can parse it, but you still need something smart to go through the posts to try to figure out what they mean, how to categorize them, or even figure out if it isn't someone just sitting at their computer banging away intoxicated.

Maybe I just don't get it. I've drank the kool-aid, but the only difference from the Kool-aid I already had is that they've pre-added the sugar instead of me having to mix it myself.
Wednesday, March 05, 2003 1:23 AM by Jason

# re: Tips and tricks for the keyboard junkie


For the WinXP users out there, WinKey+L locks your machine up for you.

WinKey + F == Find.



Wednesday, March 05, 2003 2:12 AM by Jesse Ezell

# re: Tips and tricks for the keyboard junkie

Win + D is much better than Win + M for seeing the desktop, because pressing it again reverts back. :-)

--Jesse
Wednesday, March 05, 2003 1:34 PM by Sanjay

# re: Tips and tricks for the keyboard junkie

My favorite file manager which may be even more of a relic is ZTreeWin (a Windows port of the old XTree program). It still uses a character mode interface but it is very powerful and quick to use for many common file management tasks.
Thursday, March 06, 2003 5:35 PM by Epaminondas Pantulis

# re: Tips and tricks for the keyboard junkie

Like total desktop customization, including -but not limited to- keyboard shortcuts, virtual desktops, scheduler, timers, popup notes, etc.? Then Windows Powerpro is for you: http://www.windowspowerpro.com

Thursday, March 06, 2003 5:36 PM by Epaminondas Pantulis

# re: Tips and tricks for the keyboard junkie

Forgot to mention: it's freeware!
Monday, March 10, 2003 1:01 AM by Anonymous

# re: .NET show: "Tell us about yourself, because we Care(TM)"

Agreed!
Monday, March 10, 2003 1:19 AM by Greg

# re: .NET show: "Tell us about yourself, because we Care(TM)"

I have watched a lot of these shows, and, for the most part they are good. I watch the 2nd and 3rd party only though, the techy stuff. Why? Well, why do you think Erika Wiechers was hired? For her interviewing skills? For her IT skills? Nope, cause she looks good and she can read!

I could not agree with you more. I think they are trying to make MS folks look 'just like us'. Well, they are 'just like us'.

Monday, March 10, 2003 1:32 AM by Anil John

# re: Compact framework resources needed

http://www.learnMobile.NET/MobileClient/

If I don't link to it, it does not exist (and I have an RSS feed on the home page) :-)

The following is linked to from above, but I would especially recommend

.NET Compact Framework QuickStart Tutorial
http://samples.gotdotnet.com/quickstart/CompactFramework/
Monday, March 10, 2003 1:36 AM by Anil John

# re: Compact framework resources needed

OK.. now I feel like an idiot as I just pointed you to one of the resources that you'd already found on your own :-)

To make up for that, I would point you to this article which lays out the Mobile development options that are available in .NET and when you should choose what

http://www.learnmobile.net/MobileWeb/Articles/DotNetDev.aspx

Monday, March 10, 2003 2:47 AM by Roy

# re: Compact framework resources needed

Thanks for the input! I'll be sure to check this out and put whatever i can find in a seperate post :)
Monday, March 10, 2003 5:23 AM by TrackBack

# Roogle - RSS search engine : Fabrice's weblog

Roogle - RSS search engine : Fabrice's weblog
Monday, March 10, 2003 5:59 AM by TrackBack

# Last night in brief : David Stone's Blog

Last night in brief : David Stone's Blog
Monday, March 10, 2003 8:45 AM by SLK

# Where is Q810007 ?

By the way, i can not get it !

Anyone got link ?
Tuesday, March 11, 2003 4:13 PM by TrackBack

# Resolving Debugger Problems in VS.NET : ISerializable

Resolving Debugger Problems in VS.NET : ISerializable
Tuesday, March 11, 2003 4:13 PM by TrackBack

# Debugging Problem : ISerializable

Debugging Problem : ISerializable
Tuesday, March 11, 2003 4:13 PM by TrackBack

# More Debugger Problems: aspnet_regiis does not work on Windows 2003 Server : ISerializable

More Debugger Problems: aspnet_regiis does not work on Windows 2003 Server : ISerializable
Tuesday, March 11, 2003 4:13 PM by TrackBack

# ISerializable

ISerializable
Tuesday, March 11, 2003 4:13 PM by TrackBack

# Article: Resolving Debugger problems : ISerializable

Article: Resolving Debugger problems : ISerializable
Tuesday, March 11, 2003 4:13 PM by TrackBack

# Yikes! people sure have problems debugging! : ISerializable

Yikes! people sure have problems debugging! : ISerializable
Tuesday, March 11, 2003 4:13 PM by TrackBack

# ISerializable

ISerializable
Tuesday, March 11, 2003 4:13 PM by TrackBack

# ISerializable

ISerializable
Tuesday, March 11, 2003 4:13 PM by TrackBack

# Debugging tips-n-hints : ShowUsYour-Blog!

Debugging tips-n-hints : ShowUsYour-Blog!
Tuesday, March 11, 2003 4:13 PM by TrackBack

# .NET Debugging FAQ : Mitch Rupp's .NET Blog

.NET Debugging FAQ : Mitch Rupp's .NET Blog
Tuesday, March 11, 2003 10:36 PM by Greg

# re: Article: Resolving Debugger problems

This is linked as a WORD doc too.
Wednesday, March 12, 2003 1:44 AM by Roy

# re: Article: Resolving Debugger problems

How do you mean?
I see no link to it as a .doc file anywhere..
Wednesday, March 12, 2003 11:38 AM by TrackBack

# System.Windows.Forms.PropertyGrid 2 : ISerializable

System.Windows.Forms.PropertyGrid 2 : ISerializable
Thursday, March 13, 2003 2:50 AM by Mike Gunderloy

# re: Helpful .Net Common tasks "Howto" page

If you've installed the Framework SDK, you also have that content locally: Start, Programs, Microsoft .NET Framework SDK, Samples and QuickStart Tutorials.
Thursday, March 13, 2003 4:04 AM by Roy

# re: Helpful .Net Common tasks "Howto" page

Thanks! I guess i should dig in to my hard drive first huh? ;)
Thursday, March 13, 2003 6:42 AM by TrackBack

# Is there a big "Escape" button somewhere? : Blogadocious

Is there a big "Escape" button somewhere? : Blogadocious
Thursday, March 13, 2003 9:38 AM by Chad Brockman

# re: Drag 'n Drop Performance Counters!

Is there a built in UI?
Thursday, March 13, 2003 9:57 AM by Roy

# re: Drag 'n Drop Performance Counters!

What do you mean by UI? Dragging into the designer surface adds the componenets to eh lower design tray of the componenet (they are invisible at runtime) and lets you manipulate them programmatically..
Thursday, March 13, 2003 10:28 AM by Chad Brockman

# re: Drag 'n Drop Performance Counters!

I mean a UI to visualize the counters... like in perfmon? I thought maybe there was a built in graphing control.
Sunday, March 16, 2003 1:45 AM by TrackBack

# SQL Injection Article : Robert McLaws

SQL Injection Article : Robert McLaws
Sunday, March 16, 2003 4:25 AM by TrackBack

# Security? : Jesse Ezell Blog

Security? : Jesse Ezell Blog
Thursday, March 20, 2003 2:03 AM by Addys

# re: I want to start a .Net user group


Contact MS Israel. They are well connected to the dev community and can tell you if there is a need for such a group and if so who to contact for lectures, etc. With any luck they might even give you official/unofficial support such as mailing or a lecture room.

-Addy

P.S. If you need me to introduce you to some of the people there don't hesitate to ask.

Thursday, March 20, 2003 5:45 AM by TrackBack

# .NET User Groups : Chad Osgood's Blog

.NET User Groups : Chad Osgood's Blog
Thursday, March 20, 2003 6:39 AM by Addys

# re: Are you into YOYOing?

Dude,

that is ancient... I saw it on sale in England last year...
Thursday, March 20, 2003 7:55 AM by Roy

# re: Are you into YOYOing?

Well, it just got to israel a month ago. Man we are such a province.....
Thursday, March 20, 2003 9:29 AM by Addys

# re: My own user group & INETA - continued


Some thoughts:

1. Developers have limited time for visiting user groups. More isn't necessarily merrier, since most can't attend more than 1-2 a month.

2. Quality speakers are tough to come by. Opening another group probably won't improve anything - the existing experts will just be spread out thinner.

3. IMHO you can forget help from INETA, I don't know of any active INETA members in Israel. And it is very rare to get foreign speakers unless it is for a BIG event.

4. As someone who has spoken at many such user user groups, I can give you my take on them:

A. It will be a HUGE investment of time on your part to manage such a group.
B. It will be a HUGE, ONGOING investment.
C. Unless you can join up with someone well known (MS, John-Bryce, ANASHIM-MACHSEVIM, etc) it will take many months for you to build an audience.

In short, unless you have some ulterior motive, it is probably not worth the trouble. Want to manage a group? Join up with someone who has a commercial interest in such a group, and have them support you.

- just my 2 cents
Thursday, March 20, 2003 10:03 AM by Roy

# re: My own user group & INETA - continued

Actually, both IVBUG and IVCUG are supported by INETA, but other then that i get your point. "Don't force it". OK. I'll admit i have my own motives in this (is it possible not to?) but it's all for good , not evil (Extending my knowladge + Networking + A nice little line on the Ol' resume....) . As for time investment , i reall y don't think i will mind it. Hell ,i think i'll love evey minute of it (except the dul ones i guess..).
- Quality speakers : Everyone has to start somewhere. how did everyone else start? besides, i think MSFT has an interest in seeing more and more of us..
- Developers have limited time : yep. that's true. however, your assuming that only existing user group goers will attend, which i suspect will be only partially true. i know more then a few people who will join the group who are not actively participating in anything else.
besides, if it comes to a point where people need to choose where to go, it means the group is in a good place :)


Thursday, March 20, 2003 10:35 AM by Chad Osgood

# re: My own user group & INETA - continued

Roy, I commented a little more verbosely in my blog. If you have any questions that I could possibly help answer, let me know.
Thursday, March 20, 2003 6:01 PM by TrackBack

# My own user group & INETA - the next generation : ISerializable

My own user group & INETA - the next generation : ISerializable
Thursday, March 20, 2003 6:01 PM by TrackBack

# .NET User Groups : Chad Osgood's Blog

.NET User Groups : Chad Osgood's Blog
Thursday, March 20, 2003 6:01 PM by TrackBack

# We're so Lucky!! (INETA Speakers in Vermont...) : Julia Lerman Blog

We're so Lucky!! (INETA Speakers in Vermont...) : Julia Lerman Blog
Sunday, March 23, 2003 3:44 PM by TrackBack

# A letter : ISerializable

A letter : ISerializable
Sunday, March 23, 2003 3:44 PM by TrackBack

# Job Interviews : ISerializable

Job Interviews : ISerializable
Monday, March 24, 2003 2:38 AM by Julie Lerman

# re: My own user group & INETA - continued

Roy- impatiently awaiting the trackback to hit your site but see my blog march 24
Monday, March 24, 2003 8:09 AM by Datagrid Girl

# re: My own user group & INETA - the next generation

Hi Roy,
I would definitely join the VB User Group first, if nothing else, you'll find some like-minded folks there who can help you with your new group. And I wouldn't worry about registering and then it not working out. Go ahead and register, and give it your best shot, and if it doesn't work out--too bad! And especially if you're working with INETA, you'll have people to advise you and help you, and make sure it *does* work out. Good luck!!!
Monday, March 24, 2003 10:58 AM by Julie

# re: My own user group & INETA - the next generation

Roy-
Two more suggestions - talk to the other u.g. leaders and see what there communication with INETA Europe has been. If that isn't fulfilling, contact Christian Nagel who is heading up user group relations for INETA in Europe.
Actually, email ugrelations@ineta.org and Christian or maybe Dave Noderer will have better info that I do.
Monday, March 24, 2003 11:22 AM by Brad More

# re: Job Interviews

I don't get a vote, but if I did I'd vote for "C". They have a dog. What more do you need to know?!
Monday, March 24, 2003 1:09 PM by Datagrid Girl

# re: DataGrid Girl rules

Monday, March 24, 2003 1:10 PM by Datagrid Girl

# re: DataGrid Girl rules

Hey, I'm glad people are listening to the show :)
Monday, March 24, 2003 4:55 PM by TrackBack

# DataGrid Girl rules : ISerializable

DataGrid Girl rules : ISerializable
Monday, March 24, 2003 4:55 PM by TrackBack

# Ineta : heLP .Net Blog

Ineta : heLP .Net Blog
Monday, March 24, 2003 6:07 PM by TrackBack

# Datagrid girl : heLP .Net Blog

Datagrid girl : heLP .Net Blog
Monday, March 24, 2003 6:07 PM by TrackBack

# Specialization : Datagrid Girl

Specialization : Datagrid Girl
Monday, March 24, 2003 11:03 PM by Greg Robinson

# re: Job Interviews

I got into the IT industry in 98' with a large company. I did a total career change and they took a chance on me. I worked my arse off and did well. So well, a local 'start-up' consulting company offered me a job. I was developer #3, plus 3 owners. I again worked my arse off and, after 2 years, 20 developers later, I resigned. I am now with a company of 6 and I LOVE it!

So, what to do? really depends on your personality and your goals. I cannot work for a 'corporate' company...I am too independent and too motivated. That said, I would take the start-up position.

I just finished interviewing for a .net position I have here. I was truly amazed at how many great developers were concerend with our size and they needed the comfort of a large company. If this is you, go for the large company and let them take care of you. If this is nto you, go for the start-up.
Tuesday, March 25, 2003 12:38 PM by Also looking

# re: Job Interviews

I haven't had much luck with the MS Careers page. Spent a few hours there creating a resume, submitted a few of them, and nothing. Oh well. Good luck on the job hunt!
Tuesday, March 25, 2003 4:13 PM by Chris Pirillo

# re: Acceptance Test

Yay! ;)
Tuesday, March 25, 2003 7:24 PM by Jan Tielens

# re: ArrrrgggH!

Hi

You can use the StringBuilder to create a stream.

I use it with CodeDom too, like this:
Private Function GetVBCode(ByVal code As CodeTypeDeclaration) As String
Dim gen As New VBCodeProvider

Dim sb As New System.Text.StringBuilder
Dim stream As New IO.StringWriter(sb)
gen.CreateGenerator().GenerateCodeFromType(code, stream, Nothing)
stream.Close()

Return sb.ToString
End Function

Greetz
Jan
Tuesday, March 25, 2003 7:28 PM by Christian Weyer

# re: ArrrrgggH!

This works for me:

[...]
string xmlString = @"<?xml version='1.0' encoding='utf-8' ?><TestType><Number>42</Number><Value>Christian</Value></TestType>";

System.IO.MemoryStream ms = new System.IO.MemoryStream();
System.IO.TextWriter writer = new System.IO.StreamWriter( ms );
writer.Write(xmlString);
writer.Flush();

ms.Seek(0, System.IO.SeekOrigin.Begin);
XmlSerializer serializer = new XmlSerializer(typeof(TestType));
TestType tt = (TestType)serializer.Deserialize(ms);
[...]

public class TestType
{
public int Number;
public string Value;
}


Cheers,
Christian
Tuesday, March 25, 2003 7:33 PM by Royo

# re: ArrrrgggH!

Thanks for the input guys!
That was darn quick :)
I new it was something as easy as a memoryStream, but i just couldn't find the damn thing !
Tuesday, March 25, 2003 7:34 PM by Royo

# re: ArrrrgggH!

Thanks Jen! that looks like a marvelous way do do lotas of stuff!
Tuesday, March 25, 2003 10:20 PM by Wes Haggard

# re: Outlook bugs me

I had a similar problem and its if it doesn't load the rules in time. I fixed the problem by installing SP1 and then SP2 for Office XP.

Wes
Tuesday, March 25, 2003 10:35 PM by Royo

# re: Outlook bugs me

Nope. I already have SP2 installed on my Office XP.... :(
Tuesday, March 25, 2003 10:59 PM by Edward

# re: Outlook bugs me

I had the exact same problem. Apparently the inspection of the sender-field is the problem. Changed my rules to inspect the subject-field instead (the lists I'm subscribed to, all modify the subject), works like a charm ever since.
Wednesday, March 26, 2003 2:33 AM by TrackBack

# Shared Source CLI Essentials Book is out + more about specialization : ISerializable

Shared Source CLI Essentials Book is out + more about specialization : ISerializable
Thursday, March 27, 2003 11:24 AM by Tim Marman

# re: A thought

Huh? :)
Thursday, March 27, 2003 7:27 PM by TrackBack

# Hit Count : ScottW's ASP.NET WebLog

Hit Count : ScottW's ASP.NET WebLog
Thursday, March 27, 2003 10:06 PM by Roy

# re: A thought

Don't my me, just rambling... ;)
Saturday, March 29, 2003 5:34 PM by Ben Richardson

# re: Code Express - Freeware code sharing client

Here is a link to the site.
Sunday, March 30, 2003 1:10 PM by Roy

# re: Code Express - Freeware code sharing client

err. thanks ;)
Monday, March 31, 2003 6:39 AM by Datagrid Girl

# re: ASP.NET is cool + DataGrid Designer Tips

Of course a true DataGridder would type it all out :) Just kidding!
Monday, March 31, 2003 7:00 AM by Roy

# re: ASP.NET is cool + DataGrid Designer Tips

hehe.. But i can really see how far one could get in to this grid. it sure is a world in itself!
Monday, March 31, 2003 7:18 AM by Datagrid Girl

# re: ASP.NET is cool + DataGrid Designer Tips

A pink world...
Monday, March 31, 2003 8:27 AM by Drew Marsh

# re: Err.. Is there a way to put custom HTML in the Blog Header

Yeah, just paste that HTML into the editor for a post. :)
Thursday, April 03, 2003 3:43 AM by Kirk Allen Evans

# re: Avoiding DB_SEC_E_AUTH_FAILED exception on connection string

You could have used \" to escape the quotes, had the "@" not preceded the string:

"Password=\"\""

However, this would not work with "@" in the beginning of the string, because "@" signifies that escape sequences are not processed. This is why the "\" characters in your string did not cause odd errors for unrecognized escape sequences. If you intend on using "@" with a string that contains double-quotes, you have to double-up the quotation marks:

@"Data Source=C:\Documents and Settings\royo\My Documents\WOZ.mdb;Password=""""";

Note that this is also explained in the C# Programmer's Reference:

ms-help://MS.VSCC/MS.MSDNQTR.2002APR.1033/csref/html/vclrfString.htm
Saturday, April 05, 2003 6:06 PM by TrackBack

# .NET Weblogs Feed : Jesse Ezell Blog

.NET Weblogs Feed : Jesse Ezell Blog
Sunday, April 06, 2003 5:46 PM by Matt Berther

# re: Config Hell

The main reason for having config files read only, IMHO, is due to permissions issues. Applications are typically installed to Program Files/*. On a locked down system, its very possible for a user not to have rights to that directory.

http://staff.develop.com/candera/weblog/2003/02/06.html

One alternative may be to use IsolatedStorage...
Sunday, April 06, 2003 10:58 PM by Thomas Tomiczek

# re: Config Hell

::its very possible for a user not to have rights to that
::directory.

Understatement. It is NORMAL for a user not to be able to modify files there.
Monday, April 07, 2003 12:22 AM by Scott Watermasysk

# re: Config Hell


Just create your own Config object and implement serialization.

Or even easier, create a class that dirives from SelfSerializer

-Scott
Monday, April 07, 2003 2:56 AM by TrackBack

# Hell Shmell : ISerializable

Hell Shmell : ISerializable
Monday, April 07, 2003 6:07 PM by TrackBack

# BCL Types Debate : .Avery Blog

BCL Types Debate : .Avery Blog
Monday, April 07, 2003 11:04 PM by Dan F

# re: Joining The BCL Types Wagon + Confession

1) yes. gimme readability any day. just call me mort
2) why worry about the rest of the world when there's perfectly good religious coding debates going on?
3) just me and that wierd guy over in the corner with the raincoat on
Friday, April 11, 2003 9:44 AM by Keith Pleas

# re: I'm A Mort!

That works! You're number 3. Send me your mailing address (keithp@guideddesign.com).
Friday, April 11, 2003 11:12 AM by Roy

# re: I'm A Mort!

Yoohoo!
Friday, April 11, 2003 10:16 PM by TrackBack

# Future of .NET Weblogs : Fabrice's weblog

Future of .NET Weblogs : Fabrice's weblog
Friday, April 11, 2003 10:16 PM by TrackBack

# DNWL future continued : ISerializable

DNWL future continued : ISerializable
Saturday, April 12, 2003 1:44 AM by Dan F

# re: Typed Datasets - Can You Get Much Cooler?

wow. double wow. thank you! i've been wondering about typed datasets for a while now, your blog entry (article?) has prompted me to go read some more about them. thank you again!
Saturday, April 12, 2003 2:14 AM by Roy

# re: Typed Datasets - Can You Get Much Cooler?

Thanks :) Glad to know what I write actually makes a difference sometimes ... ;)
Saturday, April 12, 2003 4:43 AM by TrackBack

# Article: Introduction to Typed Datasets : ISerializable

Article: Introduction to Typed Datasets : ISerializable
Saturday, April 12, 2003 4:43 AM by TrackBack

# ISerializable

ISerializable
Saturday, April 12, 2003 4:43 AM by TrackBack

# ISerializable

ISerializable
Saturday, April 12, 2003 4:43 AM by TrackBack

# ISerializable

ISerializable
Monday, April 14, 2003 10:28 PM by Dan F

# re: Categories

Nice, splitting original and quoted. I hope more people take up that idea. Quoted is good if I manage to miss it elsewhere, but original is the money shot thats gotta be read :)
Tuesday, April 15, 2003 1:31 PM by Jack Hammond

# re: how do you make your .NET application scriptable?

Check out http://dotnetweblogs.com/ahoffman/posts/3589.aspx for an interesting blog on .Net scripting.
Thursday, April 17, 2003 4:32 PM by Phil Weber

# re: Accented Blogging

Accent: California ;-)

Sounds good to me!
Friday, April 18, 2003 4:07 AM by Chak

# re: About Roy Osherove

Hey ! All the best man. Best wishes to you, your wife, Zion the cat, and Israel too - i am an Indian who hopes there will be a peaceful end to the Israel crisis (just as we hope for India and Kashmir !).

I am still at the shallow end of Dot Net and hope that one day i will reach the deep end.

Bye.
Sunday, April 27, 2003 8:08 AM by Don Box

# re: Envy - Cursed be thy name!

Why not apply? SujayS is still has openings in JLamb's org (SDE/T in XML messaging).
Sunday, April 27, 2003 8:14 AM by Roy Osherove

# re: Envy - Cursed be thy name!

hrm. Even from Israel? That is usually a showstopper :(
Sunday, April 27, 2003 8:45 AM by Roy Osherove

# re: Envy - Cursed be thy name!

ok. I Applied :) here goes ... ;)
Sunday, April 27, 2003 9:28 AM by Marc LaFleur

# re: Windows Server 2003 Rocks

Check out http://www.msfn.org/win2k3/. They have a lot of information on Games, DirectX, and Windows2k3 as a workstation.
Sunday, April 27, 2003 9:28 AM by Marc LaFleur

# re: Windows Server 2003 Rocks

Check out http://www.msfn.org/win2k3/. They have a lot of information on Games, DirectX, and Windows2k3 as a workstation.
Sunday, April 27, 2003 9:41 AM by Roy Osherove

# re: Windows Server 2003 Rocks

Thanks!
Sunday, April 27, 2003 11:21 PM by Scott Watermasysk

# re: Testing from w.blogger

Categories are not supported (yet?) :D
Monday, April 28, 2003 7:54 AM by TrackBack

# wbloggar : heLP .Net Blog

wbloggar : heLP .Net Blog
Monday, April 28, 2003 8:54 AM by TrackBack

# wbloggar : heLP .Net Blog

wbloggar : heLP .Net Blog
Monday, April 28, 2003 10:41 AM by TrackBack

# ASP.NET Authentication Question : heLP .Net Blog

ASP.NET Authentication Question : heLP .Net Blog
Monday, April 28, 2003 10:41 AM by TrackBack

# ASP.NET Authentication Question : Fabrice's weblog

ASP.NET Authentication Question : Fabrice's weblog
Tuesday, April 29, 2003 10:05 AM by HumanCompiler

# re: A Quick VS.NET Tweak

Yes, yes you should! ;)
Wednesday, April 30, 2003 2:20 AM by Aaron

# re: Regular Expressions And Log Parsing

Probably just a dumb question, but if ASCII is 'old-style' what is 'new style'?

(Obviously not up-to-date on modern logging techniques)
Wednesday, April 30, 2003 4:53 AM by what up

# re: Code monkeys are people too

thank you for every thing and i whis that you were here to enjoy the fun that i enjoyed last night with you
Wednesday, April 30, 2003 10:31 PM by Wes Haggard

# re: More VS.NET Tips & Tricks

I'm a keyboard junkie. I usually use SHIFT-DEL to cut a line of text. Thanks for the tip about the outlining standard files I hadn't come acrossed that one yet. Maybe we should make a list of all the hotkeys that we use because I know a ton of them, but I'm you know some I don't and I know some you don't. Let me know. I doesn't just have to be Visual Studio shortcuts either I know alot of windows shortcuts as well.
Wednesday, April 30, 2003 11:13 PM by Royo

# re: More VS.NET Tips & Tricks

Sounds Great! Your page or mine..? ;)
Wednesday, April 30, 2003 11:16 PM by Royo

# re: More VS.NET Tips & Tricks

btw, there was a good 'vs.net fun facts' page at chris sells' site somewhere, but i can;t find it. Perhpas everything should go in there...
Wednesday, April 30, 2003 11:43 PM by Royo

# re: About Roy Osherove

Thanks for your kind words!
Thursday, May 01, 2003 1:42 AM by Samer Ibrahim

# re: How to Pass A Microsoft Interview - SDE/T Edition

There is actually this book coming out or is out....

http://www.twbookmark.com/books/36/0316919160/index.html
Thursday, May 01, 2003 1:50 AM by Wes Haggard

# re: More VS.NET Tips & Tricks

Chris' VS Fun Facts I have seen these before and he just has them as a post. I was thinking that I could create a story for it and call it "VS Tips and Tricks". We could break it into some sections like: Shortcut keys, Enviroment setups, Addins, External tools, etc.
I will try to start a story tonight with a simple layout.
Thursday, May 01, 2003 2:19 AM by Sean Gerety

# re: The Mouse I Want(And So Will You)

I got a TouchStream LP about 2 weeks ago and the gestrues are very cool. The touch typing takes a little to get used to, but it rocks not having to move back and forth between a mouse and keyboard.
Thursday, May 01, 2003 2:58 AM by Royo

# re: How to Pass A Microsoft Interview - SDE/T Edition

I knew it!! ;)
Thursday, May 01, 2003 3:06 AM by Royo

# re: More VS.NET Tips & Tricks

Cool. I'm sure eveyone would love to chip in :)
Thursday, May 01, 2003 3:07 AM by Royo

# re: The Mouse I Want(And So Will You)

Ouch! That Hurt. Now I HAVE to have it! ;)
Thursday, May 01, 2003 7:35 AM by TrackBack

# VS.Net Tip/Trick : Jason Tucker's Blog

VS.Net Tip/Trick : Jason Tucker's Blog
Saturday, May 03, 2003 9:40 PM by Nathen

# re: Typed Datasets Are Not Always The Answer

I don't know if I necessarily agree with the fact that typed-datasets should only be used for small applications. Generic datasets do not provide the type safety that a typed dataset provides and I view this a very important need for a large application. True that you have to regenerate your typed datasets when the database schema changes but 99% of the changes in your code that have to be made will be made at compile time and you won't have to manually hunt down where to make those changes. On the other hand, if you're using generic datasets and your database schema changes then you have to search for changed fields in your code to make the change and resort to runtime errors to know that you missed something. So, in my opinion, it seems that typed datasets are better suited for large applications and generic datasets are better suited for small applications.

Sounds like the previous poster had a Domain Model design for his application and typically that type of design does not have a huge dependency on datasets since domain objects tend to be row oriented vs table oriented. Typed datases apply more to a Table Module design where the data needs to be more table oriented.
Saturday, May 03, 2003 10:06 PM by Royo

# re: Typed Datasets Are Not Always The Answer

Nathen: Type Safety is important. But In order to keep the Presentation layer seperate from the data layer, you can't have a direct reference to the typed datasets (IMO). The only way to incroporate them into an enterprise application is stated in this post(See the ending paragraph - It essentially implies what you are suggesting). Also, If TD's are god for enterprise apps, why wouldn;t ehy be good for small apps?
Sunday, May 04, 2003 3:55 AM by TrackBack

# Andres Aguiar's Weblog

Andres Aguiar's Weblog
Sunday, May 04, 2003 3:55 AM by TrackBack

# ISerializable

ISerializable
Sunday, May 04, 2003 3:55 AM by TrackBack

# ISerializable

ISerializable
Sunday, May 04, 2003 3:55 AM by TrackBack

# Clemens Vasters: Enterprise Development & Alien Abductions

Clemens Vasters: Enterprise Development & Alien Abductions
Sunday, May 04, 2003 4:00 AM by TrackBack

# ISerializable

ISerializable
Sunday, May 04, 2003 4:00 AM by TrackBack

# ISerializable

ISerializable
Sunday, May 04, 2003 7:07 PM by Duncan Mackenzie

# re: MSDN staff

Are you referring to this phrase: "the groundbreaking SOAP Toolkit 1.0" ?

;)
Sunday, May 04, 2003 7:36 PM by Royo

# re: MSDN staff

You said it, not me ;)
Sunday, May 04, 2003 11:28 PM by Nathen

# re: Typed Datasets Are Not Always The Answer

I guess I'm coming from the point of view that I tend to consider a dataset more as a data transfer object for moving data between layers as opposed to just a member of the data layer. I'm a big fan of keeping things as simple as possible and to add complexity iteratively if needed. The advantage of the approach that you mentioned in your article is you isolate the typed dataset in the data layer which would make updating the code easier given a db schema change. You still have to contend with how you are transferring data between layers in distributed and non-distributed physical architectures. If I'm not using a dataset then I'll have to create custom serializable data transfer objects that are passed to and from each layer, but this begins adding additional complexity that could be kept simple just by using a dataset to move data between layers instead. Again, this is just my opinion on design and there are many very good ways to go about it and what you described in your article is one.

The answer to your last question goes back to my "keep things simple" approach. If the app is small enough with very little business rules and data requirements I would bypass using typed datasets because there may be so few touch points between the data layer and the business layer that using a typed dataset would be an example of over-engineering the solution. If the app continues to grow in size and complexity then I would dedicate a few iterations for refactoring the design to handle the additional complexity.
Sunday, May 04, 2003 11:39 PM by James Avery

# re: OneNote Is Cool But...

They are not going to include it with the release version of Office anyway, so better to not get attached in the first place. :)

-James
Sunday, May 04, 2003 11:52 PM by Mike Gray

# re: Explorer Tips and tricks for the keyboard junkie

WinKey+E - opens Explorer

Alt+F4 - close most windows
Ctrl+F4 - close MDI windows
Monday, May 05, 2003 1:17 AM by Addy Santo

# re: You guy are missing several crucial points

Hi Roy,

I'm currently working on a large enterprise app which is heavily based on typed-datasets. I used to be from the "typed-datasets-are-for-newbies-only" camp but I must admit that *when used correctly* they are an incredibly powerful tool.

Several key things to keep in mind when architecturing around typed datasets:

1. Equating TDSes to the data layer is like limiting XSLT to the presentation layer - that is only one use among the many existing possibilities.

2. Since TDSes are based on XSD schemas, you can load any arbitrary XML block (which matches your schema) and programmatically work against it with a HIGHLY-PERFORMANT object model. XPath queries over the same XML aren't even in the same ballpark.

3. Since TDSes are typed, you get compile time validation, as compared to XML/XPath which is a pain to debug.

4. TDSes come with built-in serialization capabilities and funky webservice related optimizations.

I don't have the bandwidth to describe my architecture in detail, but I am using datasets in several different capacities in my app and in every case they improved performance, reduced the amount of hand-written code and simplified the data structures.

-Addy
Monday, May 05, 2003 12:12 PM by TrackBack

# Eric J. Smith's Weblog

Eric J. Smith's Weblog
Monday, May 05, 2003 12:12 PM by TrackBack

# mads studentblog

mads studentblog
Monday, May 05, 2003 12:12 PM by TrackBack

# mads studentblog

mads studentblog
Monday, May 05, 2003 12:12 PM by TrackBack

# mads studentblog

mads studentblog
Monday, May 05, 2003 12:20 PM by TrackBack

# ISerializable

ISerializable
Monday, May 05, 2003 12:20 PM by TrackBack

# ISerializable

ISerializable
Monday, May 05, 2003 12:20 PM by TrackBack

# ISerializable

ISerializable
Monday, May 05, 2003 4:39 PM by Darren Neimke

# re: Regular Expression Library

Check out the new CheatSheet that Steve added last night --> get to it via the CheatSheet link on the side menu.
Monday, May 05, 2003 9:39 PM by Dan F

# re: Free Book: Software Testing and Internationalization

Any good?
Monday, May 05, 2003 9:52 PM by Roy Osherove

# re: Free Book: Software Testing and Internationalization

Just browsing through, It looks promising (Or I wouldn't have posted this..:)
Monday, May 05, 2003 10:13 PM by Roy Osherove

# re: Hacking My Blog

Fixed. Thanks for the tip!
Monday, May 05, 2003 11:09 PM by Michael Arnoldus

# re: UI Threading *<b>Might</b>* Sucks

Beware - I've spend quite a lot of time on this problem. We are building a client application fetching information from a server (using SOAP) in the background, and displaying the information in the windows UI when it arrives. Unfortunately it arrives in another thread. On top of this we have implemented a cache the UI components should be reading from (the cache could also be viewed as the "model" part of the MVC pattern). The problem is that it is insufficient to call Control.Invoke() when changing information in f.ex a listbox. We also need to make sure the underlying data to be displayed does not change while the UI thread reads it. And simple synchronization is not enough as this will only give atomic access to a single element, when we need to block the entire array while updating the control.
The best solution I've found until now is to model an UI thread and background threads as two separate processes (implemented as .NET threads) that only communicates through messages and has NO shared memory. The messages are modeled through a homebuild "mailbox" interface. The modeled is inspired by the language Erlang.
I'm looking forward to hear if find something smarter ...
Monday, May 05, 2003 11:43 PM by Roy Osherove

# re: UI Threading *<b>Might</b>* Suck

Hmm. I hear ya. I had a feeling this is just the tip of the iceberg. I was thinking that perhaps a generic class could be created that would handle synchronyzation issues between UI threads and others. I can see it taking in A Thread, A Thread Target (A control? A Delegate?) and another set of options and perhaps shared memory Objects (Through interfaces). Then it would handle the incoming streams of events from each thread, making sure each behaves correctly according to the options specified. I bet there is a pattern in here somewhere that someone has written about But i just don't know about it. MVC seems less relevant here, although i suspect it is part of the solution. Oh well. It's the hard(a.k.a cool) stuff that is the most fun, isn't it? ;)
Tuesday, May 06, 2003 1:42 AM by paul robichaux

# re: Chris Pirillo Sells His Mind

Lots of people have tried to make a business model out of what Chris is doing. The problem is that the degree of difficulty isn't transparent. What I see as a hard problem to solve may seem easy to the person who's handed a solution on a platter. ExpertsExchange has a pretty workable approach, and I'm sure there are other ways to handle it, but Chris' flat-rate approach seems like a fair start.
Tuesday, May 06, 2003 2:17 AM by Chris Pirillo

# re: Chris Pirillo Sells His Mind

I hate to tell ya, but I've already inspired two other gurus.

http://onlinetonight.net/ask/
http://dibona.com/faq/#Q0

And I've already made $100 without putting forth a serious effort.
Tuesday, May 06, 2003 4:54 AM by Roy Osherove

# re: Chris Pirillo Sells His Mind

Well, I'll eat my words then! ;)
That's great to hear :)
Tuesday, May 06, 2003 5:33 AM by TrackBack

# Code/Tea/Etc...

Code/Tea/Etc...
Tuesday, May 06, 2003 5:33 AM by TrackBack

# Datagrid Girl

Datagrid Girl
Tuesday, May 06, 2003 5:33 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 06, 2003 5:33 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 06, 2003 6:06 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 06, 2003 6:06 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 06, 2003 6:06 AM by TrackBack

# Julia Lerman Blog

Julia Lerman Blog
Wednesday, May 07, 2003 6:58 AM by Christophe Lauer

# re: Another Free Book + Maybe You Can Help

Hi Roy,

My guess is that it's a question of budget affectation. Promotional operations like this are driven from the US, with US (MS Corp.) budgets and other countries have to rely on subsidiaries operations and budgets. Simplistic, but I think that the answer is not very far from this.

Cheers,
/Christophe
Wednesday, May 07, 2003 7:20 AM by me

# re: Another Free Book + Maybe You Can Help

You can download it from their site for free. It's in pdf.
Wednesday, May 07, 2003 7:21 AM by me again

# re: Another Free Book + Maybe You Can Help

Here is the URL.
http://microsoft.com/downloads/details.aspx?FamilyId=A08E4A09-7AE3-4942-B466-CC778A3BAB34&displaylang=en
Wednesday, May 07, 2003 7:24 AM by Royo

# re: Another Free Book- Application Architecture for .NET: Designing Applications and Services .

Thanks! Already got an email from Jan on this issue. Still, The print version is always preferable..
Wednesday, May 07, 2003 10:56 AM by SBC

# re: Another Free Book

Let me know and I'll try and arrange to get you a print version (legit of course!).

SBC
Wednesday, May 07, 2003 7:23 PM by Frans Bouma

# re: 3D Cynicism

Hey, I like databases :) I truely do. It's just that after fighting with algorithms how to determine if 2 tables with a multi-field PK, have an m:n relation or not, it suddenly loses it's coolness factor for a few minutes, sometimes :)
Wednesday, May 07, 2003 7:26 PM by Royo

# re: 3D Cynicism

I think I and most others here can relate ;)
Wednesday, May 07, 2003 10:56 PM by Scott Prugh

# re: How Access 2003 Helped Me Out

Did you ever think of using SQL Server and the SQL XML import for this??

Also, there are several SQL Comparison tools out there:

www.redgate.com
www.lockwoodtech.com
Wednesday, May 07, 2003 11:03 PM by Royo

# re: How Access 2003 Helped Me Out

Thanks for your time!

A: SQL server was not an option in this case.. I'm aware of the XML import functionality in there, but we had to use MDB...

B: I can't find anything related to MDB comparison in Redgate.com, and LockWoodTech.com only has SQL server related comparison tools...

Perhaps you know of some tools pertaning to MDB files exclusively...?
Thursday, May 08, 2003 12:26 AM by rick

# MDB Diff tool

I haven't tried it personally, but here's a diff tool for Access MDBs:

http://www.matpie.drw.net/PBSystems/products/retired/MDBDiff.html
Thursday, May 08, 2003 1:16 AM by Adam Hill

# re: How Access 2003 Helped Me Out

Don't forget about MSDE. It is functionaly equivalent to SQL Server modulo the 10 "concurrent SQL processes" limit.

I use it for a client side app and it is very stable (since it is the SQL Server code base) and you get the bonus of being able to use Ent. Manager on it.

A very good DB Compare tool is SQL Data compare from http://www.red-gate.com/SQL_Data_Compare.htm

adam...
Thursday, May 08, 2003 1:40 AM by Royo

# re: How Access 2003 Helped Me Out

Thanks for all the great Info guys. I've found MDBDiff to work, thankfully.
As for MSDE, I always found it a bit cumbersome to work with, havinf to install it and the Ent. Manager with a seperate install.
I say, Either go full with SQL Server or Keep it simple with MDB. We have no need for more the 3 users for this project anyway...
Thursday, May 08, 2003 4:46 AM by TrackBack

# Jimski's Blog

Jimski's Blog
Thursday, May 08, 2003 4:46 AM by TrackBack

# ISerializable

ISerializable
Thursday, May 08, 2003 6:44 AM by G. Andrew Duthie

# re: A Better RegEdit

Great tool! Thanks for the tip, Roy!
Thursday, May 08, 2003 6:46 AM by Frans Bouma

# re: System Tweaks & Tricks

One hell of a tip, Roy! Some of them were handy but one was a very nice one, the Speed up Internet Explorer tweak. I switched the max amount of connections from 3 to 15 and suddenly the html editor on this site loads with an amazing speed. I think tweaking it even higher will bring even more speed, but that will probably result in a lot of hammering the webserver might not like. ;) Good one!
Thursday, May 08, 2003 6:50 AM by Royo

# re: System Tweaks & Tricks

Hmm. Havn't even noticed that one! I'll highlight it! Thanks :)
Thursday, May 08, 2003 7:01 AM by Royo

# re: A Better RegEdit

Glad I could help! (It's always fun to hear this stuff... ;))
Thursday, May 08, 2003 7:05 AM by Rachel Reese

# re: System Tweaks & Tricks

These are awesome Roy! Thank you!
Thursday, May 08, 2003 7:19 AM by Wes Haggard

# re: System Tweaks & Tricks

Some more tweaks and my favorite registry site is Regedit.com

This is where I learned to tweak the registry.

Wes
Thursday, May 08, 2003 7:31 AM by Royo

# re: System Tweaks & Tricks

Thanks for all the feedback guys/gals! ;)
Thursday, May 08, 2003 10:57 AM by TrackBack

# Frans Bouma's blog

Frans Bouma's blog
Thursday, May 08, 2003 11:03 AM by David Stone

# re: A Better RegEdit

Favorites have been in RegEdit for a long time. But having regedit embedded in my Explorer window is cool. :)
Thursday, May 08, 2003 4:03 PM by TrackBack

# Jan Tielens' Bloggings

Jan Tielens' Bloggings
Thursday, May 08, 2003 4:06 PM by TrackBack

# Rachel Reese's Blog

Rachel Reese's Blog
Thursday, May 08, 2003 6:02 PM by TrackBack

# ISerializable

ISerializable
Thursday, May 08, 2003 6:02 PM by TrackBack

# ISerializable

ISerializable
Thursday, May 08, 2003 6:02 PM by TrackBack

# ISerializable

ISerializable
Friday, May 09, 2003 2:11 AM by Philip Rieck

# re: Welcome Philip , Interviews, "as" Vs. Casting

Yes, I do. I live with this all the time. It's bad enough that my name is a homonym for "a really bad smell", but my first initial / last name combo looks like a common slang term for the male genetailia. I'll be watching that on my kids (thier names, not genetailia) , to make sure the standard computer user name they'll be assigned for life will not be quite so bad as mine.
Friday, May 09, 2003 3:18 AM by Dan F

# re: The Unofficial "Mort" Logo Is Available

You're right, it *is* ugly! :D

I whipped one up in photoshop, how would I go about getting it to you? You can get me at realfnad at yahoo dot com dot au if you want.
Friday, May 09, 2003 7:04 AM by Royo

# re: Welcome Philip , Interviews, "as" Vs. Casting

hehe.. Better late then never ;)
Friday, May 09, 2003 7:25 AM by Royo

# re: The Unofficial "Mort" Logo Is Available

Hope you got my email then!
For anyone else that would like to contact me, I can be reached either through the "contact" link on the weblog, or at this address:
Royo at Iserializable dot com
Friday, May 09, 2003 11:42 AM by Wes Haggard

# re: Enlightenment

Enlightening indeed, I can't believe I never really looked into this before. I have seen the little blue icon on plenty of websites but I have never really looked into it. But I got one now. I actually have a webservice that I was working on to collect stats but I think I will let Nedstat do the job instead. Yes one less thing I have todo to finish my website.

Thanks for the enlightenment.
Wes
Friday, May 09, 2003 4:07 PM by Jeff Julian

# re: Chris Pirillo Sells His Mind

I hope no one with their MVP is pulling this pay for knowledge deal. I don't like the idea. I will try to help you if you have a problem again, just email. Free!!!

Hide your source, don't hide your knowledge.
Friday, May 09, 2003 6:36 PM by Dan F

# re: Mort Banner - Revised

w00t! immortalised for ever :)
Friday, May 09, 2003 7:42 PM by TrackBack

# Wes' Puzzling Blog

Wes' Puzzling Blog
Friday, May 09, 2003 8:36 PM by TrackBack

# heLP .Net Blog

heLP .Net Blog
Friday, May 09, 2003 8:37 PM by TrackBack

# ISerializable

ISerializable
Friday, May 09, 2003 8:37 PM by TrackBack

# ISerializable

ISerializable
Friday, May 09, 2003 8:54 PM by TrackBack

# Emitter

Emitter
Friday, May 09, 2003 9:04 PM by Frans Bouma

# re: Enlightenment

Be aware of the fact that Nedstat isn't as secure as it should be. Sometimes the nedstat servers are pretty slow and then the image isn't loaded (the connection between the client and the nedstat server is slow, I mean) or way too late and you will not receive a hit. So I'd add 15% to the average number to get a correct measurement.

It's easy to setup your own counter if you have an online system yourself. Nedstat just checks when an image is loaded from their servers, checks the requester and increases the counter belonging to that requester. You can create such a counter within an hour. :)
Saturday, May 10, 2003 1:13 AM by Royo

# re: Enlightenment

Frans: Yes, I've noticed this myself, but am willing to live with this. Besides, there are some other factors that are not mentioned here. For example, The amount of people who download the direct RSS feed is unknown, so lets add 15% right there. Also, I use a redirecting service from Iseiralizable.com which is also not counted with NedStat.
I kind of like the fact that the stats that I see are known to be just a part of the real stats. It gives me a fuzzy feling knowing this is just part of a bigger crowd out there :)
Saturday, May 10, 2003 2:20 AM by Wes Haggard

# re: Mort Banner - Revised

Ok I have seen references to mort but I don't really know what exactly its all about. Can you explain it or point me to an explaination of it.

Thanks,
Wes
Saturday, May 10, 2003 2:26 AM by Royo

# re: Mort Banner - Revised

Have you tried clicking the banner ? It links to a story about Morts. A "Mort" is what VS.Net team call VB.Net programmers.
Saturday, May 10, 2003 7:58 AM by randy

# re: Writing Articles Is Hard!

Get your ideas down on paper first, then let them sit for a period of time before you come back to them (could be a day, could be weeks in some cases). If the ideas don't seem solid, do a little more work and let them sit again. If they still seem valid, proceed by starting an outline to lay out the structure of your article. Depending on your comfort level with writing, it may need to be a detailed outline. If the article involves code though, have the code ready before you move past the outline. As things go in software development, sometimes the end result isn't exactly what you had imagined when you started.

Once you start writing, force yourself to complete it in sections that correlate to the original outline. Then review them as they are finished to ensure that you're comfortable. Lather, rinse, repeat.

Once you have the article completely written, review it several times in the same manner that you reviewed the individual sections.

Good luck.
Saturday, May 10, 2003 1:07 PM by TrackBack

# heLP .Net Blog

heLP .Net Blog
Saturday, May 10, 2003 4:08 PM by Royo

# re: Writing Articles Is Hard!

Thanks for the input :)
Saturday, May 10, 2003 5:44 PM by Duncan Mackenzie

# re: Mind Rates

It wasn't actually your comments I was talking about, but some of the responses to that post.

Your point about the flat rate is certainly a good one, but difficulty of a problem is hard to track. I was a consultant for many years and I charged by the hour... but Chris wants people to pay up front, and hourly would be difficult to do in that way. Providing an estimate takes time too. Perhaps he could charge $27 for the estimate and count that amount towards the answer if it is harder... I actually think more people would complain about that scenario, even if it is more rational.

Just try to sneak hard questions in and you'll be getting a lot out of your $27 :)
Saturday, May 10, 2003 5:47 PM by TrackBack

# heLP .Net Blog

heLP .Net Blog
Saturday, May 10, 2003 7:49 PM by Matt Berther

# re: Geek Book

Grr... Link didnt work properly... How about this one... Beginning ATL 3 COM Programming
Saturday, May 10, 2003 8:00 PM by Royo

# re: Geek Book

You win!!
Sunday, May 11, 2003 3:25 AM by TrackBack

# ISerializable

ISerializable
Sunday, May 11, 2003 3:25 AM by TrackBack

# ISerializable

ISerializable
Sunday, May 11, 2003 3:40 AM by Wes Haggard

# re: How I Learn New Technologies

I don't know if I would describe my process of learning in "Circles" but I can see where someone could. I'm completely on par with you as far as the motivation to complete projects that aren't needed by someone. When I start working on a project myself I usually figure out the "cool part" of the project but then I don't usually finish the project. I will usually either find something else that interests me and start working on that or I will just get bored or distracted. I do find myself comming back to projects that I haven't worked on for a while when the need arrises. I'm trying to get better about completing things I start. In fact starting my weblog here has helped me complete more projects because when I discover something I like to clean it a little and post it on my weblog.

Wes
Monday, May 12, 2003 12:12 AM by Dan F

# re: Blindfolded

you're kidding! wow...
[i'd never noticed it before either]
Monday, May 12, 2003 12:30 AM by Royo

# re: Blindfolded

Weird, huh?
Monday, May 12, 2003 2:16 AM by Addy Santo

# re: A Spoiler


Correction: 11 days, not 10. I got tickets for the 14th :)

Na-na Na-na-na....
Monday, May 12, 2003 7:39 AM by Eric J. Smith

# re: Implementing A Data Layer

CodeSmith is a template based code generator. Meaning that you have 100% control over the code that is generated. If nothing else, you should look at using it for generating your stored procedures. Take a look and let me know if you have questions.

http://www.ericjsmith.net/codesmith/
Monday, May 12, 2003 7:50 AM by Roy Osherove

# re: Implementing A Data Layer

I think I've tried it before. I think it's a great tool. I couldn;t figure out though if it can run as a VS.Net addin or not. I was only able to run it in StandAlone...
Anyway - is definitely one that is on my toolbox, however, I don't see myself using it for more then relatively small tasks such as SP generation and such...
Anyway - I'll check out the new version :)
Monday, May 12, 2003 7:51 AM by Roy Osherove

# re: A Spoiler

Boy, You sure know how to cheer up a guy ... ;)
Monday, May 12, 2003 8:15 AM by Frans Bouma

# re: Implementing A Data Layer

The problem with the approach you use, Roy, is that it uses datasets. The concept of datasets sucks. I'll try to describe it in a blog tomorrow.
Monday, May 12, 2003 8:18 AM by Roy Osherove

# re: Implementing A Data Layer

Frans: Actually - Datasets are only part of it. You can use IDataReader with all your method calls as well...
Monday, May 12, 2003 10:38 AM by Paschal

# re: New Article: Practical Parsing Using Groups in Regular Expressions

Roy maybe you can help me with this question

http://dotnetweblogs.com/pleloup/posts/5611.aspx

Thanks
Monday, May 12, 2003 10:48 AM by Jeff Julian

# re: June Is Officially here

It has been official in my cubical for a little over a week now :).
Monday, May 12, 2003 11:03 AM by Roy Osherove

# re: June Is Officially here

Some of us are not so lucky as to subscribe to it.... :(
Monday, May 12, 2003 11:15 AM by Royo

# re: New Article: Practical Parsing Using Groups in Regular Expressions

I'll have a go at it tommorow when I get the time :)
Monday, May 12, 2003 12:35 PM by Jeff Julian

# re: June Is Officially here

Universal Subscription!!!!

I love my company!

Next month, I will give you the scoop so you don't have to wait so long.
Monday, May 12, 2003 2:16 PM by Royo

# re: June Is Officially here

You mean you get a subscruption if you have a msdn universal subscription?
Monday, May 12, 2003 6:05 PM by Joe

# re: Typed Datasets Are Not Always The Answer

Don't agree with the answers above.
1. A typed dataset can appear in any assembly in any project. Referencing the typedataset is the same as referencing custom classes - there's no difference.

2. Do you want your business objects holding your business rules. This is not scalabale because you are combining state with logic which means that it's more difficult to distribute your logic across servers. Also you don't have a clear visibility on the dependencies between the logic in your code and the data that drives the logic. The public interface on the data container provides this if you keep your functions outside the business objects.

3. Your schema should evolve independently of the database. The database schema is there to cope with the physical contraints of the database and is used to populate your logical schema - which is the XSD file in your project.
Monday, May 12, 2003 7:08 PM by Roy Osherove

# re: Typed Datasets Are Not Always The Answer

Joe:
Thanks for your comment, however, before coming to any conclusions, read the following article:
"Oops, Datasets *Are* Scalable!*"
http://dotnetweblogs.com/rosherove/story/6434.aspx

which I wrote later after writing this article.
In it I explain why I was mistaken in this article, and how Datasets *can* be used as scalabale objects.
Even so, The sentence "Do you want your business objects holding your business rules" bugs me. Yes, they are business objects. That's their purpose. As for Holding State and rules togather - That's not always the design decision. I can have business objects that return datasets or data readers. All they do is take care of the logic. They do not have to return TYPED datasets though, just plain datasets.... but that's all explained inthe other article..
Monday, May 12, 2003 7:40 PM by TrackBack

# ISerializable

ISerializable
Monday, May 12, 2003 7:40 PM by TrackBack

# ISerializable

ISerializable
Monday, May 12, 2003 8:01 PM by Roy Osherove

# re: New Article: Practical Parsing Using Groups in Regular Expressions

Your answer is here:
http://dotnetweblogs.com/rosherove/posts/6963.aspx
Monday, May 12, 2003 8:22 PM by Paschal

# re: Strip HTML tags from a string using regular expressions

Thanks Roy for this but what I want is to keep some tags like <p><br>, etc...
Monday, May 12, 2003 9:41 PM by DD

# re: MSDN Hands-On Labs

Cool! I finally took the leap a few weeks back towards upgrading my MCSD to dotnet - first step towards changing jobs as my company is now officially SAP and I refuse to work with that piece of crap.

So far I dished out the bucks for a P4 laptop and MSDN Universal DVD (amazing how quickly that paid for itself). Now I'm building my library while playing around with VS 2003 (amazing how much smaller the footprint is).

Now I get some free labs too. Next up is signing up for that free Viewsonic! Between that PocketPC and the $300 rebate I can actually say MSDN cost me just over $400.
Tuesday, May 13, 2003 2:08 AM by Oisin

# re: Strip HTML tags from a string using regular expressions

This is probably not the best regular expression for stripping HTML either. A RegEx parser that performs greedy matching (e.g. try to match as much characters as possible) will match \1 in '<(.*)>' to 'i>important info</i' in '<i>important info</i>'.

I would suggest either use non-greedy matching via '<.*?>' (e.g. match the first '>' you find, not the last possible one) or use a more specific pattern like '<[^>]+>' -- e.g. match a '<' than match one or more sequential characters that are not '>' up until the first '>' you find.

Regex is a dark and deep hole that once you fall in, it's hard to get out; but like a big hole, there's light at one end of it ;)

Tuesday, May 13, 2003 2:51 AM by Hugh Brown

# re: Strip HTML tags from a string using regular expressions

Your regex eliminates everything in this HTML:

string html = "<html><head><title>asasdasd</title></head><body><h1>qweqweqwe</h1><div>This is the content</div></body></html>";
string modified = StripHTML(html);
Console.WriteLine (modified);

I typically use patterns more like this to find html tags:

private static string linkPattern = @"(\<link[^\>]+\>)";

Lots of bath water left when I'm done with that baby.
Tuesday, May 13, 2003 3:19 AM by Roy Osherove

# re: Strip HTML tags from a string using regular expressions

Thanks for the great tips guys! I'll look in to it and fix the samples. :)
Tuesday, May 13, 2003 5:01 AM by Dumky

# re: Blindfolded

Hi,

You might have noticed this too, but there is this weird behavior on W2k with regedit:
if you open it with "Start->Run->regedit" you get the favorites menu, but if you type "start regedit" in a command prompt, then you don't!

Makes you wonder how the thing was coded ;-)
See you,
Dumky
Wednesday, May 14, 2003 5:28 AM by Anonymous

# re: Practical Parsing Using Groups in Regular Expressions

This won't work.

First, anyone viewing this on the web can't see your named groups, because they're enclosed in less-than and greater-than signs. All people see is the question-mark if they're looking at it in a browser. You need to use the ampersand-representations, &lt; and &gt; .

Secondly, you say the group name is case-sensitive, but in your expression you use "DAY" and in your group index you use "Day". If they are indeed case-sensitive, this example won't work.
Wednesday, May 14, 2003 5:55 AM by Cory Smith

# re: A Long Day!

You are aware that most of the file functions in VB6 are available in Microsoft.VisualBasic.dll? They are just slightly renamed (Get->FileGet, etc.). Albiet, they aren't nearly as high performance as FileStream, there is a lot of things that can be done with them "natively" than are a nightmare to do using FileStream. For an example, take a look at:

http://www.addressof.com/blog/PermaLink.aspx/8c13fd58-4091-46e2-8a77-22e79b08f8fb

and

http://www.addressof.com/blog/PermaLink.aspx/fa9dd4e8-b849-4d57-8620-5be4cca9b88e

Needless to say, I can relate to your frustration ;-)
Wednesday, May 14, 2003 7:22 AM by hughes.tv

# re: A Long Day!

"19:45 - 20:15 head to head with something that you thought you could do in an hour".

By my reckoning, 7:45pm to 8:15pm is 30 minutes and you thought it'd take an hour. That's great performance ;-)
Wednesday, May 14, 2003 8:14 AM by Roy Osherove

# re: A Long Day!

Hughes: DOH! ;)
Wednesday, May 14, 2003 8:22 AM by Royo

# re: A Long Day!

Also, About Using VisualBasic.DLL - I knew about this possiblity, Didn;t think of using it though. Besides. Not sure if it would have helped with the problems I faced, But I'm not sure. So i'll check it out and blog it out!
Wednesday, May 14, 2003 8:32 AM by Royo

# re: Practical Parsing Using Groups in Regular Expressions

Thanks for the comment! I fixed it (Doh,How did I not notice??)
Hopefully it makes more sense now :)
Sorry if this confused anyone...
Wednesday, May 14, 2003 8:42 AM by Jamie Cansdale

# re: A Long Day!

On a similar graphic theme... ;)
http://www.mutantdesign.co.uk
Wednesday, May 14, 2003 9:11 AM by Roy Osherove

# re: A Long Day!

Heh. Good one! :)
Wednesday, May 14, 2003 10:50 AM by SBC

# re: About Design


Have a small mirror next to your alarm clock
;-)
Wednesday, May 14, 2003 6:27 PM by Christian Weyer

# re: Oops! Typed Datasets ARE scalable!

OK, after having gone to nearly all of the articles & posts related to this very interesting topic: I find TDS an extreme powerful and also scalable programming model, absolutely. Therefore, the comments I have here are mostly from a comment I posted on Clemens' weblog ...
If I now want to share the data inside an TDS across boundaries - e.g. through a Web Services interface - I have several options. 1) Just pass back an instance of the TDS schema-based class back from your WebMethod. That is easy but always emits the Schema embedded. Is this bad? Well, there might be some cases ... 2) Just serialize the TDS to stream without any schema, just the data (serialized InfoSet) and return this one. Is this bad? Well, in some cases ... Additionally, the thing with interoperability is homehow a weak argument. The WSDL of a TDS-enabled Web Service always exposes the schema - so it is just not my fault that Axis or any other SOAP toolkit currently does not have a magic wizard DataSet class, but they are definitely able to understand me and work with me and my data.
Actually, when exposing TDSes through a Web Services interface I do not have to care about supplying the client with the TDS class - they get generated from the WSDL.

To come to a conclusion, I just want to say that there might not be *the* way for using and passing TDS. I like them because they ease the programming with databases and smoothly fit into the Web Services picture, IMHO.

Cheers,
Christian
Wednesday, May 14, 2003 11:42 PM by Dan F

# re: About Design

I can honestly say I've never looked at a steering wheel and wondered why its got holes in it.
You're wierd :P
Thursday, May 15, 2003 12:04 AM by Paschal

# re: One Cool Menu

Roy this is cool but what's about Usability ;-)

A dropdown in a menu, a bit useless no?
Thursday, May 15, 2003 12:31 AM by Roy Osherove

# re: One Cool Menu

Useless? Maybe, but cool! :)
Thursday, May 15, 2003 1:32 AM by Damit

# re: Please don't spoil it for us

I couldn't agree more! Especially since it opens here (Singapore) on the 25th. =(
Thursday, May 15, 2003 1:46 AM by Jeff Julian

# re: Please don't spoil it for us

Totally agree. I get to see it tonight at 11:10 but I wont say a word to anyone who hasnt seen it, except my boss who always ruins movies for me.
Thursday, May 15, 2003 1:47 AM by Roy Osherove

# re: Please don't spoil it for us

Singapore! cool :)
* I like the idea of reaching out ;)*
Thursday, May 15, 2003 1:51 AM by Roy Osherove

# re: Please don't spoil it for us

Jeff: heh, Isn't revenge sweet? ;)
Thursday, May 15, 2003 7:46 PM by Yosi Taguri

# re: Blog style change

how did u edit the css??
Thursday, May 15, 2003 9:44 PM by Roy Osherove

# re: Blog style change

Blog Admin->Configuration->Skin combo
Thursday, May 15, 2003 11:58 PM by Cengiz

# re: Please don't spoil it for us

i agree!
i am from Turkey and saloons is full
Saturday, May 17, 2003 11:34 AM by julie

# re: UI Threading Helper Classes

first: I'm "Julia" on paper - my birth certificate, my business card, etc. But I've always been called "Julie"
second: this looks like the right approach. Cool!
julie
Saturday, May 17, 2003 8:35 PM by TrackBack

# ISerializable

ISerializable
Saturday, May 17, 2003 8:35 PM by TrackBack

# ISerializable

ISerializable
Sunday, May 18, 2003 4:37 PM by Chris Pirillo

# re: When Blogs Go Commercial

That's Lockergnome. ;)
Sunday, May 18, 2003 8:21 PM by AsbjornM

# re: Editor's Choice Awards

How hard is it to enter <ALT>+C ?
I uses block-mode alot, and find it wery handy.
UltraEdit is my editor of choice these days, before it was Qedit (semware?)
Sunday, May 18, 2003 8:48 PM by Royo

# re: Editor's Choice Awards

erm. ALT+Select is easier :) Even visual studio has it !
Sunday, May 18, 2003 9:21 PM by Royo

# re: When Blogs Go Commercial

What are you referring to? I'll replace :)
Sunday, May 18, 2003 9:50 PM by Dan F

# re: Editor's Choice Awards

of the free editors, I've found ConTEXT to be pretty snazzy. Its missing a *lot* of the UE functionality, but its still bucketloads better than notepad for general purpose colour coded editing. http://www.fixedsys.com/context/
One thing I miss about UE is the column mode. That is a fantastic feature :)
Monday, May 19, 2003 12:08 AM by Don

# re: Editor's Choice Awards

Ok, I know that editors are like religion for ppl, but I'd be remiss if I didn't plug my favorite editor of all time: EditPlus (http://www.editplus.com). I've used this editor for ~5 years now and I know it inside and out. If anyone is searching for a new editor, check it out...
Monday, May 19, 2003 3:26 AM by Jason Bock

# re: UI Threading Helper Classes

One suggestion. While some people may know the code that it takes to set up the handler properly, it may be cool to show what it takes without your class and how your class reduces the code base significantly.

BTW cool idea.

Regards,

Jason
Monday, May 19, 2003 4:08 AM by Oisin

# re: About Productivity

This is so true. Until I met someone like that, the thought never entered my head that someone could be a developer and not be a "power user". I am working with some people like that right now: I once asked one of the developers what he thought of a particular topic and his reply was "You're asking the wrong person, I'm not technical". Unbelievable.

It really astounds me. There _really_ are developers who are not technical. I mean, how can you be a developer and not be passionate about technical things? It's like having an mechanical engineer be completely disinterested in physics. I just don't understand.

Anyone out there shed some light on this?
Monday, May 19, 2003 6:30 AM by TrackBack

# Yosi Taguri's WebLog

Yosi Taguri's WebLog
Monday, May 19, 2003 12:14 PM by Damit

# RE: Please don't spoil it for us

Apparently it opens earlier than I thought. =) Will try to get tickets to go for it..
Monday, May 19, 2003 1:14 PM by chadb

# re: Articles, Articles, Articles!

LOL -

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


Monday, May 19, 2003 8:19 PM by SBC

# re: UI Threading - A Very Simple Solution

Good one Roy. Will check it out with an example.
Monday, May 19, 2003 8:21 PM by SBC

# re: Articles, Articles, Articles!

There's no C# in the drop-down list...
;-(
Monday, May 19, 2003 9:20 PM by Yosi Taguri

# re: I'm In!

I'm in for 8:00 am.. ;)
Monday, May 19, 2003 10:17 PM by Rob Cannon

# re: UI Threading - A Very Simple Solution

It seems like this bit of code would be an ideal thing to be hidden via a custom attribute. There was an MSDN article about writing interceptors a couple of issues ago. I'll have to look it up and see what is possible.
Monday, May 19, 2003 10:23 PM by Royo

# re: UI Threading - A Very Simple Solution

Exactly my thoughts! We'll see who gets there first ... ;)
Monday, May 19, 2003 10:31 PM by Tim Marman

# re: I'm In!

How do I get on that list? :)
Monday, May 19, 2003 10:56 PM by Royo

# re: I'm In!

Erm, I suppose I registered at some conference I attended or something. other than that, I have no idea how they got to me..
Tuesday, May 20, 2003 6:08 AM by TrackBack

# Julia Lerman Blog

Julia Lerman Blog
Tuesday, May 20, 2003 8:46 AM by Addy Santo

# re: UI Threading - A Very Simple Solution

Before diving too deep into interceptors and ContextObjects (and their related side effects such as insanity) take a look at this, it might be close to what you had in mind:

http://www.fawcette.com/vsm/2002_09/magazine/columns/blackbelt/default_pf.asp

-Addy

Wednesday, May 21, 2003 6:12 PM by Andrew Stopford

# re: The Books I Really Really Want

I have 6 of the 13 books listed, not bad :D
Friday, May 23, 2003 2:12 AM by Addy Santo

# re: The Right People For The Right Job

Sounds like a company I know... ;)
Friday, May 23, 2003 2:23 AM by Roy Osherove

# re: The Right People For The Right Job

Sounds like A LOT of companies I know, Addy :)
Friday, May 23, 2003 2:41 AM by Greg Robinson

# re: The Right People For The Right Job

For the most part I agree with you. One thing to remember though, unless given the chance, how will you know if you can succeed? I am with a VERY small group now and we all wear many hats. I am learning and having a lot of fun and it is opening other doors for me. I just wish i could close this DBA door and take it this DBA hat!
Friday, May 23, 2003 2:51 AM by Chad Osgood

# re: The Right People For The Right Job

I left a large company with a large development team because of exactly what makes you queasy. I worked in a team that had a dedicated group/individual for every task, some granular enough to be performed by a single individual. I was rather tired of the "assembly line development" strategy, so I left for a smaller company where I could indeed wear multiple hats. I of course agree with the developers->marketing reference, but in consulting you HAVE to do almost everything.

I prefer it this way. Nothing was more frustrating to me than limiting my abilities by making me sit through developer tedium each day.
Friday, May 23, 2003 9:25 AM by Roy Osherove

# re: The Right People For The Right Job

I'm not saying that a person can't own more than one hat, I'm saying not *everyone* is up to the task , yet companies accept an employee to a specific task based only on who's available, and not based on that person's skill set or lack there of...
Friday, May 23, 2003 10:57 PM by Mads Nissen

# re: The Right People For The Right Job

Note that these observations are always done by people below the people in question, in the organization. Otherwise you'd get rid of them right?<br><br>And although I totally agree with you on this one (and feel veery familiar), it can sometimes be necissary for a PM to make unpopular choices.. just another aspect of it all.. But indeed, lousy people are really annoying, especially when they're your boss:)
Friday, May 23, 2003 11:12 PM by Mads Nissen

# re: The Books I Really Really Want

I just bought Patterns of Enterprise Application Architecture by Martin Fowler. Can't wait to get through it.. Looks great!
Saturday, May 24, 2003 2:38 AM by Roy Osherove

# re: The Books I Really Really Want

Ahh. I'll need to get that one....
Sunday, May 25, 2003 1:09 AM by Kenneth LeFebvre

# re: The Right People For The Right Job

Sounds like you would really enjoy this article:

http://crystalmethodologies.org/articles/panlc/peopleasnonlinearcomponents.html

Sunday, May 25, 2003 9:16 PM by Dave

# re: Microsoft Internet Controls Life Saver

Is there a link to the article?
Sunday, May 25, 2003 9:17 PM by Royo

# re: Microsoft Internet Controls Life Saver

oops! fixed :)
Monday, May 26, 2003 1:53 AM by SBC

# re: .Net Debugging Resources

Good one Roy. I had a 'debugging' posting recently - http://dotnetweblogs.com/sbchatterjee/posts/7189.aspx. John Robbins 'BugSlayer' column is another good source - for e.g., http://msdn.microsoft.com/msdnmag/issues/01/02/Bugslayer/default.aspx
Monday, May 26, 2003 2:10 AM by SBC

# re: Microsoft Internet Controls Life Saver

http://dotnetweblogs.com/sbchatterjee/posts/7583.aspx
Monday, May 26, 2003 6:45 AM by TrackBack

# SBC DotNet Weblog

SBC DotNet Weblog
Monday, May 26, 2003 8:42 AM by TrackBack

# ISerializable

ISerializable
Monday, May 26, 2003 8:42 AM by TrackBack

# ISerializable

ISerializable
Monday, May 26, 2003 8:42 AM by TrackBack

# ISerializable

ISerializable
Monday, May 26, 2003 8:42 AM by TrackBack

# ISerializable

ISerializable
Monday, May 26, 2003 8:42 AM by TrackBack

# ISerializable

ISerializable
Monday, May 26, 2003 8:42 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 27, 2003 12:13 AM by Jeff Julian

# re: BlogWear

I ordered mine :)
Tuesday, May 27, 2003 4:35 AM by Robert Scoble

# re: PeopleWare

Weird, my mentor here gave that book and I read most of it last night. Totally agree with you, though.
Tuesday, May 27, 2003 4:47 AM by Roy Osherove

# re: PeopleWare

It's cool to hear that MS is using this book in its culture. It says a lot. Of all of the people I've met in various companies (in israel) only 1 or 2 knew about this book. Sad.
Tuesday, May 27, 2003 6:30 AM by Paul Gielens

# re: PeopleWare

Thnx for the tip.
Tuesday, May 27, 2003 6:38 AM by Sam Gentile

# re: PeopleWare

This is a must-read for all software people. I read the first edition aboutb 10 years ago and read it time and time again.
Tuesday, May 27, 2003 6:56 AM by Nino Benvenuti

# re: PeopleWare

I whole-heartedly agree, Roy. I first read this a few years ago, it changed my perspective on some things. A must-read for any developer.
Tuesday, May 27, 2003 9:30 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 27, 2003 9:30 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 27, 2003 9:30 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 27, 2003 9:30 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 27, 2003 9:30 AM by TrackBack

# ISerializable

ISerializable
Tuesday, May 27, 2003 6:03 PM by Frans Bouma

# re: About Dynamic Plug-in Discovery And AppDomains

Good post. Thanks for the info :)
Tuesday, May 27, 2003 9:32 PM by SBC

# re: .Net Developer Journal May Issue PDF download

Most of the stuff from Fawcette is pretty much free (but the content is a bit dry at times). http://www.fawcette.com/
Tuesday, May 27, 2003 9:36 PM by Royo

# re: .Net Developer Journal May Issue PDF download

Yeah. But the good thing that there's A LOT of it :)
Tuesday, May 27, 2003 10:59 PM by Fabrice

# Chris Brumme

The following post has a high value to understand what happens:
http://blogs.gotdotnet.com/cbrumme/PermaLink.aspx/2fad6a65-3ced-49b4-ae8b-c4068bad25fc
Tuesday, May 27, 2003 11:09 PM by Royo

# re: Create More Readable Code By Interface Prefixes

Yes, I've read this article once, but could link it to this behavior.
At thought I thought there were some performance implications using this notation, but Chris's post says nothing about that.
It *does* mention performance implications when implicitly implementing an interface Vs. *explicitly* implementing it(i.e declaring ":IMyInterface" Vs. no declaration)
Tuesday, May 27, 2003 11:40 PM by Uwe Thomas

# re: Create More Readable Code By Interface Prefixes

I more like the feature of VS 2003:
When you type the ':IConfigurationSectionHandler' behind the class name, there is a little tooltip saying 'Press tab to implememnt stubs'. This way you get the complete implementaion within a #region

For your method be aware that the explicit interface implementation is not syntactic shuggar of C#.
The resulting IL is different and you even can have both versions (with and without explicit mention of the interface) at the same time.

The disadvantage from the handling point of view is, that you can call these functions only if you have an pointer of interface type. A pointer of the class type is not sufficient and you often have to cast to the interface first.

Wednesday, May 28, 2003 1:22 AM by Mike Gunderloy

# re: .Net Developer Journal May Issue PDF download

You can also get MCP Magazine as a PDF; signup at http://subscribe.101com.com/mcpmag/digsub/?p=enews , sample issue at http://101offer.com/de/?e=ptsang@101com.com&i=0305_mcp&m=mcp&D=4/23/2003 (full disclosure: I'm a contributing editor for MCP Magazine).

SD Times is also available for download, and if you go through their subscription qualification process, you can get them via e-mail. http://www.sdtimes.com/
Wednesday, May 28, 2003 3:29 AM by Roy Osherove

# re: Create More Readable Code By Interface Prefixes

Thanks for the good tip, Uwe.
It's a keeper :)
Wednesday, May 28, 2003 6:17 AM by Richard

# re: Paper Prototyping

I really like some of the things you have to say in your blog, but why bother putting references to stuff Joel recommends in yours (other than to get the Amazon commission). If I want to know what Joel recommends, I'll subscribe to his blog (which I do)?

Wednesday, May 28, 2003 6:27 AM by Roy Osherove

# re: Paper Prototyping

Hey Richard.
First, Thanks for your comment.

Second,
Not all the people that read my blog read Joel. I quote lots of stuff by lots of people, taking into account that if it's cool enough for me to email my work mates about, it's cool enough to blog about.

Third,
If I see a good book that I can heartily recommend, I'll recommend it, even though it's a quote.
That's excatly the reason I have a post category named "original .Net content" and another named ".Net quotations".
This way you can just concentrate on the original stuff. (You can even have an RSS feed to just that category!)
Plus - If I can get a commission on someone buying it through me, all the better. Since I'll only recommend stuff I believe in, I have no problem promoting books through my blog.
as a developer I'd sure as hell pay a lot more credibilty to what another developer like me recommends than some book site. If that developer gets a commission when I buy the book - good for him/her.

hope this helps clear things :)
Roy
Wednesday, May 28, 2003 2:25 PM by TrackBack

# ISerializable

ISerializable
Wednesday, May 28, 2003 6:34 PM by Shawn A. Van Ness

# How to enumerate the named capturing groups in a regex?

Hi Roy,

First off, if you were using the regex-based C# colorizer that Wes H and I have been working on, that anglebracket bug was my fault. Sorry! ;)

But that's not why I'm writing... or actually yes, it is. I was trying to add a feature to that same product, one which would ultimately require "reflecting" on a user-entered regex to get a list of named capturing groups.

Short of scanning a regex pattern with a regex (ugh!) I can't seem to find a way to do that.

IOW, it looks like although GroupCollection allows us to index by string, it doesn not allow us to enumerate by string.

You may have more experience than me, in this area -- am I missing something?

Wednesday, May 28, 2003 6:59 PM by Royo

# re: Practical Parsing Using Groups in Regular Expressions

Hey Shawn.
Actually, I Copy-Pasting from VS.NET into the editor.
Second, As for your question, It seems a pretty complicated case, and off the top of my head, I can't think of a better way than parsing Regex patterns with Regex patterns :)

However, If i'll come up with something , I'll let you know about it :)
I suggest, If you havn't yet, Trying to post on the Regex Mailing list from ASPAlliance.com
The folks there might help...
They have more experience than me on this subject.
Wednesday, May 28, 2003 9:38 PM by Leonard

# re: Using Memory Errors to Attack a Virtual Machine

Knowing that Smartcards have serious security features incorporated into them, I find it hard to believe that this type of attack would be sucessfull against a smart card. Take into consideration that most JAVA cards have current sensors built into them that automaticaly reset the card if 'unnatural' conditions occur on the card's circuitry. Heck they even have light sensors that erase the secure storage locations on the card, if the device is tampered with and exposed to light. I think that seeing is believing when it comes to this type of attack...
Wednesday, May 28, 2003 9:57 PM by Dave

# re: About Blogging Etiquette and Inline Product Promotions

I must be missing something here. Weblogs are definitely NOT professional-for-profit endeavors, right? So exactly what does this imply?

IMHO it means everything you post has a personal slant. Code of conduct? None needed. Okay, since this weblog is part of dotnetweblogs.com you may have some rules, but that's about it. If you want to plug your latest book, software release or MP3 you have every right to.

Trust me, if you end up just talking sales pitches, the traffic to your weblog will fall off dramatically.

I subscibed to your RSS feed weeks ago and will continue to. I read Joel's too. WHen you posted about his last rant I basically skipped over it because I already knew about it. Just like any other reader is able to.

Keep blogging like you have been. You're doing a great job.
Wednesday, May 28, 2003 10:35 PM by Royo

# re: About Blogging Etiquette and Inline Product Promotions

Hey Dave.
Thanks for the positive feedback :).
However, I still think there should be such a thing as an code of conduct , even an unspoken one (Which I think most of us adhere to anyway).
I know that when I read (developer) blogs I like to know that they are "authentic" and without hidden agendas.
I want it all on the table. If i ever discover that someone is "working" me about something I'm reading, I'll never go back.
A good example would be those semi-news articles in the papers that are actually ads that look like articles.
You really have to look closely to find out if what you're reading is legit. That toally annoys me.
I don't want that happening to me in BlogLand.
Wednesday, May 28, 2003 11:38 PM by Jason

# re: About Blogging Etiquette and Inline Product Promotions

I agree with most of what you're saying, Roy, and I think you've got a great site that usually adds a ton of value to my reading for the day. Dave makes an excellent point as well that blogs by definition are a reflection of your own ideas and opinions.

"I only recommend books I would buy myself, hence I feel I lose no credibility when I get commissions from books I refer to"

A statement like that, though, isn't in keeping with the spirit of personal expression though. If you were recommending a paper, application, MP3 or book that you'd actually bought/read/used, and were offering insight into its value and application that would be one thing. If you haven't, though, then cross posting something like Joel's recommendation isn't adding much value to anyone other than changing the affiliate ID in the link.

I realize I'm free to skip over it...but with the flurry of posts recently about how to handle signal-to-noise in arenas like this, I think it's something to try and keep top of mind when making a fresh post.

Keep up the great work...and if the statement I quoted was simply misstated and you have read the work then feel free to ignore this mini-rant :)
Wednesday, May 28, 2003 11:58 PM by Kenneth LeFebvre

# re: About Blogging Etiquette and Inline Product Promotions

I agree with Dave. Blogs are about people expressing themselves and there's no way to formulate guidelines to constrain such free expression.

What would composing a Code of Conduct accomplish? I'll read the blogs I'm interested in because of the content, not because of any particular association with a Code of Conduct.

On the other hand, your desire to formulate such a Code is a very legitimate aspect of your own personal expression... ;) I'm sure, sooner or later, someone will write one. And someone else will write another. And someone will try to organize all bloggers into an empire. And all of this will be part of the nature of people expressing themselves...

...and it will all be fun to watch!
Thursday, May 29, 2003 1:27 AM by Royo

# re: .Net Developer Journal May Issue PDF download

Thanks for the good info guys :)
The question now lies in whether I'll get enough time to read it all ;)
Thursday, May 29, 2003 1:43 AM by Jesse Ezell

# re: About Blogging Etiquette and Inline Product Promotions

Putting affiliate links in your posts is kind of cheezy if you ask me. I don't mind if you get a few bucks if I like the book, but I would bypass it all together, simply because of the potential for someone misunderstanding my intentions. Remember, connotation is just as important as denotation, if not more.
Thursday, May 29, 2003 2:37 AM by Tim Marman

# re: About Blogging Etiquette and Inline Product Promotions

I agree with most things said here.

I have no problems putting affiliate codes on Amazon on weblogs, and when making personal recommendations that's more than fine. It's not like you're making a significant amount of money even if a lot do buy it, and more often than not it's just going to go to yet another book you can review, in which case you're again helping the community by providing another opinion before I/we go out and buy it ourselves.

That being said - did you actually read Paper Prototyping? :)
Thursday, May 29, 2003 2:38 AM by Chad Osgood

# re: About Knowledge Blocks

I completely empathize man; I'm a bibliophile. Knowledge is empowering, and there's no greater feeling of empowerment for inquisitive people than acquiring new knowledge, imo. My only trouble is that I have a tendency to read only the "interesting" parts of a book. I actually very rarely read a book front->back, but then again, a lot of technical books have chapters better suited for a JITKA (JIT knowledge acquisition) reference.
Thursday, May 29, 2003 2:46 AM by Royo

# re: About Blogging Etiquette and Inline Product Promotions

Tim: No I havn't read it, But as I said - I wouldn;t have recommended it if I would not have wanted this book on my bookshelf.
Still, I'm trying not to cross the thin line of credibility here. Perhaps from now on I'll think more before I put referrer links in a post. Maybe that will even give more credibility to my book recommendations..?
I'm saying "perhaps" here because maybe I won't be able to live up to my promise on this one. If I see something I like, I feel a need to post about it. And while I'm alaredy posting about an amazon book, why not put a referrer link on it?
Oh well, My head is starting to spin about this whole issue.
Maybe I shouldn;t be this concerend with what everyone else thinks about me?
I find that almost impossible to do...
Thursday, May 29, 2003 4:30 AM by TrackBack

# Loosely Coupled

Loosely Coupled
Thursday, May 29, 2003 4:48 AM by Dave

# re: About Blogging Etiquette and Inline Product Promotions

Roy, it sounds like you DO have an implicit code. Believe me, it shines through. No need to be explicit for just that reason. As you said yourself, if you feel that hidden agenda shining through on someone's weblog you - and many more like you - will simply never come back. That is exactly the point of my initial comment.

Now, for me there is something implicit also. My lack of a URL due to a lack of a weblog. What this results in is my comment name lacks that 'link' flavor. DO I sometimes wonder if that hurts me? That people wonder about my hidden agenda? Certainly. Unfortunately I learned a while back that I lack the discipline and subject focus to really commit to a weblog. But you see, just like you, I also am concerned with what everyone else thinks of me!
Thursday, May 29, 2003 7:21 AM by Adam Hill

# re: About Knowledge Blocks

Its cool to know there are other people in the world that can *enjoy* going to a book store with other people.

I was in downtown Austin Texas a few weeks ago at a Starbucks and thought to myself - "Wouldn't it be cool to go back to school." What triggered this you may ask - All the people in the store were *reading* I dont get that up here in Dallas.

I really hate (as my friend put it) "filling up all available silence with structured noise".

adam...
Thursday, May 29, 2003 11:31 PM by Dave

# re: Congratulations ScottW

Just commented on Scott's weblog. Roy, my RSS feed from you is borken. SHarpReader 0.9.0.3 only got half the changes, and your's wasn't one of them.

Thank goodness the dotnetweblogs RSS feed still works. That's how I knew you posted some after the change. I had hoped the ones that broke were blogs with no new posts, but yours proves otherwise.

Sorry for spamming the comments, but I think yours is one of the best weblogs I subscribe to - and thought I'd try a second way to get the message to Scott.
Thursday, May 29, 2003 11:34 PM by Roy Osherove

# re: Congratulations ScottW

Hey Dave.
Hopefully, Scott is already aware of the problem, and is working on it :)
p.s
Thanks :)
Friday, May 30, 2003 12:38 AM by Roy Osherove

# re: Congratulations ScottW

Plus, You can just change the link to the rss feed in sharpreader -
DotnetWeblobg.Com/ - >Weblogs.Asp.Net/
And you should be in the clear
Friday, May 30, 2003 2:11 AM by Marc

# re: Rent My ... What??

I fear. Much.
Friday, May 30, 2003 2:18 AM by crowdozer

# spellcheck... FreeTextBox

FreeTextBox (http://www.revjon.com/ftb/) is a .NET web control that integrates with a free Internet Explorer component called ieSpell. (http://www.iespell.com/)
Friday, May 30, 2003 3:10 AM by Royo

# re: Donny Mack Reveals Hidden Developer Secrets

Cool! Thanks for the tip :)
Maybe we can get Scott to use it..?
Friday, May 30, 2003 4:10 AM by John Porcaro

# re: About "Personal" Blogging

Funny story I’ll post someday. I had an informational interview with someone where we got into a pretty heated debate about how to go about the job, and there couldn’t have been more of a disconnect. I immediately blogged about it, of course with a self-righteous rant.

I wanted to send a link to the blog to a blogging co-worker and friend. She happened to have the same first name as the person I interviewed with, and Outlook picked the interviewer’s email name instead of my co-worker. Luckily, it was late at night, and I caught it before it was read, but if I hadn’t, it would have been a mini-disaster. As it happened, I went back in and edited the entry: (http://johnporcaro.blogspot.com/2003_04_01_johnporcaro_archive.html#92461579).

And I got mail from the interviewer the next day saying she saw my blog and thought it was interesting…
Friday, May 30, 2003 4:18 AM by Roy Osherove

# re: About "Personal" Blogging

Heh. Good one :)
Friday, May 30, 2003 6:02 AM by Alex Lowe

# re: Congratulations ScottW

Scott should be an MVP and I'm sure he will be awarded one in the future. The way the MVP program works is a bit dumb/odd in that they only choose MVPs once a year (and of course they've already picked them for this year (2003). I'm confident he will attain MVP status for next year.
Friday, May 30, 2003 10:39 AM by TrackBack

# mads studentblog

mads studentblog
Friday, May 30, 2003 2:34 PM by Jesse Ezell

# re: New Skin, New Host...

Working on getting this working with mozilla... a little different script and an external CSS file (view source for the changes).
Friday, May 30, 2003 2:39 PM by Roy Osherove

# re: New Skin, New Host...

Ah. This is much better!!! Good work :) Thanks Dan for your help , and jesse for the great Idea.
Friday, May 30, 2003 2:53 PM by Scott Watermasysk

# re: New Skin, New Host...

yes, please use an external style sheet. :)
Friday, May 30, 2003 7:32 PM by TrackBack

# ISerializable

ISerializable
Friday, May 30, 2003 7:32 PM by TrackBack

# ISerializable

ISerializable
Saturday, May 31, 2003 10:12 AM by Dan

# re: SxS War Story

What does SxS stand for? :)
Saturday, May 31, 2003 10:16 AM by Roy Osherove

# re: SxS War Story

Side-By-Side (both 1.0 and 1.1 of the .net framework on the same machine)
Sunday, June 01, 2003 5:02 AM by DonXML

# re: I'm a Configuration Manager... I Think.

Roy,
I’m currently helping a large pharma do the exact same thing. You can contact me offline if you have any questions. The first thing I recommended was creating a Architecture Portal using Sharepoint Team Services. If your company has a MSDN Universal subscription, a license is included in that. This becomes your home, and all projects, and reusable parts (whether that be a component or a class) need to be documented here. Once you and the teams get use to working thru the portal, things become self documenting (for the most part). The biggest obstacle I’ve found is figuring out how to fund development of reusable components. Usually it takes more time to develop a component with reusability in mind, and time is the one thing most projects don’t have. They usually don’t mind donating code to the cause of reusability, but not at the cost of time on their project. Then you also have the cost of support for the components. The question is “Where do you get that money?” If you have a strong architectural group, which has final say on if a project goes into production, then you can at least twist some arms to get them to build the reusable components, but someone still needs to support them.

DonXML
Sunday, June 01, 2003 8:09 AM by SBC

# re: .Net Developer Journal May Issue PDF download

http://weblogs.asp.net/sbchatterjee/posts/8105.aspx
Sunday, June 01, 2003 1:35 PM by SBC

# re: Performance Tuning and Optimizing ASP.NET Application

I use 'Performance Testing .NET Web Apps'. It has a good chapter on perf analysis of managed code - http://www.microsoft.com/mspress/books/5788.asp
Monday, June 02, 2003 4:22 AM by Tim Marman

# re: In-Your-Face

Marketing, man :) "Teasers" help build the hype.
Monday, June 02, 2003 4:23 AM by Marc

# re: In-Your-Face

The downside of bloggin is that techies keep things to selves about as well as sieves hold water....

And his posting drop me nuts too.
Monday, June 02, 2003 4:24 AM by Tim Marman

# re: In-Your-Face

And btw - I'm getting a JScript error on line 96 when I try to load your page, which looks like some code for your stats stuff.

I'm on a fairly locked down IE6 browser now on XP Pro.
Monday, June 02, 2003 1:24 PM by SBC

# re: I'm a Configuration Manager... I Think.

This may interest you - http://www.eweek.com/article2/0,3959,1065920,00.asp
Tuesday, June 03, 2003 2:33 AM by Oisin

# re: About "Personal" Blogging

A great reason to set up a rule in Outlook to delay delivery by 1 or 2 minutes, like I have. I have too many similar names in my address book to let my instincts take over (click click click, ctrl+enter, d'oh).

1 Tools > Rules Wizard...
2 click New...
3 choose "Start with blank Rule", select "Apply this rule after sending"
4 click Next... do not choose a rule at this step
5 click Next... click "yes" to prompt
6 choose "defer delivery by a number of minutes" rule, click "a number of", enter delay time
Tuesday, June 03, 2003 5:13 AM by julie

# re: Medieval Times

Roy-
Not on my sharpreader my battery died and I forgot my power supply so I didn't see the link to this. But I have found it!! I will definitely respond another time. Chaos ensues today. I'm so incredibly flattered and grateful for you comment about the vtdotnet site. I have done the entire thing myself from design to code to content. It's almost another form of blogging for me because I just put whatever content I want on there.
Tuesday, June 03, 2003 5:54 AM by Nino Benvenuti

# re: About "Personal" Blogging

A little late to the party here, but...

Roy, I agree with you and Scoble. Especially now that my company has been acquired , I find myself more and more hesitant to blog... :/
Wednesday, June 04, 2003 1:57 AM by Greg R

# re: About Blogging Patterns

stick with the smootj jazz stations! :-)...I do!
Wednesday, June 04, 2003 1:58 AM by Greg R

# re: About Blogging Patterns

BTW, Blogger has voice blogging capability.
Wednesday, June 04, 2003 2:32 AM by Roy Osherove

# re: About Blogging Patterns

Neat! I haven't heard (of) anyone using it though. Have you?
Wednesday, June 04, 2003 7:17 AM by Phil Weber

# re: About Blogging Patterns


"An analogous structure to the blogging world would be that each caller had their own talk show..."

Gee, do you think why UserLand calls its blogging software "Radio?" ;-)
Wednesday, June 04, 2003 7:21 AM by Roy Osherove

# re: About Blogging Patterns

huh. That makes sense. DOH
Wednesday, June 04, 2003 11:03 AM by Chad Osgood

# re: IVBUG meeting went well

I've done the same type of thing for my user group in the past, although it wasn't due to lack of electricity :) We have discussion sessions with SIGs that are directed by user group leaders (architecture, ASP.NET, whatever). I too enjoy these more interactive sessions.

I also believe that networking with everyone in the group has proved valuable for all. Many of our members acquired jobs, friends, and resources through our group. Even if I didn't have to be there each month, I'd attend for this reason alone.
Sunday, June 08, 2003 1:48 AM by Mads

# re: Medieval Times

This is why you need to go to the US as I am planning this fall:) Norway is equally "un-cool" on this..
Monday, June 09, 2003 7:33 PM by Darren Neimke

# re: [New Article] Using Regex and The XML Classes To Parse Your Log Files

Nice one Roy :-) Bookmarked!
Tuesday, June 10, 2003 12:14 AM by kpako@yahoo.com (Dare Obasanjo)

# Dare Obasanjo

Roy,
I keep wondering why developers choose to use the DataSet which is a relational data structure which kind off understands XML for their XML processing needs instead of using the XmlDocument which is actually an XML data structure. I'd never think of using the DataSet if I wanted to load and store XML but it seems a lot of developers such as yourself believe this is the way to go.
Tuesday, June 10, 2003 12:29 AM by Roy Osherove

# re: [New Article] Using Regex and The XML Classes To Parse Your Log Files

Dare: The reason I use the Dataset, is to be able to give the user an "SQL like" way of searching, instead of using XPath queris syntax. SQL is a bit more natural. That's the only reason, though. I agree, XMLDocument is the way to go when you want to just load up and search XML stuff..
Tuesday, June 10, 2003 1:49 AM by SBC

# re: Here I Am

You must be a busy guy! I can see that long task list from the MS Project print out on your bulletin board!
Tuesday, June 10, 2003 2:18 AM by Paschal

# re: Here I Am

Roy we know you;re the One ;-)
Tuesday, June 10, 2003 2:19 AM by Paschal

# re: Here I Am

Roy the mechanical old switch that's not really geeky ;-))
Tuesday, June 10, 2003 3:39 AM by Roy Osherove

# re: Here I Am

heh, That task list - I have *plenty* of stories about that... :)
Tuesday, June 10, 2003 3:43 AM by Roy Osherove

# re: Here I Am

Are the pictures showing OK? I have them flagged as "X"'s for some reason..
Tuesday, June 10, 2003 4:04 AM by Paschal

# re: Here I Am

Roy the pictures are not showing ok
Tuesday, June 10, 2003 4:25 AM by TrackBack

# Datagrid Girl

Datagrid Girl
Tuesday, June 10, 2003 4:25 AM by TrackBack

# Datagrid Girl

Datagrid Girl
Tuesday, June 10, 2003 6:29 AM by Rachel

# re: Here I Am

Pictures aren't showing, but if ya click 'em, the originals load up.
Tuesday, June 10, 2003 6:15 PM by TrackBack

# ISerializable

ISerializable
Tuesday, June 10, 2003 6:15 PM by TrackBack

# ISerializable

ISerializable
Wednesday, June 11, 2003 4:07 AM by Phil Scott

# re: Women Rule

I think you are onto something with the requiring military service for everyone, especially about being less shy about getting into the careers.

Over here in the US, many girls are still pushed towards more away from things like computers by parents, teachers and worse of all: television.
Wednesday, June 11, 2003 6:56 AM by Carl Franklin

# re: .Net Rocks Show Do's And Don't's

Just to set the record straight, I think you are referring to the previous week's show with Jorge Oblitas.

He is from Peru, and doesn't speak English very well. The show with Chris Sells was great, I thought.

Carl Franklin
Wednesday, June 11, 2003 6:59 AM by Roy Osherove

# re: .Net Rocks Show Do's And Don't's

Carl, Yeah. That's the one I meant.
I think that show was the only one I didn't enjoy as much as the others.
The one with Chris was excellent :)
Wednesday, June 11, 2003 7:15 AM by Paschal

# re: Living in a Bubble

I like the tone of your writing, because I feel, excuse me If I am wrong, that like many of people living in Israel, you look forward to find a peaceful solution.
Myself, I am not good too at politics, but I hate people who strongly affirm an opinion without searching a right balance between the truth and the propaganda.
In our virtual (and irreal world) it's like the pointless language 'war' between each camp.
Wednesday, June 11, 2003 7:37 AM by TrackBack

# ISerializable

ISerializable
Wednesday, June 11, 2003 7:37 AM by TrackBack

# ISerializable

ISerializable
Wednesday, June 11, 2003 7:37 AM by TrackBack

# ISerializable

ISerializable
Wednesday, June 11, 2003 7:37 AM by TrackBack

# ISerializable

ISerializable
Wednesday, June 11, 2003 7:37 AM by TrackBack

# Rob Chartier's Excogitation

Rob Chartier's Excogitation
Wednesday, June 11, 2003 7:37 AM by TrackBack

# Robert McLaws

Robert McLaws
Wednesday, June 11, 2003 7:43 AM by Jesse Ezell

# re: .Net Rocks Show Do's And Don't's

I thought that Jorge was great (one of my favorite episodes)! It was very interesting to hear a developer's perspective from a place where IT services are a completely different ball game. Please don't discriminate against guests because they have an accent! Some of the most interesting speakers have accents (take Clemens and Ingo, for example, or if we are talking about heavy accents, the guy that did the ObjectSpaces preview at the last TechEd... very entertaining speaker, but he had a heavy french accent).

By the way Carl, you should definately get Clemens on the show! He is one of the best speakers out there and very knowledgable.
Wednesday, June 11, 2003 8:09 AM by Roy Osherove

# re: .Net Rocks Show Do's And Don't's

Jesse: I have nothing against heavy accents. I enjoyed greatly the show with Ingo, for example. I just couldn't understand half the show we are currently talking about. From what I got from that episode, Carl coudn't get some of the stuff that guy was saying as well.
I'm sure he's a great guy, and from what I *did* get, he had some cool ideas, but sometimes, you need to make sure that your listeners actually *get* what your guest is talking about.
Please don't make me out as a guy who dislikes accents. I have an accent myself. This is *supposed* to be constructive criticism.
Wednesday, June 11, 2003 10:10 AM by JesseEzell

# re: .Net Rocks Show Do's And Don't's

I've heard a lot worse. IMO, his accent wasn't that hard to understand. I don't remember missing anything or having to back up the stream. I thought he spoke English very well (definately a lot better than I speak Spanish). I do remember that there was one or two places where word choice caused a little miscommunication, but that had nothing to do with his accent and really isn't all that uncommon when speaking to people whose native language is not English, and, regarless, two instances of incorrect word choice definately don't make the entire show a lowsy one.
Wednesday, June 11, 2003 11:18 AM by Alex

# re: Geek News

I guess I'll join you in geekdom - I had printed it out and taken it to bed too!
Wednesday, June 11, 2003 5:51 PM by Bruce

# re: Women Rule

I do work for Microsoft, and I'm the same way! I have no idea how my wife can watch TV and do work at the same time...
Wednesday, June 11, 2003 7:51 PM by Roy Osherove

# re: .Net Rocks Show Do's And Don't's

Well, I guess this is where people differ. Some people I'm sure perfectly enjoyed that show, and some didn't as was I. The fact is, that show was harder to understand than most, and that flawed it severely for me.
Wednesday, June 11, 2003 7:57 PM by Enav

# re: Living in a Bubble

What a nice way to put things. Your writing is beatuiful and very touching.
Enav
Wednesday, June 11, 2003 10:20 PM by coacoacoa

# re: BillG Joke

J'adore!
Thursday, June 12, 2003 2:24 AM by Phil Scott

# re: 101 Microsoft Visual Basic .NET Applications

Amazon is saying 3-5 weeks for me before it would ship, but if you go to www.microsoft.com/mspress and find their book you can download the programs and play around with them.

I'm more interesting in seeing what Sean and Scott have about the code than the actual code, but the programs are still kinda fun to fiddle with.
Thursday, June 12, 2003 5:20 AM by Roy Osherove

# re: 101 Microsoft Visual Basic .NET Applications

erm, I found the book, but no code download :(
Friday, June 13, 2003 8:00 PM by Stephane

# re: About Reflector, Encoding, And an Article Error

What about either of these :

1) derive the StringWriter class

public class StringWriterWithEncoding : StringWriter
{
Encoding encoding;

public StringWriterWithEncoding (Encoding encoding)
{
this.encoding = encoding;
}

public override Encoding Encoding
{
get { return encoding; }
}
}


with this class you can specify whatever encoding you like.


2) or use an appropriate memory buffer :

using System.IO;
using System.Xml;

MemoryStream ms = new MemoryStream(); XmlTextWriter tw = new XmlTextWriter(ms,new System.Text.UTF8Encoding());
// -- your xml stuff begins here --tw.WriteStartDocument();
tw.WriteStartElement("...");
tw.WriteEndElement();
tw.WriteEndDocument();
tw.Flush();
tw.Close();
// -- your xml stuff ends here

// convert byte[] to String
String s = System.Text.Encoding.UTF8.GetString( ms.GetBuffer() );
MessageBox.Show( s );
Friday, June 13, 2003 10:54 PM by Ziv Caspi

# re: About Reflector, Encoding, And an Article Error

StringWriter writes to strings, whose underlying memory representation is always UTF-16 in the CLR (let's not get into the surrogate pair issue here...).

Thus, if you have StringWriter write to a string, it *will* be UTF-16 whether the first line in the string claims so or not. This is also how MSXML behaves, by the way.

Of course, when you take the string and convert it into a memory buffer in another encoding you need to take care of converting the encoding-providing header, which means extra work to you. Whether this is actually a good design or not is another issue...
Friday, June 13, 2003 10:56 PM by Morten Abrahamsen

# re: About Reflector, Encoding, And an Article Error

I would expect the fact that System.String is unicode has something to do with it :) So, it just won't support another format.

If you want another encoding you should probably use something along the lines of a binary stream.

An UTF8 encoded xml document stored in a UTF16 string doesn't really make much sence now does it :)

Just my 2c!
Saturday, June 14, 2003 12:47 AM by Roy Osherove

# re: About Reflector, Encoding, And an Article Error

Thanks for all the input guys. Like I said, It seems to just reaffirm what I wrote - You can't make you XML document's header UTF-8 encoded without going through some hoops.
Perhaps this is something that would best be solved using a method of the XMLTextWriter, something like 'SetEncodingHeader(Encoding encoding)' that would allow this without too much hassle..
Saturday, June 14, 2003 4:46 AM by David Pickett

# re: About Reflector, Encoding, And an Article Error

"I would expect the fact that System.String is unicode has something to do with it :)"

Technically, UTF-8 is also Unicode--just a different encoding for it ;).
Saturday, June 14, 2003 5:23 AM by Morten Abrahamsen

# re: About Reflector, Encoding, And an Article Error

I know that UTF-8 is unicode as well.

It's just that in the BCL UTF-16 is referred to as Encoding.Unicode... which is why I wrote that statement.

Anyways, the System.String class is an UTF16 string, so an XmlTextWriter with SetEncodingHeader would only enable you to have an encoding mismatch...

Morty :)
Saturday, June 14, 2003 3:08 PM by TrackBack

# ISerializable

ISerializable
Saturday, June 14, 2003 5:03 PM by TrackBack

# Emitter

Emitter
Saturday, June 14, 2003 11:19 PM by Dave Sussman

# re: Winforms Data Binding Woes

Yeah, you're right, you are missing something 8)

What you do is bind the sub-grid to the relation, and then just set the CurrencyManager.Position to the current index of the list. For example (based on Northwind), assume you have a DataSet (_ds) with two tables (Orders and OrderDetails), and a relationship (CustOrders). The ListBox is bound to Orders, showing the OrderID only (not hugely useful, but it suffices for this example). The set the grid (dgOrderDetails) bindings like so:

dgOrderDetails.SetDataBinding(_ds, "Orders.CustOrders");

In the SelectedIndexChanged event for the list then do this:

CurrencyManager mgr = (CurrencyManager)this.BindingContext[_ds, "Orders"];
mgr.Position = lstOrders.SelectedIndex;

You just set the Position of the CurrencyManager for the parent table, and since there is a table relation (which is tracked by the binding), the sub grid changes, reflecting only the sub-rows for the selected parent row.

Mail me (contact details on daveandal dot net) if you want a full sample.

Dave
Sunday, June 15, 2003 4:55 AM by Roy Osherove

# re: Winforms Data Binding Woes

Thanks for the great answer. It does simplify work a lot when working with a listbox.
however, what about when I want to use a TreeView as the Parent Data Source?
I have no way to data bind a treeview, so I use the Tag property of each node to hold a DataRow object. Now, once I have a clicked node, How do i find the correct Index to set the position to?
Sunday, June 15, 2003 7:08 PM by Robert Scoble

# re: Family Vs. Technology

I was. We had a great weekend. Thanks!
Monday, June 16, 2003 3:28 AM by WildHeart'2k3

# re: Funny Behaviour

Easy: 20.45 cannot be represented as a finite power of 2. Therefore the result can only be approximate. I am surprised it's the first time you see this in all your long years of computing...
Monday, June 16, 2003 3:34 AM by Roy Osherove

# re: Funny Behaviour

Cool! Thanks fot the quick reply.
As for your surprise - You shouldn't be. There are lots of people with years of experience in software development(much more than me) that have never crossed path with this thing. It's all about the projects you did. There's always a little tidbit that someone would know that another person wouldn't.
Monday, June 16, 2003 3:39 AM by Chad Osgood

# re: Funny Behaviour

It's also worthwhile to note that the expressions "21 - 5.45" and "21 - 20.45" are evaluated at compile-time and emitted into the IL as constants. The constants look like the following:

15.550000000000001
0.55000000000000071
Monday, June 16, 2003 3:49 AM by Phil Scott

# re: Funny Behaviour

More fun with floats:

dim i as single
dim counter as integer
for counter = 1 to 10
i += .1
Console.WriteLine(i)
next

good times.
Monday, June 16, 2003 9:27 AM by Darren Neimke

# re: Funny Behaviour

I *learnt* this a couple of years ago when I was messing around with the following snippet of Javascript:


var openingBalance = parseFloat(1234.00)
var closingBalance = parseFloat(openingBalance - 1)

// now add 10 lots of .1 to bring our closing
// balance back up to our opening balance
for(var i = 0; i < 10; i++)
{
closingBalance += 0.1
}

// What will it be?
// Are they equivalent or not??
alert(openingBalance == closingBalance) ;

return true ;
Monday, June 16, 2003 10:31 AM by Chad Osgood

# re: My Baby Hits The Road Tomorrow

Really nice UI man!
Monday, June 16, 2003 1:20 PM by Mathematician

# re: Funny Behaviour

It is just not right to use any comparison operation between float type figures the mentioned way.
In computer world it has to be
(floatValue1 - floatValue2)< Epsilon
where Epsilon is some small quantity, for ex. 0.00000001 - it will be your calculation accuracy.

The very first "21 - 20.45" problem is the typical in computer mathematics.

For the similar reason it is sometimes not possible, believe me or not, to calculate a determinant of a 3d matrix on a computer, but it would take just 3 minutes to find it by a human brain.

That problems in math is called "error of a method".
Monday, June 16, 2003 9:24 PM by Tim Howard

# re: My Baby Hits The Road Tomorrow

Sweetness. Good luck, man!

Also, I was wondering if you could help me out a bit... I'm a poor college student living in the middle of nowhere... I know a bit of Java, a lot of HTML, and I've got the gist of XML... I was wondering, what should I focus on if I wanted to get a real job in the tech industry? (Not something that any fool with an A+ can do, something where I don't have to wear shoes to work, where the caffine's free, and a life is optional)

My problem is that my local college doesn't teach anything, programming-wise. And quite simply, I don't know where to start. No car, no job, and not knowing anyone in the business is kinda putting me in a corner.

Thanks in advance, and good luck on your tracer!
Monday, June 16, 2003 9:29 PM by Roy Osherove

# re: My Baby Hits The Road Tomorrow

Hey Tim. Thanks for the compliment!
As for your question, it's a pity you didn't leave your email. It would be easier to contact me directly to ask. I'll post an answer as a blog post later in the day.
Monday, June 16, 2003 9:56 PM by Roy Osherove

# re: My Baby Hits The Road Tomorrow

Thanks chad! :)
Monday, June 16, 2003 10:47 PM by Robert Hurlbut

# re: "How Do I Get From Here To There?"

Great advice!
Tuesday, June 17, 2003 12:32 AM by M M

# re: "How Do I Get There From Here?"


Quote
--
"o I want to experience working with [specific field of expertise such as hardware, software,real-time,embedded,web…]"
--

In my opinion, one of the major problems with most college fresh graduates is a lack of direction in the above context. Internship in tech/dev positions matters a lot (from what I've seen), particularly if one can demonstrate a high level of responsibility given at that point.
Tuesday, June 17, 2003 2:45 AM by Ashok

# re: More About Desktops

just saw your desktop on http://pnavy.com/royo/desktops showing reflector as a plugin to VS.NET. i was able to setup reflector as an external tool for vs.net

how to set it up as a plugin?
Tuesday, June 17, 2003 3:12 AM by Roy Osherove

# re: More About Desktops

There's a Reflector Add-in that you can download somewhere...
install it and voila!
Tuesday, June 17, 2003 9:43 AM by Robert Scoble

# re: Scoble, Come Back!

Heh!

My wife will get you for that.
Tuesday, June 17, 2003 12:33 PM by Marcus

# re: "How Do I Get There From Here?"

I will use this a my guide to a better life ;)

I never tought it would be this many steps to get a job these days but i guessed wrong!

Thanks for execellent advices!

Best regards
Marcus
Tuesday, June 17, 2003 12:39 PM by Marcus

# re: "How Do I Get There From Here?"

One thing, You said "Start a blog about what your going through(if you'll learn .Net – start a blog here!)" ..

But a person that is learning .net doesn't have really that much to write or do you mean it is a excellent place to put out questions and get excellent answers to them? ;)

Sorry for filling your comments..

Best regards
Marcus
Tuesday, June 17, 2003 7:53 PM by Roy Osherove

# re: "How Do I Get There From Here?"

Hey Marcus. What I meant is that if you're learning .Net, a blog is a great way to share with people about new stuff that you learn, not just ask questions. So, if you've just learned how to make something witha DataGrid, for example, and you think somebody else might benefit from that knowledge, or if you've overcome some difficult problem. If you encountered it, someone else probably has too, and would love to hear how you overcame it, without going through all the hoops you had to go through...
Tuesday, June 17, 2003 9:10 PM by Frans Bouma

# re: About Interfaces

In a slashdot thread a year or so ago a lot of these things were discussed, particularly about software interfaces. Someone in that thread suddenly said: "Why do I have to click 'save' in a wordprocessor? Isn't it obvious I'm typing the text in to store it?" Excellent thinking, which totally makes todays solutions worthless crap. That remark was about the core of what is truly useful: do not worry about the obvious.
Tuesday, June 17, 2003 9:20 PM by Roy Osherove

# re: About Interfaces

Huh. Nice thought :)
Tuesday, June 17, 2003 11:39 PM by Dave

# re: About Interfaces

Actually your Excel quirk isn't entirely correct. If you CTRL-C then RETURN (copy and paste?) you only get one time. But if you CTRL-C then CTRL-V (copy and insert?) you can do it as many times as you wish. I'm not sure where I picked this up from, but it's been a major time saver for me.
Wednesday, June 18, 2003 12:05 AM by Roy Osherove

# re: About Interfaces

Dave: What I'm talking about is that you *can * multiple paste as long as the cell you CTRL+C'ed is highlighted with that blinking rectangle thingie. What if you COpy a cell, then go to another cell and press DELETE on that cell? can you still paste that cell you copied?
nope. gone forever....
Wednesday, June 18, 2003 2:07 AM by Kenneth LeFebvre

# re: About Interfaces

Another thing that really bothers me, and Microsoft does this too much, too-- when you get a dialog box that asks you "Do you want to do this or that?" and then you get YES/NO or OK/CANCEL buttons... The buttons should be the actual answer to the question!
Wednesday, June 18, 2003 2:46 AM by Roy Osherove

# re: About Interfaces

Kenneth - Yeah I know what you mean. You *know* you're doing something wring when you have to explain which button does what...
Wednesday, June 18, 2003 2:53 AM by Jayme

# re: SQL Server is Missing NextVal Functionality

Maybe this will help?
http://beta.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_10350313.html
Wednesday, June 18, 2003 3:09 AM by Frans Bouma

# re: SQL Server is Missing NextVal Functionality

If you have to rely on the next value in a sequence, you are in serious trouble. The sequences 'NextVal' is to store a new value in a column which values are retrieved from a sequence, it shouldn't be used for something else. 'CurrentVal' or 'Curr' is then used like 'SCOPE_IDENTITY()' (sqlserver2000) or '@@IDENTITY' (sqlserver 7).

Sequences are nice, but if possible you always should rely on unique data that is semantically part of the entity, i.e. already in an attribute.

You can simulate sequences using functions (sqlserver 2000) which update a table with a serialized transaction. Thus your table contains 1 row per sequence, and the function uses a serialized transaction (thus has unique access guaranteed) to retrieve and update the sequence number. When the sequence function fails, the insert will then also fail.

It's a tricky business and when doing it by yourself it can be slower than when the RDBMS does it. How especially does your code rely on the NExtVal function?
Wednesday, June 18, 2003 3:13 AM by Roy Osherove

# re: SQL Server is Missing NextVal Functionality

Frans: Not using it to INSERT or anything, i AM using unique IDENTITY columns. This ID is used by some of our C++ code to map unique objects in memory. I know, it's not the best design, but that's how it is with legacy code. Too ugly to change now ....
btw, Jayme: Your solution seems to be the one. We'll try it and see what happens.
Thanks !:)
Wednesday, June 18, 2003 3:20 AM by Frans Bouma

# re: SQL Server is Missing NextVal Functionality

the MAX(id) doesn't work in a multi-user environment. If after the SELECT MAX(field)... another insert is done in the same table, you have double keys. The only solution is a separate table with own counters and a function which uses a serialized transaction.

There are also issues with DBCC statements in stored procedures. I'd not use these statements in production code, since they are ment for DBA's.
Wednesday, June 18, 2003 3:26 AM by Jesse Ezell

# re: SQL Server is Missing NextVal Functionality

MAX(id)+1 isn't exactly the best idea, because what if the last row was deleted? Now your id generation is off. Additionally, you can't be gaurenteed that ID. What happens if between the query and the update someone inserts a new record? I guess you could make sure the table was locked down until you update, but performance is sucky that way.

A much better idea is not to rely on having to know the identity until after it has been placed in the DB and you can query it with a SQL statement, or to use GUIDs or something that you can calculate ahead of time (or event a GetID function that pulls IDs out of a DB table or from some other source...seen that done before for this type of thing). Of course, if it is legacy code, then I guess you are stuck...
Wednesday, June 18, 2003 3:27 AM by Roy Osherove

# re: SQL Server is Missing NextVal Functionality

Frans: Yeah, I'm aware of the GetMax()+1 issue with multi user scenarios. But from what I gather it looks like it's impossible to do it withoug going through a million hoops. That's toatlly annoying. Why is this basic functionality not implemented in SQL server? boo.
Wednesday, June 18, 2003 3:28 AM by Jesse Ezell

# re: SQL Server is Missing NextVal Functionality

Looks like Frans beat me to it. Great minds think alike I guess ;-)
Wednesday, June 18, 2003 3:31 AM by Jesse Ezell

# re: SQL Server is Missing NextVal Functionality

It isn't there, because you should never do such things.
Wednesday, June 18, 2003 3:35 AM by Roy Osherove

# re: SQL Server is Missing NextVal Functionality

Jesse: So I guess ORACLE got it all wrong when they added this feature? Better yet: They Added a Multi-Column Sequence, allowing you to have multiple tables implementing one unique sequence.
Wednesday, June 18, 2003 3:37 AM by Eric Kepes

# re: SQL Server is Missing NextVal Functionality

"Why is this basic functionality not implemented in SQL server?" Because its not supportable in a multi-user environment. Its not really a very simple operation, when you think about it. IDENTITY works because it is easy (?) to implement - all you need to do is lock the table, look at the previous record, add one, insert, and then unlock the table. It easily passes the ACID test, while what you are proposing does not.

If you don't like it, you can always port to Oracle. I hear they are selling db licenses cheap. :)
Wednesday, June 18, 2003 3:37 AM by Frans Bouma

# re: SQL Server is Missing NextVal Functionality

Jesse :)

Roy: it's not that big of a deal I think. I get the feeling it's more of a scheduling problem in your code: which does what first. The row inserted gets a key which is also the id of an object? but the object has to get the id first before the row does?

Isn't it better to indeed just drop the 'identity' flag from the column and implement the sequence then from code? (f.e. by calling a serialized transaction-based stored proc which returns a new unique key. That key is used for the column and is guaranteed unique in hte database, plus is used in the object. You can keep your db format then.
Wednesday, June 18, 2003 3:42 AM by Roy Osherove

# re: SQL Server is Missing NextVal Functionality

Eric: It *should* be supportable, that's my point. No, I *don't* want to move to oracle just because I don;t have this functionality.

Frans: We were trying not to change the legacy code... But it seems like this is what we'll do.
Wednesday, June 18, 2003 3:43 AM by Frans Bouma

# re: SQL Server is Missing NextVal Functionality

Eric: Oracle's sequencename.NextVal works also in a multi-user environment (If I may believe the Oracle docs :) . Calling that function will update the current value of the central stored sequence. However NextVal is not a 'peek' function, it's an increase. So when another thread calls nextval again, the value is incremented again. If you use it wrong, then indeed the multi-user aspect is killing you :)
Wednesday, June 18, 2003 3:48 AM by TrackBack

# heLP .Net Blog

heLP .Net Blog
Wednesday, June 18, 2003 3:48 AM by TrackBack

# heLP .Net Blog

heLP .Net Blog
Wednesday, June 18, 2003 3:56 AM by Darrell

# re: About Interfaces

The Design of Everyday Things, by Donald Norman (http://www.amazon.com/exec/obidos/tg/detail/-/0465067107/qid=1055948001/sr=8-1/ref=sr_8_1/002-3407400-8481610?v=glance&s=books&n=507846)
Wednesday, June 18, 2003 3:58 AM by Eric Kepes

# re: SQL Server is Missing NextVal Functionality

Frans: That was the point I guess I failed to make. I have to agree with you, if its important that the application have a value before the data is inserted, then the application should accept the responsibility for generating this value and ensuring uniqueness.

Roy: When you get down to it, there are many ways to implement Identity/Sequence, MS chose to integrate it into the table itself, while Oracle chose to set it up as a standalone entity. In most cases, it probably doesn't make a difference, but in your case, it obviously does. I wouldn't say that it makes Microsoft's implementation wrong or lacking, just different. In theory, you could build a mechanism to do this as an external DLL, but that would probably take a lot of time.
Wednesday, June 18, 2003 3:58 AM by Paul Nicholls

# re: Free Full Tech Books

Wow, that's great... but it can't be legal, surely? I've just bought Programming C# by Jesse Liberty...
Wednesday, June 18, 2003 4:14 AM by Chad Brockman

# re: SQL Server is Missing NextVal Functionality

Why not use GUID's? You get a reduction on database load because you don't have to go to the database to generate new keys...

To get the same type of quid string on each system I do:

.net : System.Guid.NewGuid().ToString("N")
SQL Server : (replace(convert(varchar(50),newid()),'-',''))
Oracle: sys_quid()

imho, sequences are awful... I’d much rather have a distributed key generation mechanism…


Wednesday, June 18, 2003 4:16 AM by Marcus

# re: "How Do I Get There From Here?"

Hey Roy.

Thanks. I am still to far away to be blogging about my .net skills. i can do simple things like a guestbook or a simple login but it doesn't follow any patterns or anything.

But reading your blog and a lot of others blogs keeps motivating me to get skilled and get my 5 minute of blogfame ;)

/Marcus
Wednesday, June 18, 2003 5:04 AM by dennis

# re: SQL Server is Missing NextVal Functionality

if you have Sql2k then use scope_identity() instead of @@identity...if the table has a trigger, which inserts to another table with an identity column, then @@identity will return the value inserted by the trigger, while scope_identity() returns the ident you inserted yourself.
Wednesday, June 18, 2003 5:11 AM by Roy Osherove

# re: Free Full Tech Books

erm.... Have'nt considred that possibility...
darn!
Wednesday, June 18, 2003 5:15 AM by David

# re: About Interfaces

As for the door, no handle is ok if the closer works at an acceptable speed, otherwise how do you close it behind you if you're going out?
Wednesday, June 18, 2003 5:33 AM by jeff@consultutah.com

# re: Free Full Tech Books

Just in time! Orrin Hatch was about to destroy your computer... ;-)

PS. Yes, I am from Utah...
Wednesday, June 18, 2003 5:59 AM by Dave

# re: About Interfaces

Okay, no problem. I was in agreement and just wan't sure by how you wrote it whether you realized this behavior in Excel existed.

While I am in agreement, I'm curious how you feel MS stacks up relative to other widely-used 'integrated' software. I've often thought their fairly consistant used of menu shortcuts/text and toolbar icons/placements were a reason nobody has really jumped on the Linux desktop much. I'm certainly not going to deal with the retraining issues and frustrated power users that have to learn different keystrokes for the same function in various 'integrated' packages.

I too am constantly amazed at how so-called visual programmers have no clue how to program a usable interface.
Wednesday, June 18, 2003 7:08 AM by Roy Osherove

# re: About Interfaces

Darrell: Yeah. Great Book. I think it's even on my "purchased and recommended" book list :)

Funny Amazon story about that book:

I was in amazon preparing to order the book, when suddenly I see that amazon was having a "sale" .You know, they have this little title saying "Buy this book along with *that* book and get a discount.
well that title was saying "Get 'the design of everyday things' along with 'The Psychology of everyday things" and get a discount'.
well, natuarally, I went ahead and bought both of these books, only to later realize that they are both the same book with different titles!.
I was so convinced that the two books compliment each other, that I didn;t even bother checking it out first. Impulse buys suck!

Heh. Norman even says in the opening of his 'new' book that he wanted to change the title to 'the design of...' because 'the psychology of...' was scaring people away, except for psychologists , that is...

I was totally fooled, but that's a sign amazon has a good marketing design... :)
Wednesday, June 18, 2003 7:54 AM by Kenneth LeFebvre

# re: SQL Server is Missing NextVal Functionality

check out the [autoval] column in the [syscolumns] table. that's where this value is stored, i believe...
Wednesday, June 18, 2003 8:07 AM by Roy Osherove

# re: SQL Server is Missing NextVal Functionality

Kenneth: Yeah . Jayme(first comment) posted a link to a post about how to use that column. Nice trick there...
Thursday, June 19, 2003 3:23 AM by Duncan

# re: Winforms DataBiding Bliss

You're not kidding - I added IBindableList to my printer monitor component and hey-presto, a data grid of print jobs that is updated as the queue changes...can you imagine how difficult it would have been to do that in VB.Classic.
Thursday, June 19, 2003 3:46 AM by Roy Osherove

# re: Winforms DataBiding Bliss

Duncan: That totally rocks :)
Thursday, June 19, 2003 4:13 AM by Frans Bouma

# re: Winforms DataBiding Bliss

Try this with a datagrid:
- autoresize all columns to the longest string in the column. (requires pixel counting in custom dirty code relying on hwnd)
- bind a custom collection with custom classes and make the collection sortable. (get geared up for some serious ITypedList implementation and creation of property descriptor classes)
- include versioning in your custom classes in your custom collection when editing is enabled through a binded datagrid.

I'm pretty sure you're not having fun then :) For basic bindings, like binding a dataset or a simple readonly list, it's ok. For every job that requires more, it's horrible.
Thursday, June 19, 2003 4:20 AM by Roy Osherove

# re: Winforms DataBiding Bliss

Frans: I agree. Some things are better left alone, but I would use it a lot for read-only situations...
Thursday, June 19, 2003 4:25 AM by Frans Bouma

# re: Winforms DataBiding Bliss

Agreed, for read-only viewing it can be very helpful. I wished it was more usable though. Ah well... perhaps some day.. :)
Thursday, June 19, 2003 4:31 AM by Roy Osherove

# re: Winforms DataBiding Bliss

Hey Duncan: just realized your company was the one who released EventVB and the lobalHotKey control. Cool stuff!
Thursday, June 19, 2003 4:47 AM by Cadmium

# re: How To Know When An External Application Exits

Cool tip, this might come in handy for a project I'm thinking about. Thanks!
Thursday, June 19, 2003 5:39 AM by Duncan

# re: Winforms DataBinding Bliss

There's a .NET global hotkey component up there - but there is no need for EventVB in the .NET world (thank goodness - it was taking over my life).

Do you know of an intuitive way to indicate that items in a grid can be moved up or down the ordering? I want to allow reordering of the print queue (subject to access rights, natch) but can't think how to visually represent it.


Thursday, June 19, 2003 6:17 AM by Marc

# re: Kudos to MSFT

I was thinking the exact that thing. I only wish I had a team for him to talk with.
Thursday, June 19, 2003 7:11 AM by Roy Osherove

# re: Winforms DataBinding Bliss

huh. Tough one. How about:

*If some of the rows are movable and some arn't how about using an icon column to represend a 'locked' row and an 'unlocked' row?

* actually, I'm not sure I'd use the datagrid for that, but something like a listview, since I can then use Drag-drop features. I'm not sure if you can imple,ent that functionality with a datagrid, but drag-drop is the most natural form of moving thing for a user...

* how about, for rows that are movable, the mouse cursor changes to a special 'drag' icon, like a hand or something?

*Maybe have two up/down arrow buttons on the side that only show when a movable row is selected...

* use tooltips to indicate the hovered on row that you can move it

*Movable rows are colored differently...

I can think of lots of things, it all depends on the look and feel of the app in question and what fits best with the overall design....
Thursday, June 19, 2003 7:13 AM by julie

# re: Winforms DataBinding Bliss

yeah - binding's great but I gave up on that control when I was trying to do "simple" things like implement a check box in the columns (you have to write a major workaround) or better yet, identify when the user has clicked on that check box. Can't be done! I am now a HUGE fan of Janus Gridex!!! I think everyone that uses it loves it.
Thursday, June 19, 2003 7:17 AM by Greg Robinson

# re: Winforms DataBinding Bliss

Beyond rocks, it rules. We are using the heck out of it and it has saved tons of time. Lots to learn but once you understand the internals, baby it rules!
Thursday, June 19, 2003 7:34 AM by Roy Osherove

# re: Winforms DataBinding Bliss

Julie: Have you tried looking at the DataGrid FAQ? It has some tips on diong CHeckBoxes on DataGrids:
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp
Thursday, June 19, 2003 7:38 AM by julie

# re: Winforms DataBinding Bliss

In fact, that was where I finally read that it "can't be done" which was the last straw that pushed me to Janus! btw: www.janusys.com :-) I believe Greg is also referring to GridEx in his rave review since someone named Greg also just emailed me (excellent use of the contact form, there Greg!!) to say how much he loves GridEx also.
Thursday, June 19, 2003 7:53 AM by Roy Osherove

# re: Winforms DataBinding Bliss

Julie: Is it pure managed code or is it the good ol' interop grid I know and love from my VB days?
Thursday, June 19, 2003 7:54 AM by Roy Osherove

# re: Winforms DataBinding Bliss

nevermind, just went to the site :) looks cool!
Thursday, June 19, 2003 10:36 AM by TrackBack

# ISerializable

ISerializable
Thursday, June 19, 2003 10:36 AM by TrackBack

# Wallace B. McClure

Wallace B. McClure
Thursday, June 19, 2003 1:26 PM by Mike Gunderloy

# re: Book Gripes, Safari Bookshelf, And a .Net Desktops Prize

Heck, why not more than one prize? I'll throw in a copy of MCAD/MCSD TRAINING GUIDE 70-310 (http://www.amazon.com/exec/obidos/tg/detail/-/0789728206). Just let me know where to send it.
Thursday, June 19, 2003 6:17 PM by Roy Osherove

# re: Book Gripes, Safari Bookshelf, And a .Net Desktops Prize

Mike: Alright! :)
Friday, June 20, 2003 3:22 PM by SBC

# re: How To Know When An External Application Exits

Cool example - any thoughts on multiple instances of the app? May be I should be try out the code...
Friday, June 20, 2003 4:03 PM by Samer Ibrahim

# re: Funny Behaviour

This might be similar to my story.... http://weblogs.asp.net/sibrahim/posts/5846.aspx
Saturday, June 21, 2003 9:17 AM by Steven Smith

# re: More Free Chapters On CodeProject

There are a bunch here too:
http://aspalliance.com/chapters/

Steve
Saturday, June 21, 2003 3:50 PM by Dave Burke

# re: Winforms Data Binding Lessons Learned

Roy, this post is in my "Gold" folder and I will definitely be going back to it. Thanks.
Saturday, June 21, 2003 6:12 PM by TrackBack

# ISerializable

ISerializable
Saturday, June 21, 2003 7:50 PM by Roy Osherove

# re: How To Know When An External Application Exits

This article shows handling multiple instances:
http://www.codeproject.com/useritems/restricting_instances.asp
Saturday, June 21, 2003 8:10 PM by Roy Osherove

# re: Winforms Data Binding Lessons Learned

:)
Saturday, June 21, 2003 9:17 PM by Paul Gielens

# re: Winforms Data Binding Lessons Learned

Nice share Roy, appreciate it!
Sunday, June 22, 2003 12:18 PM by James Avery

# re: Disabling Connection Pooling

Why would you want to disable connection pooling? I can't think of a reason and was curious why you are disabling it.

Thanks,
James
Sunday, June 22, 2003 7:22 PM by Roy Osherove

# re: Disabling Connection Pooling

Connection pooling will hold a connection open even though you specifically opted to close it, for X amount of seconds, then it closes it. There might be situations when you might want to have an "always-connected" application, in which case you would want to have complete control over your connections, and usually one that is open at all times.
Persoanlly I never needed diasbling yet, but , being the control freak that I am, When I see an "On by default" flag, it annoys me to not know hot to turn it off... :)
Sunday, June 22, 2003 9:09 PM by Jonne Kats

# re: A Little Macro To Automate Creating Connection Strings

Thanks man,

I am definetly going to use this...
Monday, June 23, 2003 6:39 AM by Scott Watermasysk

# re: Stop The Silliness

i probably won't do a 1.0 build. These kind of projects are done in my spare time. If I was planning on selling blogert, then yes, a 1.0 build might be a good idea...but considering the fact you can quite easily download the 1.1 Framework...why make it any more work.

-Scott
Monday, June 23, 2003 10:39 AM by John Badda

# re: Stop The Silliness

I'm a student and I think that guys article is relevant. I'm about his age too.
Monday, June 23, 2003 6:36 PM by Tim Howard

# Fish cheese

Hey there, it's me again! I just had a question to ask, and you seem to be a pretty tech-type-guy...

Would it be possible to display current bandwidth usage, (Up/downstream) on the desktop, simular to what bginfo does? I've got some small Java experience, but I've never really dealt with anything in this area...

I know it'd be a pretty useless little waste of time, but the question's been bugging me for quite some time now, and I'd love to be able to see my total bandwidth in one small place.

Also, in that desktop contest thingie... What does that guy use to display the matrix of his C drive on his background?

Thanks in advance, and thanks again for the info on the tech market these days!
Monday, June 23, 2003 8:42 PM by Roy Osherove

# re: Stop The Silliness

Tim: I don't have a solution to your question, you'd be better off checking out CodeProject.COM or search the news groups for this topic..

As for the desktop contest: You can leave comments on each screenshot right on the site, and hopefully, you'll get an answer from the owner of the desktop...
cheers.
Wednesday, June 25, 2003 4:01 AM by Phil Weber

# re: .Net Rocks Rocks, INETA, and Starting A User Group


"Hey Carl, How about getting some music-only MP3's our way?"

Roy: http://www.pwop.com/fbros.aspx
Friday, June 27, 2003 12:14 PM by Jason McInerny

# re: Still Alive

Maybe you should keep busy. Give some others the chance to say something actually useful.
Friday, June 27, 2003 12:21 PM by Roy Osherove

# re: Still Alive

Jason: I wasn't aware that I'm keeping others from talking about 'useful' things. However, If you think you have something you'd like me to write about that would be of some 'use' to you, I'd like to know.
Friday, June 27, 2003 6:40 PM by TrackBack

# Dan's .NET Wasteland

Dan's .NET Wasteland
Saturday, June 28, 2003 2:08 AM by SBC

# re: Still Alive

MCP? do you mean MCSD?
Saturday, June 28, 2003 4:33 AM by Roy Osherove

# re: Still Alive

SBC: Yeah.
Saturday, June 28, 2003 12:07 PM by Dave Burke

# re: Quick & Easy ADO.NET Speed Improvements

Good tip on the EnforceConstants = false tip! Thanks!
Sunday, June 29, 2003 2:49 AM by SBC

# re: More Free Chapters

Free chapters on Regular Expressions (OReilly pub) -
http://www.oreilly.com/catalog/regex2/chapter/index.html
Sunday, June 29, 2003 8:58 AM by Datagrid Girl

# re: FeedDemon Likes And Dislikes

Is it just me, or is your font shrinking Roy?
Sunday, June 29, 2003 9:00 AM by Roy Osherove

# re: FeedDemon Likes And Dislikes

Heh. Pasting from word will to that to ya it seems...
Sunday, June 29, 2003 9:09 AM by Datagrid Girl

# re: FeedDemon Likes And Dislikes

Ah yes, that explains it :)
Sunday, June 29, 2003 11:27 AM by Wesley Mason

# re: FeedDemon Likes And Dislikes

My #1 wish for FeedDemon: ability to have links launch in my system's default browser, so I'm not tied MSIE for actual browsing (this is fine for FeedDemon internally, as it's just using MSIE to render a UI and display data, but crossing over to external sites *in* MSIE breaks functionality for me when I dislike the browser, just a matter of personal taste).
Sunday, June 29, 2003 1:11 PM by Don

# re: Me Too!

Is having McDonalds something to actually admit to - let alone boast about? :)
Sunday, June 29, 2003 3:12 PM by Jack Baty

# re: FeedDemon Likes And Dislikes

Wesley,

The latest beta will open *external* links in your default browser. File -> Options -> Open external links in default browser instead of inside FeedDemon.

I'm having tourble getting it to work with Mozilla Firebird, but it's *supposed* to work.
Sunday, June 29, 2003 3:19 PM by TrackBack

# ISerializable

ISerializable
Sunday, June 29, 2003 3:29 PM by Byron

# re: Quick & Easy ADO.NET Speed Improvements

I'm not sure what you mean by creating a 'Dataset in code', can you enlighten me? Are you refering to typed Datasets as opposed to non-typed Datasets? I use the later since I prefer "soft-coding" over "hard-coding".
Sunday, June 29, 2003 4:01 PM by Tim Marman

# re: FeedDemon Likes And Dislikes

I also like the synchronize with OPML bit. It seems that each "listing" is treated as a separate OPML file.

I just wish the read/unread/flag status would sync as well :)
Sunday, June 29, 2003 4:42 PM by TrackBack

# ISerializable

ISerializable
Sunday, June 29, 2003 4:42 PM by TrackBack

# ISerializable

ISerializable
Sunday, June 29, 2003 5:01 PM by TrackBack

# Robert McLaws

Robert McLaws
Sunday, June 29, 2003 8:09 PM by Darshan Singh

# re: FeedDemon Likes And Dislikes

I've been working on a RSS Feed reader using C# .NET. The project RSSConnect with complete source code is available at http://www.PerfectXML.com/RSSConnect. Some of the unique/salient features include ability to export to database and search (phase 1, improvements coming in next release), XSLT skins, check for new feeds, check for RSSConnect application update, Favorites list, OPML import/export, and many other options.

Be sure to check it out: http://www.PerfectXML.com/RSSConnect .

Any comments/suggestions: Please email me at darshan@PerfectXML.com. Thanks.
Monday, June 30, 2003 8:08 AM by EliezerG

# re: .Net Deep Dive Recap

Just came in from the deep dive event myself; I can still taste the coffee from the event and I can already read your impressions from the event - I wish I had you energy levels.
Great capture of the event !!! (If you think the COM+ lecture was boring try spending 2 weeks in the lecturer company learning .Net and attending 1-2 oh his lectures each day!)

ps: you are right about Israeli server hits, I wasn't aware of this website before.
Monday, June 30, 2003 9:32 AM by Roy Osherove

# re: .Net Deep Dive Recap

Glad to see you! Welcome aboard :)
Monday, June 30, 2003 1:20 PM by TrackBack

# Yosi Taguri's WebLog

Yosi Taguri's WebLog
Monday, June 30, 2003 8:39 PM by Roy Osherove

# re: Quick & Easy ADO.NET Speed Improvements

Byron: I'm not referring to Typed Datasets, I'm referring to the actual code lines to the DataTable Collection of the dataset, instead of specifying tableName for the dataadapter, and letting it automatically create a table by that name if it does not exist..
Monday, June 30, 2003 9:32 PM by Yosi Taguri

# re: .Net Deep Dive Recap

thnx for review ;)
Tuesday, July 01, 2003 2:26 AM by Yaron ben shalom

# re: FillSchema and AddWithKey Don't Operate As Promised?

Just to affirm your recent update, here is an excerpt from http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q313483:

The DataAdapter does not have any information about the database that it is reading from and writing to; the DataAdapter only runs the commands that it manages. Therefore, the DataAdapter does not create DataRelation objects in the DataSet. To create DataRelation objects in the DataSet, you must use one of the following methods:
Create the objects programmatically at run time.
Load the schema from an XML Schema Definition (XSD) file.
Build the objects into the design-time DataSet schema.
Tuesday, July 01, 2003 2:28 AM by Roy Osherove

# re: FillSchema and AddWithKey Don't Operate As Promised?

Yaron: Yeah. I found that out the hard way. Take a look here for my solution:
http://weblogs.asp.net/rosherove/posts/9542.aspx
Tuesday, July 01, 2003 3:54 AM by LondonGeek

# re: Wasted Years

I don't think it all comes down to "companies not willing to spend the extra buck on the more experienced programmer". I hire programmers with little/no experience, but make sure that they are paired with a more experienced programmer who can guide them. As a manager myseld I also review code from time to time myself as even I can see if something is a mess :)

I started out in the industry the same way myself so I know it works. Just needs to be managed correctly (i.e. if it goes wrong then managment got it wrong).
Tuesday, July 01, 2003 5:49 AM by Yosi Taguri

# re: Automatically Create DataRelations Based On OleDB Schema

why not write it in c#
;)
Tuesday, July 01, 2003 10:24 AM by Roy Osherove

# re: Wasted Years

It does if you all the programmers you'll ever hire are ones with no experience. you'll end up with beginners mentoring beginners, teaching them excatly what they have not learned themselves...
If you have a good coder base, that's a different story. But if you keep up with an "Coders are 10 for a buck today" attitude long enough, you'll eventually be left with nothing but first timers, trying to do the right thing, but completely clueless as to what they are actually doing.
Tuesday, July 01, 2003 10:27 AM by Lawrence Oluyede

# re: Why I write in Both C# and VB.NET

Very nice post. I use only C# but when I'll have enough time I'll check VB.NET seriously. The only thing to notice is that in my job place everybody use C# and VB.NET is forbidden :P and so I'll have to learn it in my spare time. Surely I'll do. Bye
Tuesday, July 01, 2003 11:21 AM by Chad Osgood

# re: Why I write in Both C# and VB.NET

Intellisense with enums in C# would be nice, but the consistency of the framework largely obviates any need for it. If I encounter a propery that's an enum, I can usually just pluralize the name of the property to find my enum. Worse case, I'll just hover over the property to find out what type it is.

e.g.:
Foo.FooState = FooStates.Unknown;
Tuesday, July 01, 2003 12:00 PM by Duncan

# re: Why I write in Both C# and VB.NET

C# seems to be shading it in the job ads. Pity though, as VB.Net is more readable (and therefore more maintainable) IMO...
Tuesday, July 01, 2003 5:09 PM by TrackBack

# Darrell Norton's Blog

Darrell Norton's Blog
Tuesday, July 01, 2003 5:09 PM by TrackBack

# Darrell Norton's Blog

Darrell Norton's Blog
Tuesday, July 01, 2003 6:14 PM by Chris Szurgot

# re: Why I write in Both C# and VB.NET

Even though I prefer C# to VB.NET, I have to use it for some of the programs at my job (1/2 in VB.NET and 1/2 in C#) so I use both languages frequently, and yes, I think the Intellisense on the Enums is quite a time saver, and quite a bit quicker that typing it out, or ghosting over to find out what type it is.
Tuesday, July 01, 2003 10:46 PM by Vijay