Terje Isaksen Developer blog

2013-02-18 (Monday)

Apps for Android

Filed under: Developing — Terje Isaksen @ 12:55

Using C# – Mono



2013-01-11 (Friday)

Sending email through smtp-server

Filed under: Developing — Terje Isaksen @ 17:46

Well, you have to have access to a smtp-server of course.


If not – you can use Gmail, maybe:


Or this (not tested):


2012-10-24 (Wednesday)

Win 8 tile style web

Filed under: Developing — Terje Isaksen @ 08:43
Tags: ,



“Simple and flexible HTML, CSS, and Javascript for web apps that wants to use the “Windows 8 MetroUI” style, without the need to run on Windows 8.”

Have not tried yet, but looks interesting!


2012-10-09 (Tuesday)

At last: a new compiler for Pascal

Filed under: Developing — Terje Isaksen @ 09:48


“Lazarus is the class libraries for Free Pascal that emulate Delphi. Free Pascal is a GPL’ed compiler that runs on Linux, Win32, OS/2, 68K and more. Free Pascal is designed to be able to understand and compile Delphi syntax, which is of course OOP. Lazarus is the part of the missing puzzle that will allow you to develop Delphi like programs in all of the above platforms. Unlike Java which strives to be a write once run anywhere, Lazarus and Free Pascal strives for write once compile anywhere. Since the exact same compiler is available on all of the above platforms it means you don’t need to do any recoding to produce identical products for different platforms.”

2012-10-08 (Monday)

Live tiles without Win 8

Filed under: Developing — Terje Isaksen @ 09:19


Interesting solution if you like Live Tiles in Windows 8 but doesn´t want to install Windows 8.

2011-06-23 (Thursday)

600+ different programming languages

Filed under: Developing — Terje Isaksen @ 12:58


Every language from A+ to ZZT

One C# version is:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _99Bottlez
    class Program
        static void Main(string[] args)
            int countOfBottles = 10;
            string lineTemplate = @"{X} bottles of beer on the wall, {X} bottles 
                                  of beer. Take one down and pass it around, {Y} 
                                  bottles of beer on the wall.";

            string lastLine =  @"No more bottles of beer on the wall, no more   
                               bottles of beer.Go to the store and buy some 
                               more, {X} bottles of beer on the wall.";

            List<string> songLines = new List<string> ();
            Enumerable.Range(1, countOfBottles)
                 (c => songLines.Add(lineTemplate.Replace("{X}", 
                 c.ToString()).Replace("{Y}", (c-1)!=0?(c - 1).ToString():@" No 
                 more bottles of beer on the wall.")));

            //Add the last line
            songLines.Add(lastLine.Replace("{X}", countOfBottles.ToString()));

            songLines.ForEach(c => Console.WriteLine(c));

2011-06-21 (Tuesday)

Excel tips and tricks

Filed under: Developing — Terje Isaksen @ 14:40

New function in Excel 2007:

=IFERROR(expression; safevalue)

If something is wrong, giving #ERROR och #VALUE – the safevalue is used. Combination of IF() and ISERROR()

To prevent user from saving workbook:

Private Sub Workbook_BeforeSave (ByVal SaveAsUI As Boolean, Cancel As Boolean) 
    '  Following line will prevent all saving
    Cancel = True
    '  Following line will prevent the Save As Dialog box from showing
    If SaveAsUI then SaveAsUI = False
End Sub

Source: http://www.ozgrid.com/forum/showthread.php?t=26224&p=133079#post133079

To be able to save this anyway, go to Developer tab and click on Design Mode – then macros will not run, and you are able to save.

2010-11-05 (Friday)

WCF: Tutorial

Filed under: Developing — Terje Isaksen @ 17:04



2010-09-08 (Wednesday)

C#: String formats.

Filed under: Developing — Terje Isaksen @ 14:50

Excellent overview at:

2010-05-05 (Wednesday)

Facebook: How to develop applications

Filed under: Developing — Terje Isaksen @ 11:49
Tags: ,
This is icon for social networking website. Th...

Image via Wikipedia

See informative text on:
Stevetrefethens blog



« Previous PageNext Page »

Create a free website or blog at WordPress.com.