<November 2004>

On this page...



Member of...

ASP Insiders

MVP Visual Developer ASP/ASP.NET

Enter CodeZone

Blog Categories



Deutsche Resourcen


Sign In

#  Monday, November 15, 2004

You can download two PowerPoint slide decks from Visual Studio 2005 Team System presentations at DevConnections in Las Vegas (November 2004):

  • VMS352 - Visual Studio 2005 Team System: Software Project Management
    In this session you will learn how to take advantage of the combined power of Visual Studio, the Microsoft Office System, and industry proven practices to successfully manage software projects—from conception to deployment.
  • VMS355 - Visual Studio 2005 Team System: Enterprise Class Source Control & Work Item Tracking
    This session introduces the new Team Foundation Server in Visual Studio 2005, including the new Source Code Control, Work Item Tracking and Team Portal. See how an integrated and extensible server-based system will boost your team’s productivity by significantly streamlining your development processes.
Monday, November 15, 2004 8:30:51 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


#  Saturday, November 13, 2004

InformationWeek's article has the details. The interesting bit in my view:  The switch was not a surprise, given PalmSource's focus on supplying an OS for advanced cellular phones, called "smartphones," that contain many of the same features as PDAs, such as contact lists, personal calendars and email. Given my experience with the SPV C500 (a Microsoft SmartPhone), I don't think PalmSource's change of focus will help in the long run...

Saturday, November 13, 2004 8:14:02 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


#  Thursday, November 11, 2004

What would you think if you get this error message:  "The virtual machine could not be restored because there was not enough memory available on the host" (Commit Charge Total 628MB / 3433MB in Task Manager, roughly 1.5GB still freely available).

Of course, you blame Microsoft, because after all it is VirtualPC that gives you this error message. No, not this time. It is Ahead's Nero InCD (even in its most current version which I need for my DVD RAM drive. Following the VPC FAQ entry and disabling (Task Manager / End Process) both InCD processes makes VirtualPC work like a charm. Now, what did Ahead do in InCD to make a system with > 1GB act up like that? I'd like to hear why.

Categories: Administration | this | Virtual PC
Thursday, November 11, 2004 11:18:36 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [1]


#  Tuesday, November 9, 2004

You don't know the IOCCC (IO Triple-C, International Obfuscated C Code Contest)? The following goals are set forth for the contest:

  • To write the most Obscure/Obfuscated C program under the rules below.
  • To show the importance of programming style, in an ironic way.
  • To stress C compilers with unusual code.
  • To illustrate some of the subtleties of the C language.
  • To provide a safe forum for poor C code. :-)

As I started my Windows programming career on C (ah, message loop!), I'm still an aficionado of this contest. And you'll be too once you come to appreciate the elegance of this year's winning entries.

Categories: this
Tuesday, November 9, 2004 8:02:24 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


#  Monday, November 8, 2004

I have been busy refactoring the Registry Editor, converting it from hack to architecture. As I plan to release the source code for it, I want it to be well-structured and easily extensible (I don't think I'll do editors for all registry data types). Can't wait for VS.NET 2005 where refactoring will be built in, though you can easily get ReSharper today. Online resources aside, the Refactoring dead-tree edition from Fowler should sit on every developer's bookshelf.

To close this post, one more screenshot of the Registry Editor in action - the menu:

Monday, November 8, 2004 1:57:52 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


Got bitten once again with gratitious help of VS.NET 2003: how does tab order work on the Compact Framework? Based on the order in which controls are added to the Controls collection in InitializeComponent - and guess what, VS.NET does this in reverse order, or the Forms Designer, to be more precise. Details in the section "Tab Order and Focus" in here.

Monday, November 8, 2004 1:45:13 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


#  Saturday, November 6, 2004

What is the behavior of a tree view control? Well, it lets you expand the tree - but what should it do when you reach a leaf node? Right, switch to List View mode where you can view and edit the values.

Download video (199.9 KB)

Saturday, November 6, 2004 7:54:00 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


This turned out to be unnecessarily complicated - because I painted myself into a corner, sort of with the help of Visual Studio .NET 2003. When I added an image list, upon load I'd run into an exception of MissingManifestResourceException.

I thought wtf? I didn't do anything. Well, mostly nothing. I found the KB article BUG: "System.Resources.MissingManifestResourceException" error message after you change the name of a localized form class in Visual C++ .NET 2003 which was sort of helpful: I found the cause, but the remedy didn't work for SmartPhone applications... here's the lowdown: my main form had the class name RegistryEditorForm, the file name though was RegistryForm.cs (.resx is of course the same, automagically). So now the resource is compiled using the file name, and the class name is different - exception. Change the class name to be identical to the .resx file name - success.

But at least the list view looks now a lot nicer than before (note that in debug mode I display the data types instead of the value names):

Saturday, November 6, 2004 5:33:22 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


#  Friday, November 5, 2004

One more step completed - a bare-bones string value editor (yes, for both editing existing and adding new string values):

Now, the bad news is that the OpenNETCF.org Smart Device Framework won't cut the mustard for the editing part - I will have to resort to P/Invoke for getting at the value data types correctly. I knew that P/Invoke would rear its ugly head rather sooner than later. Anyways, nice learning project.

(1) Registry Editor for SmartPhone
(2) Registry Editor for SmartPhone, List View

Friday, November 5, 2004 7:45:46 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


In addition to the tree view as reported earlier, I now also got the list view up running:

Note that pretty icons ("UI candy") are missing (eg folder or value data type), but getting functionality done is more interesting at the moment. When switching from tree view to list view, I already switch to the very same registry path, missing is path preservation on the switch back from list view to tree view.

Friday, November 5, 2004 5:09:23 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]


© Copyright 2022 Christoph Wille

newtelligence dasBlog 2.3.9074.18820
Subscribe to this weblog's RSS feed with SharpReader, Radio Userland, NewsGator or any other aggregator listening on port 5335 by clicking this button.   RSS 2.0|Atom 1.0  Send mail to the author(s)

Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.