- Copy the three files,
.cs,.designer,resxto the target solution folder. - In the target project, select
Add existing itemand add the designer file first. - Modify the Namespace attribute. The
.csfile should come in as well. - Modify the namespace in the
.csfile. - Add the
resxfile usingAdd existing item.
Saturday, 22 December 2012
Copy forms between visual studio solutions
Tuesday, 22 March 2011
Sunday, 13 March 2011
Predicates in C#
myList = List<...>;
SomeObject desiredObject = myObjects.Find( o => o.Id == desiredId);
SomeObject desiredObject = myObjects.Find( o => o.Id == desiredId);
Sunday, 6 March 2011
Saturday, 19 February 2011
Saturday, 11 December 2010
Saturday, 20 November 2010
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
Type system with Xtext
I just saw the project regarding types
http://code.google.com/a/eclipselabs.org/p/xtext-typesystem/
http://code.google.com/a/eclipselabs.org/p/xtext-typesystem/
Friday, 29 October 2010
Saturday, 23 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
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]);
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).
- 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
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, 18 April 2010
Fuzzy seach
We are building an ontology ... it will be big ... I'm looking for software which can find similar words.
http://www.codeproject.com/KB/recipes/fuzzysearch.aspx
http://www.catalysoft.com/articles/MatchingSimilarStrings.html
http://alski.net/post/2007/09/16/0a-Porter-Stemmer-2-C-implementation0a-0a-.aspx
http://www.codeproject.com/KB/recipes/fuzzysearch.aspx
http://www.catalysoft.com/articles/MatchingSimilarStrings.html
http://alski.net/post/2007/09/16/0a-Porter-Stemmer-2-C-implementation0a-0a-.aspx
Sunday, 11 April 2010
Subscribe to:
Posts (Atom)