Category Archives: windows

Outlook 2007 is slow, RSS broken

Users are reporting that Outlook 2007 is slow – much slower than Outlook 2003, which it is meant to replace.

Experiences vary, but the worst affected are those with large mailboxes. Large in this context means thousands of messages and several GB size. Looking at the newsgroups there may be a particular problem with Outlook on 64-bit Windows. I’m not impressed; though it’s not yet clear how widespread the problem is. I’d be interested in comments.

Confession time: I have a huge mailbox. That means I can easily find old email correspondence, and that’s a feature I value. Furthermore, I lack the time or patience to sift through and delete what is no longer required. Unfortunately, the most effective advice for those suffering from slow Outlook 2007 installations seems to be: reduce the size of your mailbox.

While there may be good organizational reasons for doing this, it seems odd that it is needed on today’s machines, with vast amounts of RAM and disk space, and unspeakably fast CPUs. And if you use Exchange, be sure that you archive to a server location, otherwise you can end up with several little archives littered over every machine you use, and they likely will not be backed up.

Why should users have to prune their mailbox because the very latest Outlook cannot cope with it as well as the older version? Surely it is not that difficult to query and display emails from a local database?

I’m also disappointed that, for all the talk of user experience, the new Outlook does not slow down gracefully. You know the kind of thing: you start the application and an unresponsive, semi-painted window appears for a while. You click to change folders and the application appears to hang. You click to drop-down a menu and the application freezes for several seconds. Isn’t this the kind of thing that background threads are meant to help with?

As for RSS, I can’t make sense of what Outlook 2007’s designers were aiming at here. Note that I think the RSS central store, installed with IE7, is a great idea. However, “central store” in this context means central to the local machine. What Outlook seems to do is to copy the contents of this store to your mailbox and then keep it synchronized. I think that’s a mistake: mailboxes are big enough already, and Outlook would do better to query the central store dynamically.

The real problem comes when you use Outlook with Exchange. Many users take advantage of the server-side mailboxes in Exchange by using Outlook on several different machines, all pointing to the same Exchange mailbox. For me, this is the primary advantage of Exchange and Outlook. But what if those several different machines have different RSS feeds in their central store, or even the same ones?

So far, it appears that Outlook cannot cope. I end up with duplicate feeds, I end up with feeds showing in the RSS feeds folder that are not listed in Tools – Account Settings – RSS Feeds; in fact this list is empty on my desktop machine, Sync is turned off, but I still have a ton of feeds in the Outlook RSS feeds folder.

It seems simple to me. Either Outlook’s RSS integration should be 100% local, in which case you just see what is in the central store on your current machine. Or it should be 100% server-based, in which case Exchange should handle the RSS updates. Mixing the two is just silly.

Tip for improving Outlook performance: if you are happy to do this, go into Tools – Account settings – Microsoft Exchange Server – Change – More settings – Security, and remove the checkbox from “Encrypt data between Outlook and Exchange”. Other factors may be search engine integration (Microsoft’s or other), A/V integration, or other add-ins.

Bottom line: I suggest caution before rolling this out over a network.

Update: other tips you can try

A few other things that have helped people:

  1. Exchange users: Remove Outlook 2003 and do a clean install of Outlook 2007, making sure that a new offline store is created from scratch.
  2. Run on Vista.
  3. Turn off indexing. Tools – Options – Search options – uncheck all folders. It’s a shame to do this as the indexed search is useful.
  4. Let indexing complete. Might be worth leaving the machine running overnight.
  5. Reduce the size of your mailbox (of course).

The above will not solve all the problems, but can mitigate performance issues.

Further update

Microsoft has posted some official workarounds. See here for comment and link

Technorati tags: , , , ,

Vista on a Tablet

I tested Vista RTM on a Toshiba Portege M400. This is a great though expensive Tablet PC: Intel Core 2 Duo T7200 CPU, fingerprint reader (handy for logging onto a table without tapping in a password), FireWire, Bluetooth, etc etc. Perhaps its most notable feature is the “slim select bay”, which comes as standard with a DVD rewriter, but can be replaced with a 2nd hard drive or a 2nd battery. Hence this is one of few laptops with an integrated RAID controller. The 2nd drive is also handy for testing multiple operating systems.

I had this running reasonably well with Vista RC2, and rather optimistically tried an in-place upgrade to Vista RTM. It failed badly. I left it chugging away and came back a couple of hours later to find it in a blue-screen, reboot cycle. I suspect the problem was with one of the beta drivers I’d installed in an attempt to get all the integrated devices working. Who knows what would happen if you tried the in-place upgrade from XP: probably bad things.

Anyway, I zapped RC2 and did a clean install instead. That was straightforward, although you still need to download Toshiba’s SATA RAID driver in order to get Vista to see the drive. Contrary to some reports, you don’t actually have to enable the RAID controller.

The laptop was immediately usable, though I did have to install Intel’s wireless driver to get the wireless network working. I’ve not reinstalled all the other beta drivers, since Toshiba will likely come up with better versions shortly. This laptop is promoted as “Vista Capable”. For the time being, some devices are disabled.

The Tablet side of things works very well indeed. My main use of Tablet mode is for meetings and conferences. Taking notes is easier and more natural when writing on a screen.

I realize that the Tablet has not been a big commercial win for Microsoft, and has probably proved a costly experiment for some hardware partners like Acer. Nevertheless, it’s an important advance in mobile computing. Tablets are a vast improvement on touch-sensitive screens such as those found on a Pocket PC. The electromagnetic digitizer means you can lean your hand on the screen as you write (just like paper), and finer drawing is possible.

Here’s what impressed me most. I opened up Word 2007 and started text input using the handwriting tool. I have poor handwriting, but my first sentence or two came out letter-perfect.

Overall Vista RTM does seem a little snappier than the RC2 release. It’s just those pesky drivers – which is no doubt why the laptop has problems resuming sometimes after sleep or hibernation.

Technorati tags: ,

Vista Media Center: remarkably good

This is one of several notes on testing Windows Vista final version in various scenarios.

One of these is Media Center. This is an alternate, simplified user interface to your TV and other media content, intended to be operated with a remote rather than mouse and keyboard. In XP days this was offered as a separate, dedicated version of Windows, but now it is part of Vista Ultimate. A side-effect handy for journalists and others who run multi-purpose networks is that Media Center PCs can be joined to a Windows domain.

The tricky part of Media Center is the prerequisites. Ideally, you need:

  • A PC in your living room or wherever you prefer to watch TV*
  • A wide-screen TV with a high-resolution screen (eg LCD TV)
  • This PC also connected to broadband internet
  • This PC also connected to a hi-fi or equipped with very high-quality PC speakers
  • This PC also quiet enough not to be annoying when in stand-by
  • A TV card with BDA (Broadcast Driver Architecture) driver
  • The special Media Center remote

I tested Vista on a home-assembled machine which more or less conforms to the above. The soundcard is a Creative Audigy Platinum ZS; the TV card is a Nebula DigiTV, for which there are beta BDA drivers. I’ve been using this for a while with XP and Nebula’s own TV software.

Vista RTM went on as a clean install in its own partition. Next, I had to download the beta Vista drivers from Creative, and the beta BDA drivers from Nebula. This is the Vista life right now: the OS may be finished, but the third-party drivers are far from done. The Creative drivers actually time-out in January. Nevertheless, after a restart or two I was able to setup Media Center and successfully scan for TV channels. I also pointed the media library to a folder of ripped CDs in MP3 format. Media Center downloaded a TV guide and also found artwork for most of the ripped CDs, making for a polished presentation.

Overall, Media Center is a delight to use. The UI is easy to navigate, though scrolling through lists can be ponderous. Shortcuts to important screens like “My music” and “Live TV” work well, and the reassuring big green button always brings you back to the media center home screen. It really is not too geeky, provided that everything works as it should. Browsing through the guide works great, recording programs is a snap, and so is browsing and playing your ripped CD library (or, I presume, “plays for sure” downloads, though I don’t have any).

Not sure yet how Zune fits in here.

A neat touch is that you can play games with the remote. For example, the new 3D chess game works beautifully played from 10 feet back.

Microsoft has built in some interesting download options, most of which don’t seem to be enabled yet. A link to an online store got me a page not found error. Clearly the foundations are in place for a complete integrated home entertainment system based on download rather than purchased CDs or DVDs.

But does everything work perfectly? Not quite. From time to time yesterday I got “Unknown Audio error” with an error code, though it seemed to be harmless. The system has problems waking from sleep, and on one occasion the audio went silent. Another issue is that occasionally Media Center starts continually flashing, making it unusable, and there is no way (that I’ve found) to stop it other than to restart the application.

Are these errors the fault of Vista, or Media Center, or third-party beta drivers? My guess is mostly the last of these; but it still tarnishes the overall experience.

So how do non-geeks get this lot set up and working? The best way is to buy a complete Media Center system with the software pre-installed, and then to have an expert come to your home and set it all up. That’s expensive. Plus, can you trust the cheaper OEM PC vendors not to mess things up with sub-standard hardware, dodgy drivers, noisy fans, and third-party foistware that wrecks Microsoft’s carefully-designed user experience?

By contrast I imagine Apple will come into this space with a couple of boxes that plug in and just work. However it will likely be more expensive and will tie in to iTunes and iPod with Apple’s lock-in DRM. Of course Vista is DRM-laden as well, though at least Microsoft will license its DRM to third-parties. Note however that Media Center works fine with unprotected MP3s and standard CDs and DVDs – and no doubt Apple’s system will as well.

Time will tell who wins, or whether both get a decent market share. And there is also Sony to come. In the meantime, and despite the hassles, I’m impressed with Media Center so far.

*Note on Media Center Extenders

You can avoid the requirement for a PC in your living room by using a Media Center Extender instead. This could be an XBox 360 or a dedicated hardware device, hopefully smaller and quieter than a typical PC. A Media Center Extender has most of the same features as Media Center, a bit like a remote desktop to your Media Center PC. You can have multiple Extenders for a single Media Center PC. You need a fast network (802.11b won’t cut it), and you still need to be able to connect a TV aerial (or cable TV) to the Media Center PC, which could be a problem in some homes.

Technorati tags: , , , , ,

Vista is on MSDN. Now for the tricky decisions.

MSDN subscribers can now download the final build of Vista, which means it is available to a large number of people outside Microsoft for the first time.

If you are one of them, you will have one or maybe two tricky decisions to make.

I take it for granted that you will install it, for test and development of course.

First, do you upgrade the release candidate? Or clean install? Daniel Moth says the upgrade is OK, but I plan to do a clean install eventually, despite the hassle. Otherwise there is always the nagging worry that something which doesn’t work right is broken because you upgraded.

Second, do you enable or disable UAC? This is a hot potato. If UAC is widely disabled, then Microsoft’s best effort yet to secure Windows will have been wasted. On the other hand, it is undoubtedly annoying, and in the worst case some app you depend on might not work at all.

I’m keeping it on. With RC2, I’ve found ways to run all the apps that I need to have working, even including Borland Developer Studio 2006 (a very problematic install, though it may be better in the final release build).

As I said to Dan Fernandez:

My view is that Windows security is a huge issue both for Microsoft and actually for every internet user. UAC looks like a pretty good effort to improve it, so to my mind it is in all our interests to try and make it work.

That said, I’m not optimistic. I think lots of people will disable it; I’m also waiting for the first support notes from third-parties that give users the steps to do this – like the little leaflets that come with video cards and other hardware, explaining that you must ignore the warnings in XP about unsigned drivers.

By the way, although Vista is now final, there is still going to be a lot of pain around drivers as well as application compatibility. For example, the Vista drivers for my Toshiba Portege M400 are still in various states of beta, and no doubt the fingerprint reader still does not work. It’s going to be a while before the situation improves and users get anything like a smooth upgrade on this kind of hardware.

Update

See Ed Bott’s post and the linked article for an illustration of the extent and impact of the Windows security problem. The article analyzes a recent pump-and-dump spam attack. Apparently 99.95 of the botnet machines used were Windows, 47.23% XP with SP2.

Technorati tags: , , , ,

Microsoft’s deeply-ingrained local admin culture

If you go along to the Microsoft Office Developer Center you are currently offered a “Developer Map for the 2007 Microsoft Office System”. It’s described as a poster, but is delivered as an executable. I’m normally suspicious of documents that come as executables, but this is a Microsoft site so I downloaded and ran.

You know what? This thing installs by default into a new folder on the C drive, which means it requires local admin rights. And what does it install? Just a PDF.

Personally I think delivering a PDF as an executable is crazy. Perhaps the author wanted to be sure it wouldn’t open within the browser; a zip would have been fine for this.

You can avoid the admin rights requirement by manually changing the target directory. Few people will do this, because we have learned that changing default directories is often a mistake.

This small incident demonstrates something big, which is the deeply ingrained culture of local admin rights on Windows. I presume that whoever tested this little executable was running as admin, otherwise this unnecessary and annoying requirement would have been spotted and removed.

It chimes with a remark made to me informally at last week’s Tech-Ed, that Microsoft staff running Vista commonly disable UAC (User Account Control), thus removing the most significant security feature in the new Windows.

It is a vicious circle. Microsoft runs with local admin rights, so it issues resources that require local admin rights without even noticing. That means users with lesser permissions or UAC get annoying problems, making them inclined to run with local admin rights as well.

The outcome: Windows stays insecure. Windows botnets proliferate. Malware flourishes.

If Microsoft is serious about security – which I believe it is in some quarters, it must get its own house in order. For the vast majority of computer users, including developers, running as local admin should not be necessary. That means a change of culture and will be hard to achieve; but if Microsoft itself does not make the effort, the world at large has no chance.

Technorati tags: , ,

Tech-Ed: Don’t start new projects in Delphi or FoxPro

Yesterday I attended two sessions aimed at FoxPro and Delphi developers, on how and why they should migrate to .NET.

The FoxPro session drew sparse attendance, which did not surprise me. Fox developers do not attend Tech-Ed, as there is nothing here for them. Speaker Remi Caron made the point that FoxPro forms will never look quite right on Vista as the widgets are custom drawn, and the the FoxPro language is not as deeply object-oriented as C#. Many Fox application are utilitarian in nature, and Microsoft is doing and update codenamed Sedna, which focuses on .NET interop and Vista compatibility, so I am not sure that the arguments were fully persuasive. FoxPro applications will trundle on for a while yet. It is also interesting that C# 3.0 is only now getting integrated database query, which has been a feature of xBase from its earliest days. Still, FoxPro is undoubtedly coming to the end of its life as a product under active development.

The Delphi session was more interesting. Of course I make allowance for the fact that this is a Microsoft conference and that Delphi comes from a competitor in the tools space. Even so, it was a grim event from Borland’s perspective. Presenter Hadi Hariri is a Delphi person. He works for Atozed software, whose main product is a web application framework for Delphi. Also present was Chad Hower who worked on the Indy internet components for Delphi as well as Atozed’s Intraweb. Nobody could say that either speaker lacked Delphi knowledge. Around 25 delegates came to debate Delphi’s future.

Hariri and Hower did not advise developers to port their Delphi projects, unless there is really a compelling reason. However they did strongly advise against new projects in Delphi.* The main factor is integration with new .NET goodies such as those in .NET Framework 3.0, especially Windows Presentation Foundation and Windows Communication Foundation.

But surely you could use Delphi for .NET? Indeed, but there are two problems here. One is that according to Hariri the VCL.NET, Delphi’s backward-compatible .NET library, is failing to win significant adoption. He observes that hardly any of Atozed’s customers use Intraweb with VCL.NET, although it is fully supported. They all use either native Win32 VCL, or a few Kylix, the abandoned Linux port of Delphi. Other third-party vendors say the same thing: there is hardly any market for VCL.NET components.

Then surely you could use Delphi’s .NET compiler with Microsoft’s class libraries? Indeed, but will Borland or the new “DevCo” ever catch up with Microsoft? This week the .NET Framework 3.0 is fully released; yet Delphi 2006 only supports .NET 1.1. By the time Delphi appears with .NET 2.0 support, Microsoft will have updated Visual Studio with a designer for Windows Presentation Foundation and other .NET 3.0 features, which Delphi will likely lack for some time.

We used to laugh at vb applications. Unfortunately it is completely reversed now. We are always going to be behind now.

said Hariri. The session lends weight to recent calls for Borland to focus on Delphi capabilities in native code rather than .NET; yet that too is not ideal when so much of Microsoft’s development platform is focused on .NET.

Postscript

* Hower has commented below and also written at length to emphasise that from his perspective this only applies to .NET projects, not Win32.

More significant than Vista or Office: .NET Framework 3.0 is released

Microsoft’s .NET Framework is now fully released. There is a handy page of links to the various downloads you might want. Of all Microsoft’s releases in this busy November, this is the most significant.

Why? Here’s what is in .NET Framework 3.0. There are four major pieces. Windows Presentation Foundation (WPF) is an alternative GUI API for Windows, based on a new XML language (XAML) and incorporating the code-behind concept first seen in ASP.NET. Although it is primarily for Windows, Microsoft is promising a cross-platform XAML runtime called Windows Presentation Foundation/Everywhere. On Windows, WPF apps are rendered using DirectX, giving it impressive multimedia capabilities. Summary: biggest change to the Windows API since its first release.

Windows Communication Foundation is a communication framework based on XML web services. If you are familiar with Windows development, the easiest way to define WCF is by what it replaces: ASP.NET web services, MSMQ (Microsoft Message Queue), COM+ (also known as Transaction Server) and Distributed COM, .NET Remoting.

I won’t say that WCF replaces all of COM, though perhaps it might do eventually. COM has many faces.

Windows Workflow Foundation is less important than WPF or WCF, but still interesting as a framework for workflow applications. It fits well with Sharepoint and Office 2007 as a way to program enterprise portals.

Windows CardSpace is an abstraction layer for identity management and authentication. Unlike Microsoft Passport, CardSpace is not itself an identity provider, but a rather a system that works with multiple identity providers. If widely adopted, it will help the Internet move on from the nightmare of usernames and passwords. IE7 is a CardSpace client.

When Microsoft first announted the above pieces, they were meant to be exclusive to “Longhorn”, now called Windows Vista. The company realised that this would stall adoption, possibly fatally, so it was decided to make it a free download for Windows XP as well as part of Vista. That makes .NET Framework 3.0 a viable development platform now, rather than in five year’s time (or never).

Like any new technology, this one could fall flat on its face. Time will tell whether it is really significant, or turns out to be a backwater in the latter days of Windows. Unlike Vista and Office, it is not an immediate profit centre for Microsoft, but in the longer term it is critically important to the company as an update to the Windows platform.

Gyrating AJAX model excites Tech-Ed

Microsoft’s Eric Rudder kicked off Tech-Ed Europe with a keynote extolling the virtues of Vista, Office 2007 (which has just been released to manufacturing), and Exchange 2007. This Tech-Ed, it appears, won’t be characterised by major new announcements; it is more about long-awaited technology finally getting released.

Rudder presented some interesting stuff around enterprise portals built on Sharepoint and Windows Workflow Foundation, using the fictional Fabrikam clothing company as an example.

An eye-catching feature of Fabrikam’s online store aroused attention: a gyrating AJAX-driven model with drag-and-drop clothing. Boo.com lives again.

A more geeky highlight came at the end of the keynote, when Anders Hejlsberg demonstrated LINQ (Language Integrated Query) in C# 3.0 (not to be confused with .NET Framework 3.0, which is the old stuff). I’m already familiar with LINQ, but one thing I hadn’t seen before is a feature of Orcas, the next Visual Studio. Hejlsberg called it “paste XML as the code with creates that XML”, and that’s exactly what it does. Copy some XML to the clipboard, paste it into your code, and it appears as C# code manipulating XElement and XAttribute to build that XML as output. You can then adapt the code to generate more XML according to the same schema. Neat.

Microsoft urges FoxPro, Delphi developers to move to .NET

Here at Microsoft’s Tech-Ed in Barcelona two forthcoming sessions caught my eye. Tomorrow afternoon there is a discussion on “Moving from Visual FoxPro to .NET”. From the abstract:

Looking forward to Vista, .NET is a pragmatic necessity for VFP developers. How will you deal with Vista clients? What will you do? How long can you remain in VFP? How can you move to .NET with the least impact?

On Wednesday it’s Delphi developers who get told there is no future in their programming platform, in “Moving from Delphi to .NET”:

Even if you are not considering .NET now, at some point you will have to move to .NET with new code, or to port existing code. Staying with Win32 may be viable in the short term, but not the long term.

By accident or design, the session conflicts with one from the  father of Delphi, Anders Hejlsberg, on C# 3.0, the next generation of Microsoft’s home-grown programming language.

I’d like to attend both events, if only to discover whether there are really a bunch of FoxPro and Delphi pros here at Tech-Ed, puzzling over how to migrate to .NET. Alternatively, maybe some of them could mount a robust defence of these older tools. After all, there’s no sign of Win32 or COM going away any time soon, though .NET refuseniks may have a bit of WPF (Windows Presentation Foundation) envy. Then again, look what language is riding high in the Computer Language Shootout Scorecard.

Outlook 2007: still famously obscure

I am using Office 2007 on Vista for next week’s Tech-Ed conference. That’s the plan, anyway. Both products are on the verge of being released to manufacturing; but for the moment I’m stuck with Office 2007 Beta 2 Technical Refresh, and Vista RC2 (build 5744).

I have a love-hate relationship with Outlook. I like the way it integrates PIM (Personal Information Manager) functions, and I especially like the way it keeps multiple machines in sync with a server-side mailbox. Of course you need Exchange for this to work.

On the other hand, there is plenty to hate. One major complaint is the obscurity of Outlook’s various option dialogs. I often meet people who have missed major pieces of functionality because they could not find them. One recent example was on the verge of purchasing an expensive third-party solution because Outlook cannot make public folders available offline.

It can of course. Non-obvious step one: add public folders you want to use offline into your favorites folder. Non-obvious step two: open Tools – Email Accounts – View or change – select Microsoft Exchange Server and click Change – then More Settings – Advanced – then check Cached Exchange Mode and Download Public Folder Favorites (this last one is not checked by default).

This might be a plot by system administrators to prevent users downloading huge public folders onto their laptops. It is certainly not something you would find by accident.

I’m happy to say (this is irony) that Outlook 2007 continues the tradition of obscurity. Today I was having trouble finding the option to read email in plain text. I know this is a cruel thing to do with beautifully formatted HTML emails, but I regard it as more secure. This option used to be in Tools – Preferences – Email options. No longer.

I looked in Email Options – Advanced Email options. I looked in Options – Mail setup. I looked in Options – Mail format. I looked in Options – Mail Format – Editor Options, though this was desperation: surely even Outlook’s UI designers could not consider reading email an editing function?

Could Microsoft have removed this widely-used preference from the product? Not at all. It is in Tools – Trust Center – Email Security. Silly me.

Here’s my suggestion for Outlook 2009. Throw away all the existing preferences dialogs in Outlook, or hide them in some compatibility mode for those who like a challenge. Then design a new set, with an emphasis on being usable, discoverable, and logical. Please.

 

Technorati tags: , ,