Saturday, January 30, 2010

Solution for: "Cannot open TWAIN source" (Canon)

24.01 Error message:

  • "Cannot open TWAIN source"

Affected products:

  • Canon scanners like the "CanoScan LiDE 60"

What does not hep:

  • Updating/reinstalling CanoScan toolbox or drivers
  • Trying other USB ports

Workaround/Solution:

  • Shorten your "PATH" environment variable. If the resulting variable is "too long", the TWAIN error will occur. After shortening the path, scanning will immediatly work (no restart required.)

(Thanks to “Graf_d” from this thread for providing the solution)

Monday, November 9, 2009

CustomValidator for Checkboxes in ASP.NET

To check that a checkbox is set in ASP.NET you need to do a little more than just grab a RequiredFieldValidator.Situation:

The RequiredFieldVadlidator cannot be used to validate ASP.NET Checkboxes.

Workaround:

Use a CustomValidator. All you need is implement the ServerValidate event of the Custom Validator to validate that the check-box is checked/unchecked. Read more: http://msdn.microsoft.com/en-us/library/aa479013.aspx

Saturday, November 7, 2009

A computer stops responding during shutdown if BitLocker is enabled on the system drive

Windows does not shutdown properly when BitLocker is enables for the system drive Symptoms

When shutting down the screen turns black and nothing happens whilst the computer fan and other devices are still running.

Assumption

You have BitLocker enabled for the system drive.

Solution

Hotfix available by Microsoft: http://support.microsoft.com/kb/975496/en-us

(Thanks to Kay Giza for this tip.)

Friday, November 6, 2009

Two and a half reasons *not* to use BitLocker

Windows 7 BitLocker limits your choices when it comes to backup and booting from VHDs. I had to disable BitLocker for two (and a half) reasons:

  1. It’s not that easy anymore to create a backup image of BitLocker-protected drives.
    You can still do sectory-by-sector copies which require more space and time to create and restore.
    http://kb.acronis.com/content/1734
  2. You cannot boot natively from a VHD if this VHD is placed on a BitLocker-protected drive.
    My laptop has only a single hard drive and you can can’t boot to VHD on network or removable drives.
  3. If your laptop is not equipped with a TPM you need to insert a USB stick every time before you can boot your laptop.

Thursday, October 29, 2009

10 free online Tutorials on Silverlight using Blend

(via techpreacher)

These tutorials are for everyone wanting to get to know Silverlight and Expression Blend quickly.  The tutorials have been created to learn about the features of Silverlight by simply drawing, resizing, dragging and dropping elements on the design surface of Blend. No code or prior Silverlight knowledge needed.

The content is provided at a high-level to cover a wide array of topics in a short time. Links to more detailed information are provided at the end of each tutorial.

1. Drawing an emoticon in Expression Blend
First steps in getting to know the tools and workspace in Blend
2. Element Transformations
Learn to use Scale, Rotate, Skew and 2.5D Transformations
3. Get Started with Animation
A Quick Overview on Creating Time-Based Animations
4. Playing Video with the MediaElement
Using the flexible MediaElement control as a reusable Surface
5. Arranging Pictures to Learn Layout
Use the Grid, StackPanel, ScrollableViewer and Border to position Images
6. A Look at Text in Silverlight
Learn about Displaying Text, Font Properties and Embedding Fonts
7. Import an Adobe Photoshop File into Blend
Convert the assets from a Photoshop file into Interactive Controls
8. Styling and Skinning Controls
Customize the Look by Setting Properties and Building Templates
9. Styling and working with Design-Time Data
Explore how Templates and Bindings are used to display dynamic data

10. Giving Behaviors a Test Drive
A brief overview and walkthrough of the Behaviors included with Blend

Sunday, October 11, 2009

Enable BitLocker without a TPM on Windows 7

Windows 7 Bitlocker can use USB sticks instead of TPMProblem

You receive an error that BitLocker will not work if no compatible TPM hardware is present.

Workaround

Use an USB stick (that always have to be inserted before booting your machine).

Steps

  1. Open group policy editor: Start » gpedit.msc
  2. Navigate to:
    • Computer Configuration
    • » Administrative Templates
    • » Windows Components
    • » BitLocker Drive Encryption
    • » Operating System Drives
  3. Double-click Require Additional Authentication at Startup.
  4. Click Enable.
  5. Done!

More information:

How to Backup and Restore your Windows Live Messenger emoticons?

There are several apps out there that promise you to work with the most recent version of Windows Live Messenger (Version 2009, 14.0.8089.726).

My recommendation:

ConCon Messenger Content Retriever

ConCon backups and restores your Windows Live Messenger 

Download: http://concon.110mb.com/

It saves all emoticons into one .mco (= .cab) file, which makes restoring them very easy.

Friday, September 18, 2009

Workaround: Windows SDK Configuration Tool complains about missing Visual Studio

When trying change the default SDK…

Symptoms

Error Message:

"Your system does not have Visual Studio 2005 or Visual Studio 2008 installed"

Workaround

  • Option 1: Use the command-line version of Windows SDK Configuration Tool: e.g. “WindowsSdkVer.exe -version:v7.0” (no quotes)
  • Option 2: Change the OS Display Format to English (United States).

You can read the full story here.

Wednesday, September 16, 2009

How to set Windows Live Mail store folder

It’s a bit hidden, but You can save your Windows Live Mail folders to another drive Heinz Tschabitscher from About.com knows how:

  1. Select Tools | Options... from the menu.
  2. Go to the Advanced tab.
  3. Click Maintenance....
  4. Click on the Store Folder... button.

Tuesday, September 15, 2009

Control multiple computers with a single keyboard and mouse

Moving the mouse from one computer to the other (similar to multi monitor support)

What the author says:

“Input Director is a Windows application that lets you control multiple Windows systems using the keyboard/mouse attached to one computer.”

Link: http://www.inputdirector.com/

Friday, August 28, 2009

Gemplus PC Twin Smart Card Reader driver for Windows 7

can be found here: http://support.gemalto.com/?id=46

Getting started with Developing for Windows 7

Windows 7 offers several features for developers, not just users

Getting Ready for Windows 7

Windows 7 Training Kit For Developers
(includes presentations, hands-on labs, and demos on: the Windows 7 Taskbar, Libraries, Multi Touch, Sensors and Location, Ribbon, Trigger Start Services, Instrumentation and ETW, and Application Compatability - including Version Checking, UAC Data Redirection, Session 0 Isolation, Installer Detection, User Interface Privilege Isolation, High DPI)

Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1
(provides documentation, samples, header files, libraries, and tools)

Windows® API Code Pack for Microsoft® .NET Framework
(Managed Wrapper for accessing Windows 7 features from .NET)

Thursday, August 27, 2009

How to backup your Windows Live Writer configuration (e.g. to another computer)

Windows Live Writer - where is the configuration hidden?If you want to save your Windows Live Writer configuration, including Blog settings, Draft blogs, Recent blogs, Plugins, for example while moving from one machine to another, the free Windows Live Writer Backup is your friend.

Download: Windows Live Writer Backup

Screenshot:

Windows Live Writer Backup - does what the name says, and restores it again

What is the C:\Windows\Panther directory?

The Windows 7 folder naming zoo Windows Vista and 7 setup log files are located in different locations on the hard disk. The Panther directory is one of them, as you can read here.

Can I delete it safely?

If you performed an upgrade installation of Windows the Panther folder can easily fill up multiple gigabytes. Deleting (or renaming it at first) showed no negative effects.

Monday, August 17, 2009