Saturday, 22 December 2012

Copy forms between visual studio solutions

  1. Copy the three files, .cs, .designer, resx to the target solution folder.
  2. In the target project, select Add existing item and add the designer file first.
  3. Modify the Namespace attribute. The .cs file should come in as well.
  4. Modify the namespace in the .cs file.
  5. Add the resx file using Add existing item.

Sunday, 13 March 2011

Predicates in C#

myList = List<...>;

SomeObject desiredObject = myObjects.Find( o => o.Id == desiredId);




Tuesday, 2 November 2010

Eclipse Client Platform

The Eclipse client platform looks really inteesting. Here is a tutorial how to install and use it.

Saturday, 30 October 2010

Friday, 29 October 2010

Monday, 12 July 2010

Copy table from word to excel ...

I just had to convert a word table (nicely formatted with bullet list, etc.) into an excel table.

The native approach with Copy and Paste does not work as each bullet in the list results in an own cell in excel.

Approach:

1) Select the table in word
2) Replace '^p' with ';'
3) Replace '^l' with ';'
4) Format bullet list to no bullet list
5) Replace ';;' with ';' ...

Copy - Paste

Sunday, 11 July 2010

Learning to program excel with c#

After some time I figured out how to set ranges with row and column numbers.


            range = xlWorkSheet.get_Range(xlWorkSheet.Cells[r1, c1], xlWorkSheet.Cells[r2, c2]);

where r1, r2, c1, c2 are all integers
and xlWorkSheet is the worksheet under work

Saturday, 10 July 2010

Developing Sparx EA AddIn with Visual Studio 2010

After switching from VS 2008 to VS 2010 I had the problem that the debugger didn't break in the newly compiled addin. After trying around I came to the following solution:
- compile the add in
- start EA
- attach the debugger to EA
This picks a compatible version of the debugger (the default is the latest debugger).

Saturday, 15 May 2010

And another one on EA and OAW

Here is a link to a blog from Nirval with a few further details.

OAW and Enterprise Architect

components4oaw provides basic integration between Enterprise Architect from Sprax and Eclipse based OpenArchitectureWare.

Wednesday, 12 May 2010

Software Visualiation

Just cam accross this site which is all about the topic of software visualization.

Sunday, 11 April 2010