Huddled Masses
The internet home of Joel "Jaykul" Bennett...
Browse: Home / .Net

.Net

Long-Path Module (Experimental.IO)

By Joel 'Jaykul' Bennett on 04-Feb-2011

Thanks to a late night on my part, and the efforts of the developers on the Microsoft BCL project who wrote the Experimental.IO LongPath assembly … with no further ado, I present a really basic module for dealing with long file paths. There’s no help yet, and very little error handling. But if you needed [...]

Posted in Huddled | Tagged .Net, IO, Path, PowerShell, Windows

XPath and Namespaces in PowerShell

By Joel 'Jaykul' Bennett on 25-Nov-2009

Although there are a few “CSS Selector” libraries, most browsers haven’t even implemented CSS3 selectors, never mind frameworks like .Net or scripting languages like Javascript or PowerShell so XPath remains the most powerful way to deal with finding specific data in an XML file, and by extension, XHTML and even HTML files (if you can [...]

Posted in Huddled | Tagged .Net, Namespace, PowerShell, Xml, XPath | 2 Responses

Custom IComparers in PowerShell (and Add-Type for v1)

By Joel 'Jaykul' Bennett on 16-Dec-2008

Someone asked the question in #PowerShell (on irc.Freenode.net): How do I find an item (in an array) based on one of it’s properties? Actually, the question was rather more complicated than that. They were importing a bunch of users from a csv file, and wanted to sort them and search them based on a specific [...]

Posted in Huddled | Tagged .Net, BinarySearch, PowerShell, Scripting, Searching

NativeConsole.cs – Run console apps and get their output

By Joel 'Jaykul' Bennett on 05-Sep-2008

To those of you who are not software developers: feel free to skip this post A while ago I wrote a little class for calling console apps from a .Net application, and I’ve been using it in several of my apps (most notably in PoshConsole) and it works great, but since the only place I’ve [...]

Posted in Huddled | Tagged .Net, C++, Console, Development | 3 Responses

Visual Studio 2008

By Joel 'Jaykul' Bennett on 23-Nov-2007

Well, Visual Studio 2008 launched while I was off in Houston, Texas … if you don’t have an MSDN subscription, you can check out Visual C# Express 2008 and the rest of the Visual 2008 Express editions, or the trial versions and of course, the new .Net Framework 3.5

Posted in Huddled | Tagged .Net, CSharp, Development, VS2008 | 1 Response

Register DLL – Calling RegSvr32 without MessageBoxes in PowerShell

By Joel 'Jaykul' Bennett on 16-Jul-2007

Someone asked in the #PowerShell channel on FreeNode for a way to register dll’s (you know, old COM libraries for use in scripts or apps) ... specifically, they wanted to create a script that could register a bunch of Dll files, and know which ones passed or failed. It turned out to be an interesting [...]

Posted in Huddled | Tagged .Net, Development, PowerShell, Scripting | 5 Responses

Microsoft Command Line Standard

By Joel 'Jaykul' Bennett on 17-May-2007

Microsoft has published a new Command Line Standard which sets out the standard for writing command line applications for Microsoft platforms … While it’s clearly based on the way they’ve written PowerShell, it is a spec that is “independent of any specific implementation of a shell, set of utilities or command creation technologies” and should [...]

Posted in Huddled | Tagged .Net, Development, PowerShell, Scripting

Control Windows from PowerShell

By Joel 'Jaykul' Bennett on 28-Feb-2007

[New] CodePlex Project As I announced recently I have created a Windows Automation PowerShell Snapin project to house this snapin on CodePlex, and added a bunch of features. You should head over there for the download. Original Post I’ve been crazy busy the last few weeks, but I’ve been really rather distracted from my main [...]

Posted in Huddled | Tagged .Net, Development, Personal, PowerShell, Scripting, Software | 4 Responses

Windows RSS Platform – Part the first.

By Joel 'Jaykul' Bennett on 06-Jan-2007

The inaptly named Windows RSS Platform is actually part of IE7, not part of Windows, and therefore is available on Windows XP if IE 7 has been installed, as well as on Windows Vista (where IE 7 is included originally). However, having said that, it isn’t just for IE: it includes a complete COM API [...]

Posted in Recommender | Tagged .Net, Development, Recommender, Software

Lijit Search

Tags

.Net .Net 2008 Scripting Games Automation Bugs Design Development Funny Gadgets GeoShell GUI Huddled Masses Internet licensing Microsoft Modules My Software News Personal PInvoke Pipeline Politics PoshCode PoshConsole PowerBoots PowerShell PowerShell Functions PowerTips Rants Recommender Repository Scripting ShowUI Software Solutions Textile Tips User Group UserInterface WalkThrough WebHosting Windows 7 WordPress WPF Xml

About Huddled Masses

This is web site is dedicated to the musings of Joel Bennett (aka Jaykul) about technology, software, software development, the web, and the world.

Any resemblance of the views expressed and the views of my employer, my terminal, or the view out my window are purely coincidental. The resemblance between them and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader.

P.S.: I occasionally link to things I think are great. When I do, I occasionally find a "referral code" so I can make a little cash. I promise that I don't link to anything just because of that cash (I wouldn't cross the street for the amount of cash those links bring in, never mind write a whole blog post) ... but I do not promise that things I link to will stay great as time passes, nor that you will agree with me about their greatness!

Archives

  • January 2012
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • March 2011
  • February 2011
  • January 2011
  • November 2010
  • August 2010

Copyright © 2012 Joel Bennett.

Powered by WordPress and Hybrid.