Archive for the ‘Uncategorized’ Category

Placeholder for review of HP Pavilion dm1-3110eo Notebook PC

May 4th, 2011

This is a place holder for a possible review of HP Pavilion dm1-3110eo Notebook PC.

New site: ideas, ideas, ideas

Jan 9th, 2011

I have started a new blog to run parallel with this.  It is about ideas.

I get ideas all the time.  So instead of just dropping them I let them out for others to see and use.


Dec 10th, 2010

Why do we do a hand over when we release a system into production?  There is a new machine(s) involved.  There are different protocols for talking with the computer.  Due to security there are different tools involved.  But.  It is the same system.

Just as programming is designing is architecting is designing is programming I say that developing is running is developing.

Now there is a word for it, Devop.  Developer and Operator.  Makes it much easier to explain when it is googleable.

tags: | categories: Uncategorized | no comments »

Placeholder for a possible future review of Nokia BH-217

Dec 10th, 2010

Placeholder for a possible future review of Nokia BH-217.

Virtual PC under Windows7

Dec 1st, 2009

If one wants to run a virtual machine on Windows 7 Windows Virtual PC is the official way to go.

It requires hardware supported virtualization though, which means not everyone’s machine can do it.  On my HP 8510w it meant a cold reboot – just restarting and changing the BIOS was not enough.

The older VirtualPC2007 doesn’t need any hardware virtualization stuff and a small text about how to install it is found here:

It looks like Microsoft wants everyone who installs Windows Virtual PC to also install Windows XP Mode by some reason unknown to me.  I am a developer and I am hesistant to installing apps that might tweek the OS.
The whole page at pushes you into installing Windows XP Mode but if one selects a system at step 3 two buttons pop up and one of them says “Windows Virtual PC”.

Download and install.  But instead of the usual application GUI one gets a view of a folder under C:\Users\username\Virtual Machines prepared for virtual machines.  This might be good for people who backup what is under their personal account but as a developer I don’t want to tie my data to an account and instead prefer something like C:\DATA\VMACHINE\.
Come to think of it – is it good for anyone?

It also took me a while to find out how to create a new virtual machine.  Instead of having an app with a button or menu as is de facto standard someone has decided to hide the button in the toolbar or extra menu system ( I have never figured that out. )

Don’t bother to cut and paste the .vmcx file to some other place.  It will be copied but not removed so you end up with the original .vmcx file in the original place and a not functioning copy of it in your target directory.
The .vmc file can be run though.

Mount an ISO with your preferred OS on the virtual D: drive.  The virtual machines chews through your NICs and DHCP.  I had my WLAN card turned of in the host OS, but the virtual machine seemed to first look for my WLAN card and then my regular one.

The rest looks just like ususal.

>Microsoft Virtual CD-ROM

Oct 5th, 2009


Microsoft has for a long time had a very simple application for mounting ISO images to look like a CD-ROM.  The application is called Microsoft Virtual CD-ROM Control Panel.

It is hard to locate though.  The very link is here:
and can for instance be found through here.

It works for 2000?, XP, Vista, 2003, 2008? but not Windows7.

>How to install Visual Studio 2008 for TFS

Oct 5th, 2009


Installing Visual Studio 2008 is a breeze.  Installing it to work with TFS is not so.  It is not even enough to install the Visual Studio 2008 TFS update but one has to install Visual Studio 2008 SP1 as well.  In this written order.

And here is where I got this information.

>Go to definition VBNet to C#

Jul 13th, 2009


In visual studio a very handy context menu item is the Go to definition item.  Position you caret on a metod call, open the context menu and choose “Go to definition”.  The caret is then positioned on the method.  Press ctrl-minus to go back again.

You cannot do this when a VBNet project calls a method i a C# dll.  The trick here is to instead choose Find all references and choose the correct result row.

Operation cannot be performed on a shared row

Oct 6th, 2008

On one finds some good advises on how to use Dotnet’s DataGridView with large data.  Amongst others one is told to care about Shared Row for data reuse.

A solution of mine was to populate the grid with objects of my own creation and then call SetValues; but when I refactored my solution and put the calls in the “right place” I got an InvalidOperationException exception with the message “Operation cannot be performed on a shared row.”

The SetValues call was made from a class that inherited DataGridViewRow.  The solution was to move the call out of the class (to my class that inherited the UserControl).

This article might hopefully help someone in the future with the same problem.


6.5 years later and no comment shows that I probably was alone with this problem. Or that my site doesn’t rate high enough.

Do inherit from your controls

Sep 11th, 2007

It is very easy to inherit from your controls in dotnet/VS.Net.  Just add a class and let it inherit from any Control.  That’s it!

To use it either reload the project (possibly the IDE) and drag it from the toolbox to the left.  This is only possible in VSNet2005 I think.  Or do as I, open the myclass.designer.cs file and edit the declaration in the bottom.  Recompile and edit the compiling error at the instantiation.  That’s it!

VSNet2005 does not interfere with your hacking of the .designer.cs file.  Unless you are building for WinCE that is.

Why inherit then?
There is really no need to do it all the time.
But keep it in your head so the moment you need some common functionality in your form you can put it in BaseForm.


Always inherit from the grid control.  There is a very good reason regarding type safety and differentiation of data and view for this.  I hope to write about this in a not to far future.


Hacking designer.cs in VSNet2008 for WindowsMobile(6.1) works alright but you will probably get an “InvalidCastException” and a pointer to  something like
The error is explained here and the solution is to just comment/delete the rows