Section: Blogs

Wes Haggard discusses the new iterators in C# 2.0

Aug 24, 2004 1 min.

** Recusive GetFiles for DirectoryInfo via a C# Iterator ** I have been working on a project using C# Express and so I have been playing around with some of the new C# 2.0 features. In my project I had a need to get all the files of a particular type in a given directory including all sub-directories. The DirectoryInfo class has a method GetFiles that takes a search pattern (ie “*.

The email I get…

Aug 23, 2004 2 min.

Every day I get from 1 to 10 emails asking me various VB questions… some I answer by pointing to a link, some by providing code, and sometimes I just point people to the newsgroups or forums that exist for this type of question… but this time I thought I’d just post the question and answer into my blog … The Question (edited slightly): I just want to ask how to make the string in to proper format.

C# 2005 and C# Express Content Up…

Aug 13, 2004 1 min.

Just up… Investigating Code Snippet Technology Andrew W. Troelsen Intertech Training Summary: This article explorers the use of Visual Studio 2005 and Visual C# 2005 Express Edition code snippet technologies. Once the reader understands the XML syntax used to represent code snippets, this article examines the process of building and registering custom code expansions with your Microsoft .NET IDE of choice. (21 printed pages) and up a few days ago…

Another article preview up… this one is a content rotator for ASP.NET

Aug 12, 2004 1 min.

As I discussed in an earlier post, I wanted to know if people found preview articles useful… and at least a few people said they did, so here is another one…. Rotating Is Fun Summary: Duncan Mackenzie describes the creation of a simple ‘content rotator’ in ASP.NET Feedback, via the blog or the feedback link at the bottom of the article page, is always welcome!

vbCity has blogs!?!? Excellent…

Aug 12, 2004 1 min.

Serge Baranovsky, the man behind vbCity, just mentioned to me that they have started hosting blogs… just their staff at the moment, but they have plans to grow… Since vbCity is already one of the best sites for VB developers, this is good news! http://blogs.vbcity.com/

Removing Word’s Formatting from text before pasting into .Text or other apps…

Aug 12, 2004 1 min.

The age-old question of ‘how do I avoid putting funky Office HTML into my blog postings’ came up on an internal email list today, and one of the answers was a pointer to http://stevemiller.net/PureText/, which I had never heard of… but it looks cool! “Have you ever copied some text from a web page, a word document, help, etc., and wanted to paste it as simple text into another application without getting all the formatting from the original source?

I’m thinking about installing .Text into my own web-site…

Aug 12, 2004 1 min.

And maybe the Forums code too… Nothing against www.asp.net, but I’m just thinking it might be interesting to host my own blog… moving seems disruptive though, leaving a large number of my posts here, new ones there…. what do you folks think? Have you thought about hosting your own blog… are you already doing it …. would you never leave the collective?

The Updater Application Block… various additions…

Aug 10, 2004 2 min.

One of the nice things about the Updater Application Block is that it was written to be quite extensible… I saw a post today where SamSantiago mentioned he had created a custom class to delete all those old versions on your machine whenever you do an update…. very cool, I’ll be trying that out right away… Personally, I’ve updated the updater in a few different ways, but the most recent changes have been the most reusable, in my opinon;

Soma discusses the future of VB

Aug 9, 2004 1 min.

Soma (whose name you may or may not recognize) is in a position to know a lot about the future of Visual Basic (in his own words, from his intro post… “My name is Somasegar and I run the Developer Division at Microsoft.”), so when he decides to post about it, it is probably worth a quick read… _….A couple of the people in that session had some questions for me around our commitment to VB in the .