Scott Hanselman

Bring all my Radio UserLand comments over to dasBlog

September 19, 2003 Comment on this post [0] Posted in Web Services | DasBlog | Javascript
Sponsored By

Well, last night's ephipany was right-on.  I finished DasBlogRadioCommentImport and ran it last night, importing hundreds of reader comments and successfully integrating them into each related dasBlog entry.  Let me know if you want the code via email.  When I get access, I'll post it on the GotDotNet workspace.

All in all, the Radio "conversion" was a big stick of butter. Here's the goodness:

  • Taking Clemen's lead, I modified my Radio template to include JavaScript and META refresh tags.  Some Details here.
  • dasBlog handles these redirects with a regular expression based $g(Url Rewriting) Module that is pure genius.  I added a series of expressions that didn't exist in order to handle Radio Categories and Radio Stories.
  • I imported all the Radio content with the included DasBlogRadioImporter.  Good.
  • Then I wrote DasBlogRadioCommentImport.  Better.

All in all, for existing Radio Userland users, dasBlog offers a fantastic migration story.  All my existing Google Radio links work.

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

Importing existing Radio Comments into dasBlog

September 19, 2003 Comment on this post [0] Posted in DasBlog
Sponsored By

I was sitting here doing some writing for work and out of nowhere came a flash, and I knew exactly how I could write a small command line util to import over a year of reader comments from Radio Userland into my new dasBlog setup. Coming soon, and Peter Provost shall be my first tester! ;)

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

How to find out what's running inside that out-of-control Services.exe or Svchost.exe

September 18, 2003 Comment on this post [0] Posted in Programming | Tools
Sponsored By

For Windows XP: http://support.microsoft.com/?kbid=314056

To view the list of services that are running in Svchost:

  1. Click Start on the Windows taskbar, and then click Run.
  2. In the Open box, type CMD, and then press ENTER.
  3. Type Tasklist /SVC, and then press ENTER.

 For Windows 2000: http://support.microsoft.com/default.aspx?scid=kb;EN-US;250320

 To view the list of services that are running in Svchost:

  1. From the Windows 2000 installation CD's Support\Tools folder, Extract the Tlist.exe utility from the Support.cab file.
  2. On the Start menu, click Run, and then type cmd.
  3. Change folder to the location from which you extracted the Tlist.exe utility.
  4. Type tlist -s.

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

Personality Types - ENFJ - Like this surprises anyone who knows me?

September 18, 2003 Comment on this post [1] Posted in
Sponsored By

Everyone seems to be all into Myers-Briggs again. I've been the same personality type the last 3 or 4 times (over the last 20 years) I've taken this test. I will admin though, it's truly scary to read about yourself...

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

EnableVisualStyles strikes again...

September 18, 2003 Comment on this post [2] Posted in Web Services | XML | Bugs
Sponsored By

My friend Jeff Berkowitz got nailed by the EnableVisualStyles bug in WinForms 1.1 that causes a weird SEHException when calling ShowDialog().  Jeff and his team really push WinForms to the limit and he finds some crazy stuff, including a scary Resource Naming problem in VS.NET 2003.

CLRSpy, Jeff Key, and Adam Nathan to the rescue though.  Although Jeff had debugged the problem and figured it out himself, CLRSpy would see the as an error probe and break on it.

Adam suggests three possible workarounds:

  1. Disable the PInvoke Calling Convention Mismatch probe, or
  2. Uncheck "Break on Error Messages" in CLR SPY so you can ignore this message and not provoke the crash, or
  3. Use an XML manifest to enable XP themes, rather than using the EnableVisualStyles API.

Of course, using the manifest is the preferred method methinks.

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.