Code/Tea/Etc...

Duncan Mackenzie has too much time on his hands

  • Code/Tea/Etc...

    Generic Methods...

    • 24 Comments
    Someone suggested to me that VB.NET Whidbey didn't have support for 'Generic Methods', so I quickly wrote a bit of sample code to check (yes, it does support Generic Methods) and I thought I'd post that test code for your amusement. Public Class GenericMethodSample...
  • Code/Tea/Etc...

    Paul Vick, Language Designer on the VB team, discusses arrays with non-zero lower bounds...

    • 1 Comments
    One of the changes from VB6 to VB.NET was the removal of non-zero lower bounded arrays... a concept discussed by Eric Gunnerson recently , and now covered by Paul... giving it a bit of VB perspective. Non-zero lower bounded arrays (the other side of...
  • Code/Tea/Etc...

    Two new additions to my blog home page...

    • 2 Comments
    You may never see the actual web interface to my blog, but if you do you'll see two new graphics along the left-hand side... Cory has been busy...
  • Code/Tea/Etc...

    The Updater Application Block... various additions...

    • 5 Comments
    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...
  • Code/Tea/Etc...

    Ok... I can finally read my comments again...

    • 2 Comments
    I'm sure I'll be one of many commenting on this, but the recent updates to .Text on this site are a wonderful improvement. For the past while I had been unable to really sift out the good comments from the bad, so real (non-spam) comments to the VB or...
  • Code/Tea/Etc...

    vbCity has blogs!?!? Excellent...

    • 2 Comments
    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! ...
  • Code/Tea/Etc...

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

    • 1 Comments
    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...
  • Code/Tea/Etc...

    HTML Agility Pack

    • 8 Comments
    I've seen this around before, and this post was from June 2003, but it is worth mentioning again! .NET Html Agility Pack: How to use malformed HTML just like it was well-formed XML... Here is an agile HTML parser that builds a read/write DOM and supports...
  • Code/Tea/Etc...

    Solutions at a Glance... great for all .NET developers interested in security...

    • 3 Comments
    I was just talking with J.D. Meier ( from PAG ) about the Improving Application Security book and he pointed out a great page to me... the " Solutions At A Glance " list... this page lists a ton of very frequently asked questions around .NET security...
  • Code/Tea/Etc...

    New IIS site...

    • 3 Comments
    I wouldn't have known about this site, if the site's owner wasn't sitting behind me on the plane to TechEd, so I thought the rest of you might not know about it either :) TryIIS.com is a new site dedicated to resources for evaluating IIS, and contains...
  • Code/Tea/Etc...

    ASP.NET Resource Kit now available

    • 11 Comments
    This bit of news is getting quite a bit of airplay, so you've likely heard already, but the ASP.NET Resource Kit is now available... full of tons of code, videos, free book chapters, white papers, controls, and more... how can you miss it? Click here...
  • Code/Tea/Etc...

    Looking to write for MSDN?

    • 29 Comments
    Someone recently asked me for our template, style guidelines and other details about writing for MSDN. I wanted to find the public page about this, so I dug around for what seemed like ages and couldn't find anything even though I knew this was up on...
  • Code/Tea/Etc...

    Presentation from Francesco Balena on Data Structures for VB Programmers

    • 3 Comments
    From Paschal's blog... Data Structures for VB programmers Interesting PDF file to understand .NET stuff like basic types, arrays, collections and regular expressions. Download here Source: Only4gurus Good presentation... from a great author . It appears...
  • Code/Tea/Etc...

    Animated Gifs in .NET

    • 4 Comments
    I hadn't noticed that the graphic classes in .NET had built-in support for animated gifs, but a recent GDN post shows how you can grab the individual frames out of a GIF and display them one at a time... I think you would have to find out the intended...
  • Code/Tea/Etc...

    New installment in Scott Mitchell's series on Data Structures

    • 3 Comments
    Part 3: Binary Trees and BSTs This article, the third in a six-part series on data structures in the .NET Framework, looks at a common data structure that is not included in the .NET Framework Base Class Library: binary trees. Whereas arrays arrange...
  • Code/Tea/Etc...

    pinvoke.net ... a place to post and find all the Win32 API signatures you need ...

    • 5 Comments
    Adam Nathan has created a home for a ton of PInvoke signatures , organized by Module/DLL and pre-populated ( by the man himself ) with a ton of the most common signatures... I'll let the site describe itself with this text from the "What is this site...
  • Code/Tea/Etc...

    Thanks Bill... Vaughn that is, not that other guy...

    • 1 Comments
    I noticed yesterday that my poll wasn't showing the question on the top of the list of choices, or the list of results. Viewing the source made it pretty obvious the <asp:label> was rendering, but that it was empty. Checking my code everything seemed...
  • Code/Tea/Etc...

    Upcoming Visual Basic Chats

    • 0 Comments
    Check out these chats on http://msdn.microsoft.com/chats/ Using Windows Forms Controls in Visual Basic .NET Extending the choice of controls available from the Toolbox is a powerful way to enhance Visual Basic's application development potential...
  • Code/Tea/Etc...

    My MSDN Magazine article is up on the MSDN site...

    • 12 Comments
    It is all about "My", a feature of Visual Basic 2005... and I think it is fairly interesting stuff :) Check it out here...
  • Code/Tea/Etc...

    Ok, if you are programming against AD... this is so very cool...

    • 3 Comments
    This very recent article from CodeProject.com shows a Windows Forms control (C#) that allows you to browse AD objects... I have some issues with the implemenation (mainly: why use a User Control... why not just inherit from TreeView?), but the idea is...
  • Code/Tea/Etc...

    David Hill explains and discusses "Smart Clients"

    • 4 Comments
    What is a Smart Client anyway? And what makes it so smart? The term Smart Client was coined to highlight the differences between the typical "Rich Client" applications of yesteryear and the next generation of client applications. To understand these differences...
  • Code/Tea/Etc...

    New Coding 4 Fun Article up...

    • 2 Comments
    Add a Quick Poll to Your Web Site Summary: Duncan Mackenzie describes his process to build a "Quick Poll" using Visual Basic and ASP.NET. Recent discussions have motivated me to add some 'anti-repeat-voting' code to this sample... I've finished up most...
  • Code/Tea/Etc...

    Cool new MSDN TV (on creating a RSS reader that runs as a tool window in VS)

    • 3 Comments
    Building Tools Using the Visual Studio Automation Model In this episode, Craig Skibo uses the Visual Studio .NET 2003 automation model to build a tool window hosted within Visual Studio that allows you to read blog postings.
  • Code/Tea/Etc...

    Just playing with Generics in Visual Basic Whidbey

    • 16 Comments
    My simple class: Public Class Customer Dim m_CustomerName As String Dim m_CustomerID As Integer Public Property CustomerName() As String Get Return m_CustomerName End Get Set ( ByVal Value As String ) m_CustomerName = Value End...
  • Code/Tea/Etc...

    PInvokes available as a VS.NET Add-In...

    • 1 Comments
    Amazing stuff... Adam Nathan creates pinvoke.net, to general acclaim, and then follows only a few days later with a great VS.NET Add-In that allows you to search for, insert and even contribute PInvoke signatures to his site. "Introducing" PINVOKE.NET...
Page 1 of 18 (431 items) 12345»