Wednesday, November 22, 2006

If you are the lucky owner of a tablet PC, you will love the new character recognition in Windows Vista. In Windows XP the recognition was not that good, but in Vista it's incredible how well it recognizes what you write.

Unfortunately it doesn't work if you set the input language of your computer to Danish :-( So what you can do, is to use the language bar to switch between Danish and English. You can then switch between English and Danish using the good old Alt+Shift shortcut. Then you of course use Danish when you use the keyboard to enter text and English when you use the writing pad in tablet mode. This is not a good solution!

The best solution I know of is a bit strange, but it works very well. What you have to do, is you have to set the input language to English, but the keyboard layout to Danish. So how do you do that? Well, go to the start menu and use the new search box (I never use the "All Programs" anymore - always the search box). Type "regional" and the only item that should appear (at least on a fresh installation) is "Regional and Language Options". So press Enter to get the regional settings dialog. Go to the "Keyboards and Languages" tab and choose "Change keyboards".

So now we have to add English to the list of installed services. Click the "Add..." button. Find "English (United States)" on the list and under "Keyboard" you select "Show More...". Now you must find "Danish" in the list and mark it. Under the main "English (United States)" item you go into "Other" and mark "Ink Correction". Now you are done and can click "OK".

To make it all work well, you select "English (United States) - Danish" in the "Default input language" dropdown and click "Apply". Now it's possible to select "Danish (Denmark)" in the list of installed services and the click "Remove". That's it. Click "OK" and the "Writing Pad" will now work just as you expect it to do :-) But remember, that the "Writing Pad" aren't made for Danish, so it will still use a English dictionary trying to figure out what you mean.

Of course this also work for other languages than Danish. Just do as described above, but replace every occurrence of Danish with the language you want to use when typing on your keyboard.

Hope this helps :-)

11/22/2006 12:15:55 PM (Romance Standard Time, UTC+01:00)  #    Comments [0]  | 
 Monday, November 20, 2006

Have you ever tried using the famous Equation Editor in Word 2003 and earlier? Then you probably know why many people prefer pen and paper or LaTeX rather than typing in equations in their Word documents.

In Word 2007 Microsoft has made your job as an equation-writer much easier. Go to the Insert tab, click Equation and then Insert New Equation (Alt+n+e+i). You are now in a new and improved version of the old equation editor. You can use the ribbon to enter equations much faster than you could in the old Equation Editor – and it is much easier, due to the ribbons great grouping capabilities.

But wait! There is an even easier way of doing it! The method explained above works great if you only have to enter a single equation or two, but if you have to enter lots of equations the mouse will kill you! So, when you want to write an equation, press Alt+= and now you are in math-mode – much faster than Alt+n+e+i :-) Now you are ready to type in your equation (yes sir, type it in – look mom, no mouse :-D). Let’s take an example.

In the Insert/Equation menu there are several built in equations you can use. We will enter the Binomial Theorem by hand. The first part of it says . So we start the math mode with Alt+= and now we simply type (x+a)^n where ^ means superscript. When we press =, Word will convert our text to a real equation – cool! We now have to enter the second part of the equation:

To get the summation symbol stuff we write \sum_(k=0)^n and press space to make Word convert our text into an equation. \sum is a Math AutoCorrect rule that converts to a summation symbol and _(k=0) makes k=0 a subscript of the summation symbol and as before ^n makes n a superscript. Easy? Yes sir! :-)

For the last part we write (n\atop and press space so Word can convert \atop and then k)x^k and press space again and finally a^(n-k) and space. Now our equation should look like the built in formula:

A pretty nasty equation to construct using the mouse – but pretty simple in Word 2007 :-)

 Unfortunately Microsoft did not put all the \functionname-stuff in the screentips (a new word for the advanced tooltips that is used in Office 2007). So it’s not that easy to learn how to write the equations. But if you have the link to Murray Sargent’s Unicode Nearly Plain-Text Encoding of Mathematics, you will have a very good reference :-)

This feature is fantastic! So good luck with your next equation :-)

11/20/2006 10:55:36 PM (Romance Standard Time, UTC+01:00)  #    Comments [7]  | 
 Saturday, November 18, 2006
Yes sir! Microsoft Windows Vista RTM is up and running on my tablet :-D Nice to finally have the final version - now it's time for my Media Center to get rid of RC2 :-) 
11/18/2006 12:01:24 PM (Romance Standard Time, UTC+01:00)  #    Comments [3]  | 
 Thursday, November 02, 2006

Since Office 2007 beta 2 was released I've been using it on my primary computer. And I just love it! The ribbon bar is just great to work with.

Unfortunately Outlook 2007 has started coming with an error telling me, that there are errors in my .pst-file and that I can use scanpst.exe to repair the errors. I've tried using scanpst.exe, but it can't fix the errors :-( The error appears when I try to move particular e-mails from my inbox to a folder. So also if I try to delete the e-mail I get the error (the e-mail must be moved to the "Deleted items" folder). The only thing I can do whith the particular e-mails, is to delete them permanently (Shift+Delete on the keyboard).

My assumption is, that it is Windows Mobile Device Center (WMDC) Beta 3 that is causing the problem. I have never seen the error before I installed WMDC. If it really is WMDC that is causing the problem, I don't know why it's doing it, because I never synchronize my e-mails with my mobile...

11/2/2006 10:24:52 AM (Romance Standard Time, UTC+01:00)  #    Comments [1]  | 
 Wednesday, November 01, 2006

Nice to wake up to this view from our balcony :-S

Why is it, that I just don't want to cycle 4 km to the university, to have two hours of cryptography right now? 

11/1/2006 8:47:16 AM (Romance Standard Time, UTC+01:00)  #    Comments [1]  | 

Anders Hejlsberg is visiting ITU at the 10th of November. Anders will talk about C# 3.0, including LINQ. 

If you aren't attending Tech-Ed - you have no excuse not going to ITU!

You can read more at Henrik W. Hansen's blog:
http://blogs.msdn.com/henrikwh/archive/2006/10/27/invitation-to-guest-lecture-by-anders-hejlsberg-the-man-behind-delphi-and-c.aspx

11/1/2006 8:13:08 AM (Romance Standard Time, UTC+01:00)  #    Comments [0]  |