Geeks With Blogs

News
Welcome to my blog.
Here's what we've got on the menu today:

Lorin Thwaits A geek says what? December 2005 Entries
How a lousy keyboard can masquerade as a virus (Outlook constantly opens)
The scenario goes something like this: One day while using your XP system suddenly every time you start typing Outlook opens! Every few keystrokes it opens and gains focus, again and again. “What in the world is going on here,” you think. “Perhaps a virus!” So you fight with the errant machine and eventually start a virus scan, coming up with nothing unusual. Checking for spyware or other malicious programs also comes up empty. But the obvious and annoying problem persists. ......

Posted On Saturday, December 31, 2005 2:55 AM

Using client certificates with ASP.NET
Here's a fun question that came through the Arizona .NET User's Group list about using client certificates with ASP.NET: Question:How do you set up a client x509 certificate to be used by code run by an ASP.NET process? This article didn't help: http://support.microsoft.co... The WinHttpCertCfg.exe util would not install certs into the store. I had to use the mmc certificates plugin. The workaround I did in development was to log in as the web user and install the ......

Posted On Friday, December 30, 2005 3:35 PM

Keeping the WMF nasty at bay (MS advisory 912840)
Here's a video of what it looks like to be infected with the WMF zero-day exploit. NOTE: Microsoft has now released a patch for this vulnerability! (Link leads to the WinXP version. Install it ASAP!) Previously this blog post had recommended unregistering the Microsoft Picture and Fax viewer via this command: regsvr32 /u shimgvw.dll Now that the patch is available, if you had taken the above approach as a precautionary measure then you can re-enable this functionality with this command: regsvr32 ......

Posted On Wednesday, December 28, 2005 9:18 PM

One of my favorite verses from Isaiah
For unto us a child is born, unto us a son is given: and the government shall be upon his shoulder: and his name shall be called Wonderful, Counselor, The mighty God, The everlasting Father, The Prince of Peace.

Posted On Sunday, December 25, 2005 4:13 PM

HDR-HC1's CMOS sensor gives hints about its dynamic range through Exposure settings
td{white-space:normal} The behavior of CMOS sensors is not well understood amongst videographers, and in this post I hope to explain one of its major benefits: wide dynamic range. The CCD sensor found in most camcorders today naturally has a limited amount of dynamic range. So to compensate, the iris, or aperture, setting modifies to a degree the amount of light that reaches the sensor. This adjustment of aperture also affects depth of field. In addition to this, lower-end CCD cameras usually tweak ......

Posted On Friday, December 23, 2005 10:27 AM

Virtual clickable menus from my Japanese HD camcorder
Six months ago I taught an ASP class in Japan and had a ball. All the great sushi! It was down South in Okinawa where you can find some of the best diving in the world. I only had time to take two dives, but they were both incredible. What a blast. That culture is unique. Amazingly low crime, highly efficient, and success-oriented. I was in heaven. That week also just happened to coincide with the Japanese release of Sony's new high definition camcorder, the HDR-HC1. So while there of course I had ......

Posted On Thursday, December 22, 2005 3:01 AM

How to force the Mopar A604 transmission into "limp" mode
Recently needed to work on a friend's 12 year old minivan that for some reason still runs. It's ugly, gets crappy mileage, and has 180,000 miles on it, but still went from point A to point B. That is until last week when putting it in Reverse to back out of the driveway, it started lunging and making grinding sounds! With it in Park or Neutral, no issue. But immediately upon putting it in Drive or Reverse, it either killed the engine entirely due to extra load, or a little motion started, coupled ......

Posted On Wednesday, December 21, 2005 3:51 AM

Scouting around the cells in an ASP.NET DataGrid using JavaScript
Yesterday the question was posted to the Arizona Groups list: How do you use client-side code to read the selected value in a drop-down list contained in a DataGrid cell when the user clicks on an <img> tag in an adjoining cell? This can be done quite easily with JavaScript. One cool thing about HTML elements in general is that from wherever you are, you can navigate four ways: to an element's parent, first child, previous sibling, or next sibling. This allows you to effectively "walk" throughout ......

Posted On Friday, December 16, 2005 2:28 AM

Scrolling an ASP.NET ListBox to right where you want it to be
Yesterday the question was posted to the Arizona Groups list: How do you have the selected values in an ASP.Net Listbox control scroll into view? Simple answer: By default in IE whatever is selected does get scrolled to the top. In ASP.NET, the ListBox is rendered as a <SELECT> element with a SIZE attribute. For whatever item is selected, as appropriate the selected attribute gets applied. Here's an example to set the stage, both the HTML generated by ASP.NET and the actual control: Red Green ......

Posted On Friday, December 16, 2005 1:03 AM

A convenient way to deal with "Unexpected Error 0x8ffe2740"
Ever had the annoying problem of IIS not wanting to start, coughing up the message "Unexpected Error 0x8ffe2740 Occurred."? The reason is that some other application has grabbed port 80. The most common applications doing this are Skype or Trillion. You can try just ending task on them and see if IIS will then start. If you're not running either of those then what could it be? Microsoft's KB article about the subject describes using the third-party utilities TCPView or FPort. But I think an easier ......

Posted On Monday, December 12, 2005 3:27 AM

What??? You deleted "Default Web Site" from IIS?!?!
Some applications are just bent on seeing what appears to be the pristine original Default Web Site that is created when IIS is first installed. For instance, when setting up Microsoft's own Reporting Services it depends upon having a web with the same underlying site ID as the default, “W3SVC/1“. So you can paint yourself in a corner if you ever get a wild hair and just up and delete it one day: To these finicky apps, anything created after the fact, even if it is called by the right ......

Posted On Friday, December 9, 2005 8:18 PM

ASP.NET Compiler Error CS0006
Do you have arcane CS0006 errors haunting you, either in 1.1 or 2.0? Something like this: Compiler Error Message: CS0006: Metadata file 'C:\WINDOWS\Microsoft.NET\F... ASP.NET Files\someProject\27bee1ac\... could not be foundSource Error: [No relevant source lines] Additional symptoms: when you first build the app it works fine, but then when rebuilding it always comes up with this error. Well, I know of three major reasons for this to occur: You've ......

Posted On Friday, December 9, 2005 12:40 AM

Copyright © Lorin Thwaits | Powered by: GeeksWithBlogs.net