Scott Hanselman

Kent Sharkey in the heezy fo' sheezy babay!

February 19, 2003 Comment on this post [0] Posted in Web Services | XML
Sponsored By

Kent Sharkey in the heezy! RSS Subscribed. 

And you know he's a nice guy since his Googlisms are:

kent sharkey is an mcsd
kent sharkey is the soap evangelist and is learning a fear of my camera and me
kent sharkey is the technical evangelist

 

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Snazzy tool to the rescue: TaskManagerEx (The

February 19, 2003 Comment on this post [0] Posted in Web Services
Sponsored By

In an attempt to find a quickie utility to force open files to close under Windows I stumbled upon TaskManagerEx that extends the Windows Task Manager with such yummy features as:

  • Use different color for services
  • Find a used file by any process. (Use * as file name for showing every used file)
  • Find a used module by any process
  • Use different color for processes if the CPU usage reaches a given limit ( 25%, 50%, 75% )
  • Query list of every files, handles, modules, windows used by a given process
  • Close a used file (you can unlock an exclusively opened file, so you can delete it)
  • Unload a used module (so you can delete it)
  • You can kill services too
  • Fast end process. Press DEL key!

    Needless to say, this baby goes in Startup and C:/UTILS!

  • About Scott

    Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

    facebook bluesky subscribe
    About   Newsletter
    Hosting By
    Hosted on Linux using .NET in an Azure App Service

    Sairama's Interesting Code of the Day - Printing Line Numbers while Debugging C#

    February 19, 2003 Comment on this post [1] Posted in Web Services
    Sponsored By

    In C++ if problems happen, we'll want to log the error along with filename and Line Numbers, often like:

    CString strCompleteMessage;
    strCompleteMessage.Format(_T("%s , HRESULT %0x [%s,%d]"),strMessage,hr,A2W(__FILE__),__LINE__);
    LogInfo(strCompleteMessage);

    In C#, there are no such macros so we use the StackFrame class. Below we show how to print the filename and line numbers while logging messages/errors.

         public static void foo()
         {
         // some operations here
         // some error here
         string msg = "Unable to do xyz operation, Please report this to abc@xyz.com";

         // true means get the file information also ( needs pdb files which can be generated for Release builds )

         StackFrame CallStack = new StackFrame(0, true);
         Console.WriteLine("Error:{0} occurred in:{1} in File: {2} at Line: {3}", msg, CallStack.GetMethod(), CallStack.GetFileName(), CallStack.GetFileLineNumber() );
    }

    About Scott

    Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

    facebook bluesky subscribe
    About   Newsletter
    Hosting By
    Hosted on Linux using .NET in an Azure App Service

    Microsoft aquires Connectix - VMWare screwed?

    February 19, 2003 Comment on this post [0] Posted in Web Services
    Sponsored By

    update Microsoft is acquiring some assets of Connectix, including an unreleased server program and software that permits Windows to run on a Macintosh. [News.com]

    Interesting, since Microsoft has a universal license for VMWare for all MS employees.  I've never used the Connectix product, but I guess I will soon!

    About Scott

    Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

    facebook bluesky subscribe
    About   Newsletter
    Hosting By
    Hosted on Linux using .NET in an Azure App Service

    Outlook2RSS v0.4 with support for Images

    February 19, 2003 Comment on this post [0] Posted in Web Services | Tools
    Sponsored By

    Jorge Curioso and I have updated Outlook2RSS (download here) (modified from Peter Drayton's Google2RSS) to include additional features in RSS 0.93 as well as support for Inline Images and Attachments from within Outlook!  This means, you can include inline images from within Outlook and with a little magic (very little) we will deal with all the Outlook cid://ABCE32432 crazy URLs and munge the content appropriately.  The images will be extracted from Outlook into the same directory as the RSS feed with the external URLs automatically added.

    Jorge is happily running his blog with Outlook2RSS and has added a "Publish Blog" tool to his standard Outlook Toolbar.  You too can have you own blog from Outlook...just create RSS from a private or public Outlook folder and style to taste.

    Next step, make it an add-in...here's a thought - Greg, how about using this code to implement an "Export to RSS" feature in NewsGator so we can both aggregate feeds and publish feeds from any Outlook Folder?  You've got all the infrastructure already...I'd like to have it run on the same schedule, and it'd only be one extra tab...;)

    About Scott

    Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

    facebook bluesky subscribe
    About   Newsletter
    Hosting By
    Hosted on Linux using .NET in an Azure App Service

    Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.