TIP: Extract Audio from FLV files and save it to an MP3 file using FFmpeg

Sharing a small tip … I recently needed a lightweight tool to extract the audio components from an FLV file and save it as an MP3 file. After some searching I found that you can use FFmpeg to easily extract the audio. C:\> ffmpeg.exe -i <input.flv><output.mp3> For example C:\> ffmpeg.exe -i “D:\my video.flv” “D:\my video.mp3”…


Up with Markdown as an Authoring format (or sample code for an IIS7 Markdown Handler)

In the summer I gave up trying to make my web server (on the internal Microsoft network) look perfect – and really I gave up on HTML and the complexity that went with it. What I wanted was simple text formatting that didn’t require specialized tools and coincidentally I discovered Markdown: http://en.wikipedia.org/wiki/Markdown And what I…


IronPython: Querying Windows Desktop Search

I needed to find some files without restoring to the desktop search UI – this IronPython script implements a very simple search that uses System.Data.OleDb* to query the Windows Desktop Search catalog      import clr import System clr.AddReference(“System.Data”) import System.Data wds_connection_string = “Provider=Search.CollatorDSO;Extended Properties=’Application=Windows’;” wds_query = “SELECT System.FileName FROM SYSTEMINDEX” wds_connection = System.Data.OleDb.OleDbConnection( wds_connection_string…


C# Code Sample: Creating an Excel 2007 XML File from a DataTable object

Recently I’ve been playing with System.Data.DataTable and needed to generate an Excel Spreadsheet from from records stored in a DataTable (CSV format wasn’t sufficient for my needs). The sample below uses the ExcelXmlWriter library from Carlos Aguilar Mares which makes this very straightforward.   The ExportToExcelXml method creates the Xml File. The ExportToExcel method will…


UX: Tools for Software Archeology – Screenshots from GUIdebook

Want to see how UIs have changed through the years? An email thread at Microsoft pointed me at an online resource called  guidebook – http://www.guidebookgallery.org/ It doesn’t look to have been updated since 2006, but if you are looking for screenshots from older products, then you might find it in it’s screenshots section -  http://www.guidebookgallery.org/screenshots


Dynamics AX 2009: Preparing Role Center Deployment

BACKGROUND Dynamics AX 2009 is a huge project and when I describe the value it delivers I always make sure I mention that to achieve that full value, a customer should be using Role Centers. And just for reference here is one of the Role Centers – the CEO Role Center. You can learn more…