Livet er vidunderligt RSS 2.0
# Monday, 13 June 2016
  • When you are coding, remember that you after for instars == can click the Tab key twice and in must cases the sentence will be completed.
  • IF you use ReSharper Alt+Ins generates code.
Monday, 13 June 2016 14:30:23 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Monday, 06 June 2016

<ItemsControl ItemsSource="{Binding Path=Customers, Mode=OneTime}"
             
AutomationProperties.AutomationId="CustomersItemsControl">
   
<ItemsControl.ItemTemplate>
       
<DataTemplate>
           
<TextBlock AutomationProperties.AutomationId="{Binding Path=Id, StringFormat='Customer_{0}', Mode=OneWay}"
                      
Margin="5">
               
<TextBlock.Text>
                   
<MultiBinding StringFormat="{}{1}, {0}">
                       
<Binding Path="FirstName" />
                       
<Binding Path="LastName" />
                   
</MultiBinding>
               
</TextBlock.Text>
           
</TextBlock>
       
</DataTemplate>
   
</ItemsControl.ItemTemplate>
</ItemsControl>

var itemscontrol = new WpfList(window);
itemscontrol
.SearchProperties[WpfList.PropertyNames.AutomationId] = "CustomersItemsControl";
itemscontrol
.WindowTitles.Add("MainWindow");

var count = itemscontrol.Items.Count(); // Returns the correct value!

 

http://www.codeproject.com/Questions/200959/How-to-get-AutomationID-or-name-or-unique-id-for-I

http://www.thinkfarahead.com/2010/07/assigning-automationids-dynamically-in.html

http://www.jonathanantoine.com/2011/11/03/coded-ui-tests-automationid-or-how-to-find-the-chose-one-control/

 

Monday, 06 June 2016 19:54:47 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Friday, 29 April 2016

101 gratis værktøjer til at kickstarte din iværksættervirksomhed

af | apr 28, 2016 | Online markedsføring, Værktøjer | 0 Kommentarer

Det behøver ikke at være dyrt at starte som iværksætter. Internettet er fyldt med masser af gratis værktøjer du kan benytte til at kickstarte den idé du altid har drømt om at realisere.

Gratis værktøjer kan være godt for nystartede eller små virksomheder, for at få gang i hjulene og gøre arbejdsopgaverne mere smart.

fx forbundet med marketing aktiviteter eller håndtering af intern kommunikation, kan et gratis værktøj anvendes til at nedsætte friktionen og få optimeret arbejdsgangene.

Træerne vokser dog ikke ind i himlen. Derfor kan en konstant fokus på at alting skal være gratis være med til at begrænse. Derfor er det vigtigt du er kritisk og konstant vurderer hvornår det er tid til at anvende en betalt løsning.

I følgende finder du 101 værktøjer til at hjælpe dig med at få endnu mere ud af de ressourcer du har og få gang i nye idéer.

Gratis hjemmeside

En godt designet hjemmeside kan få dig rigtig langt, så hvorfor ikke starte med at lave den gratis.

  • HTML5 UP: Kan du lave fuldt responsive hjemmesider i HTML5 og CSS3.
  • Bootswatch: Gratis templates bygget i bootstrap også til dig der vil lave en shopify webshop.
  • Templated: En samlig på ca. 845 gratis CSS & HTML5 templates.
  • WordPress.org | WordPress.com: Lav din nye hjemmesie med wordpress CMS. Jeg vil dog anbefale at du køber dit eget domæne og sætter det op ved at installere wordpress cms. Så brug kun WordPress.com hvis der er tale om en hobby blog.
  • Layers: En gratis wordpress-hjemmeside-bygger.
  • Bootstrap Zero: Verdens største open-source kollektion af gratis Bootstrap templates.

Er du ikke en naturtalent inden for design og branding? Eller har du ikke råd til Photoshop? Bare rolig så kan du bruge disse værktøjer til at lave dit nye logo.

Tip! Vil du have et gratis alternativ til photoshop? Så prøv gimp.org or getpaint.net. Disse værktøjer vil også kunne hjælpe dig til at skalere og modificere dit nye logo.

Gratis retshjælp?

Jura er vigtigt og nødvendigt, men advokater er dyre – særligt for en nystartet virksomheder. Bevæger din virksomhed sig på et engelsktalende marked, kan følgende værktøjer hjælpe dig med den rigtige jura.

  • Kiss: Gratis juridiske dokumenter for stiftere og investorer.
  • Docracy: En åben samling af gratis juridiske dokumenter.
  • Shake: Opret, underskriv og send juridisk bindende dokumenter på sekunder.

Driver du virksomhed i Danmark? kan du få gratis retshjælp hos copenhagenlegalaid.com og aarhusretshjaelp.dk.

Idé håndtering

Håndtering og udviklingen af din idé er vigtig. Er du en del af et team vil det at kunne samle jeres tanker omkring i hvilken retning idéen skal bevæge sig vigtig og nødvendigt.

Gratis navnegeneratorer

Det kan være drilsk at give sin iværksættervirksomhed det helt rigtige navn. Disse værktøjer kan hjælpe dig til at gøre det nemmere.

Gratis analyse af hjemmeside

En optimeret hjemmeside vil være nøglen til succes og synlighed i Google og overfor din målgruppe.

Gratis billedoptimering

Google er besat af hastighed og en af de mest almindelige syndere der trækker hastigheden ned på en hjemmeside, er for store billeder. Disse værktøjer kan hjælpe dig til at få dem ned i den helt rigtige størrelse.

Gratis billedredigering

Nogen gange kan det føles som om man skal bruge en doktorgrad for at kunne lave smukke unikke billeder. Men med disse billedredigeringsprogrammer kan alle finde ud af det.

  • Canva: Simpel grafisk design for bloggere.
  • Pixlr: Pixlr Editor robust browserbaseret redigeringsværktøj.
  • Skitch: Få din pointe til at brænde igennem.
  • Easel.ly: Nu kan alle lave simple og kreative billeder.
  • Social Image Resizer Tool: Lav billeder der er optimeret til sociale medier.
  • Placeit: Gratis produkt mockups og templates.
  • Recite: Lav et citat til et visuelt mesterværk.
  • Meme Generator: Den første meme generator.
  • Pablo: BRug under 30 sekunder på at lave billeder til sociale medier.

Gratis guides og kurser

At holde sig på opdateret med den nyeste viden og udvikle sine kompetencer er vigtigt uanset hvem man er. Det kan du gøre med disse værktøjer.

Gratis værktøjer til håndtering af sociale medier

Få styr på din fanbase på sociale medier og gør det nemt at kommunikere på tværs af platforme med disse værktøjer.

Gratis spørgeskemaundersøgelser

At holde sig opdateret på din målgruppes behov og ønsker er nødvendigt og vigtigt. At lave spørgeskemaer er af de mest anvendte værktøjer til at være opdateret.

  • Typeform: Lav smukke online undersøgelser.
  • Tally: Lav afstemninger i løbet af ingen tid.
  • Free Survey Creator: Få feedback fra dine forbrugere gratis.
  • Batch: Få engageret din målgruppe på mobile apps.
  • Helprace: Kundeserviceværktøj som er gratis for op til 3 brugere.

A/B split-testing og vækst-accelerering

For at accelerere din vækst og få mere ud af dine besøgende på din hjemmeside skal du i gang med at A/B split-testing.

Andet gratis

Ja nu går der lidt københavneri i den, men holder din virksomhed ikke til i hovedstadsområdet, så ta det som inspiration og søg efter lignende grupper i dit lokalområde.

Hvis du gerne vil møde en iværksætterrådgiver ansigt-til-ansigt, og du holder til i hovedstadsområdet, kan du deltage i Iværksætterhusets startupmøder.

Vil du udbygge dit netværk, så kan du deltage gratis i Iværksætter københavn. Et netværk for nyopstartede og små virksomheder. Her mødes medlemmerne gratis hinanden, til to møder hver eneste måned.

Vil du have flere gratis værktøjer? så se denne liste på over 400 gratis værktøjer, besøg growth.supply/free/all/.

Ikke alt der er gratis er guld

Ikke alt der er gratis blive ved med at være guld. I starten er alt der gratis en kærkommen mulighed for at få endnu mere ud af de ressourcer i har i jeres team – om du er alene eller en del af et team.

På et tidspunkt skal du være kritisk og begynde at vurdere om det er på tide at investere i betalte versioner af de værktøjer du anvender. Hvilket gælder over en bred kam om det er et billedredigeringsværktøj eller en netværksklub.

Så er det nødvendigt at konstant vurdere om en monetær (penge) investering i et (eller flere) værktøjer vil accelerere din vækst i virksomheden yderliger.

Friday, 29 April 2016 00:02:01 (Romance Daylight Time, UTC+02:00)  #    Comments [1] - Trackback
Finans | iværksættervirksomhed | Link | Software Development
# Tuesday, 19 April 2016

Har du problemer med START menuen.

Prøve følgende:

Windows tasten + x og vælg kommandoprompt (administrator)

1. Skriv-> dism /online /cleanup-image /restorehealth
"og tryk på enter, vent på kommandoen er færdig."

2. Skriv-> sfc /scannow
"og tryk på enter"

Husk mellemrummene i begge kommandoer.

Hvis dette ikke hjælper prøv:

1. tryk på Crtl+alt+Del og åben jobliste
2. tryk på filer -> start ny opgave -> Skriv msconfig og sæt flueben i boxen om administrative rettigheder.
3. Vælg Boot og Sikker start med netvæk.
4. Genstart computeren
5. Efter computer er genstartet, gentager du trin 1-2
6. Fjern flueben i sikker start og genstart

Hvis det stadig ikke løser problemet, prøv følgende:

1. Højreklik på start knappen
2. Kontrol panel
3. Fjern et program
4. Fjern antivirus programmet på computeren
5. Genstart og se om fejlen er væk


Windows tasten + x og vælg kommandoprompt (administrator)

Prøv at gå i alle apps og find Powershell.
Højreklik og kør som administrator.

Copy/paste dette ind

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Du skal muligvis genstarte pc når du har gjort dette.

Tuesday, 19 April 2016 09:29:12 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Tuesday, 11 March 2014

Incognito mode (browse in private)

For times when you want to browse the web without saving certain info you can use incognito mode in Google Chrome. Here's how incognito mode works:

  • Webpages that you open and files that you download while you're incognito aren't recorded in your browsing and download histories.
  • All new cookies are deleted after you close all incognito windows that you've opened.
  • Changes you make to your Google Chrome bookmarks and general settings while in incognito mode are still saved.

Tip: If you're using a Chromebook, you can use the guest browsing feature as an alternative to incognito mode.

You can have both incognito mode windows and regular windows open at the same time, and switch between the two.

Open an incognito window

  1. Click the Chrome menu Chrome menu on the browser toolbar.
  2. Select New incognito window.
  3. A new window will open with the incognito icon incognito icon in the corner.

You can also use the keyboard shortcuts Ctrl+Shift+N (Windows, Linux, and Chrome OS) and ⌘-Shift-N (Mac) to open an incognito window.

https://support.google.com/chrome/answer/95464?hl=en

 

Search anonymously.  Find instantly.

https://duckduckgo.com/

 

Tuesday, 11 March 2014 14:02:21 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Software Development
# Friday, 04 October 2013

Becaus StringFormat is required and target to is be a string type. You can get around this by either using a TextBlock instead (which has a Text property) or putting the Textblock as the child of the Label:

<Label x:Name="myLabel">
   
<Label.Content>
       
<TextBlock>
           
<TextBlock.Text> <MultiBinding StringFormat="{}{0} - {1}">
                   
<Binding Path="Lib1" />
                   
<Binding Path="Lib2" />
                
</MultiBinding>
           
</TextBlock.Text>
       
</TextBlock>
   
</Label.Content>
</Label>

Friday, 04 October 2013 12:18:37 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Sunday, 15 September 2013

Track Active Item

You can find that under Tools -> Options -> Projects and Solutions -> "Track Active Item in Solution Explorer".

Finally! Visual Studio natively supports jumping to the active document in the solution explorer with Visual Studio 2012. The command is called "Sync with Active Document" and can be accessed from the Solution Explorer toolbar.

SyncWithActiveDocument

The default shortcut is Ctrl+[, S and can be customised by modifying the SolutionExplorer.SyncWithActiveDocument command in keyboard options (Tools -> Customise -> Keyboard)

Active Document Sync

Active document sync is another new feature integrated in enhanced version of Solution Explorer. This navigates you to the active open document. Suppose, you have a open file in the editor window and now you want to go to the physical location of the file, you can just click the active sync button to easily navigate to that place.

Sunday, 15 September 2013 16:31:31 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Tuesday, 06 November 2012

Open CMD in elevated mode (run as administrator)

 

Type the following command:

slmgr.vbs -ipk PRODUCT KEY

slmgr.vbs –ato

 

ie:

slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Tuesday, 06 November 2012 10:35:15 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Software Development

Normally, a Windows 8 machine can be restarted by accessing the Settings screen by pressing WinKey+I (or by accessing Charms with WinKey+C and clicking the bottom Settings icon), then by clicking the Power button and selecting Restart / ShutDown from the menu that open.

 

Another way to access usually the restart options are to press Ctrl+Alt+Del , then click the Power button there and select Restart / Shut Down from the menu that opens. When connected via Remote Desktop, you can access the power button with Ctrl+Alt+End ( Ctrl+Alt+Del displays the lock screen on the host machine, not on the machine you’re connected to), but again Windows 8 offers there only the “”Disconnect” option (despite the tooltip on the button indicating Shut Down).

 

Another way to restart the computer: you can access the desktop (e.g. by pressing WinKey+D = Desktop, or WinKey+M = MinimizeAll), then press Alt+F4. This displays a Shut Down Windows dialog, where all the options are available! Ah, the good ol’ Desktop…

 

And, finally if you are a mouse person and prefer a one-click solution, you can create a shortcut to shutdown.exe, then right click it and pin the shortcut to the StartMenu. From now on you’ll be able to shutdown the machine by double clicking the icon on the Start screen or on desktop.

 

Shut down timed

Target: C:\windows\system32\shutdown.exe -s -t 20

 

Shut down timed

Target: C:\windows\system32\shutdown.exe -f Shutdown

 

Restart

Target: C:\windows\system32\shutdown.exe -r -f 

 

 

Press Alt+F4 on empty Desktop.

 

1.    on the tile page type RUN (select APPS on the top right) and click RUN, then enter:
shutdown -r -f Reboot
shutdown -f Shutdown

2.    Press ALT+F4 (i.e. close) and then select RESTART or SHUTDOWN

 

Remote Shutdown Command

Once we have mastered the crucial /s switch we can extend the Microsoft Shutdown command to act on remote machines.

Shutdown /s /m \\ComputerName

Note 1: I always get in a tangle with the /m (machine) switch. Pay close attention to its position (after /s or /r) and remember to introduce the victim machine with a double backslash \\ victim.

Note 2: Observe that there is no space between the backslashes and the computername
\\ ComputerName would not work.

Here is an example to restart a server called 'BigSrv'.

Shutdown /r /m \\BigSrv

 

Detailed Instructions to Create a Windows 8 Shutdown Tile

1.    Start on the Windows 8 desktop, or in a new folder - anywhere except in the Start Menu folder!

2.    Right-click, New, Shortcut. Paste this instruction:
C:\windows\system32\shutdown /s /t 20 (remember the space between t and 20)

3.    Name the shortcut after yourself, e.g. Guy's Shutdown, that way you will recognise it easily!

4.    Use Windows Explorer to navigate to the crucial folder:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs

5.    Paste the shortcut. You may wish to click on the advanced button and 'Run as administrator'.

6.    In passing you can see that it's not possible to create a new shortcut here.

7.    It's reassuring to see your shortcut amongst the other Apps.

8.    Return to the Metro UI start screen - Windows Key is the quickest way.

9.      Now, you may see your shortcut at the extreme right of the Metro screen. If not type the first letter, then you should see a list of Apps beginning with that letter. If yours is there, then Right-click its icon and see if it says Pinned or Unpinned, naturally you want it to be Pinned.

Tuesday, 06 November 2012 10:26:56 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Software Development
# Friday, 14 September 2012

class Person
{
    private string name;
    private int age;

    // Copy constructor.
    public Person(Person previousPerson)
    {
        name = previousPerson.name;
        age = previousPerson.age;
    }

    // Instance constructor.
    public Person(string name, int age)
    {
        this.name = name;
        this.age = age;
    }

    // Get accessor.
    public string Details
    {
        get
        {
            return name + " is " + age.ToString();
        }
    }
}

class TestPerson
{
    static void Main()
    {
        // Create a new person object.
        Person person1 = new Person("George", 40);

        // Create another new object, copying person1.
        Person person2 = new Person(person1);
        System.Console.WriteLine(person2.Details);
    }
}

[ComVisibleAttribute(true)]
public interface ICloneable

Account clonedAccount = new Account(currentAccount); // Deep or shallow?

Account clonedAccount = currentAccount.DeepClone();  // instance method
or
Account clonedAccount = Account.DeepClone(currentAccount); // static method

class CheckingAccount : Account
{
    CheckAuthorizationScheme checkAuthorizationScheme;
 
    public override Account DeepClone()
    {
        CheckingAccount clone = new CheckingAccount();
        DeepCloneFields(clone);
        return clone;
    }
 
    protected override void DeepCloneFields(Account clone)
    {
        base.DeepCloneFields(clone);
 
        ((CheckingAccount)clone).checkAuthorizationScheme = this.checkAuthorizationScheme.DeepClone();
    }
}

-------------------------------------------------------------------------------

    public class Employee:ICloneable
     {
         /// <summary>
         /// Gets or Sets the Employee ID
         /// </summary>
         public int EmployeeId { get; set; }
         /// <summary>
         /// Gets or Sets Employee Name
         /// </summary>
         public string EmployeeName { get; set; }
         /// <summary>
         /// Gets or Sets the Joining Date
         /// </summary>
         public DateTime JoiningDate { get; set; }
         /// <summary>
         /// Gets or Sets the DepartmentDetail object
         /// </summary>
         public DepartmentDetail Department { get; set; }
 
        ///

         /// Returns the Deep Copied object
         /// </summary>
         /// <returns></returns>
         public object Clone()
         {
             Employee employee = (Employee)this.MemberwiseClone();
             employee.Department = new DepartmentDetail();
             return employee;
         }
     }

Friday, 14 September 2012 11:12:17 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Friday, 13 July 2012
Friday, 13 July 2012 15:03:44 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Monday, 26 September 2011

public interface IService
{
    void DoIt(out string a);
}

[TestMethod]
public void Test()
{
    var service = new Mock<IService>();
    var a = "output value";
    service.Setup(s => s.DoIt(out a));

    string b;
    service.Object.DoIt(out b);
    Assert.AreEqual("output value", b);
}


[TestMethod]
public void TestForOutParameterInMoq()
{
    //Arrange
    var _mockParameterManager = new Mock<IParameterManager>();

    Mock<IParameter> mockParameter = new Mock<IParameter>();
    //Parameter affectation should be useless but is not. It's really used by Moq 
    IParameter parameter = mockParameter.Object;

    //Mock method used in UpperParameterManager
    _mockParameterManager.Setup(x => x.OutMethod(out parameter));

    //Act with the real instance
    UpperParameterManager.UpperOutMethod(out parameter);

    //Assert that method used on the out parameter of inner out method are really called
    mockParameter.Verify(x => x.FunctionCalledInOutMethodAfterInnerOutMethod(), Times.Once());

}

[TestMethod]
public void TestForOutParameterInMoq1()
{
    var mock = new Mock<IFoo>();
    // out arguments
    var outString = "ack"; // TryParse will return true, and the out argument will return "ack", lazy evaluated
    mock.Setup(foo => foo.TryParse("ping", out outString)).Returns(true);
    // ref arguments
    var instance = new Bar1(); // Only matches if the ref argument to the invocation is the same instance
    mock.Setup(foo => foo.Submit(ref instance)).Returns(true);
}

[TestMethod]
public void TestForOutParameterInMoq3()
{
    var mock = new Mock<IFoo>();
    mock.Setup(foo => foo.DoSomething("ping")).Returns(true);  
    // out arguments
    var outString = "ack";
    // TryParse will return true, and the out argument will return "ack", lazy evaluated
    mock.Setup(foo => foo.TryParse("ping", out outString)).Returns(true);
  
    // ref arguments
    var instance = new Bar1();
    // Only matches if the ref argument to the invocation is the same instance
    mock.Setup(foo => foo.Submit(ref instance)).Returns(true);  
   
    // access invocation arguments when returning a value
    mock.Setup(x => x.DoSomething(It.IsAny<string>())).Returns((string s) => s.ToLower()); // Multiple parameters overloads available  
    // throwing when invoked
    mock.Setup(foo => foo.DoSomething("reset")).Throws<InvalidOperationException>();
    mock.Setup(foo => foo.DoSomething("")).Throws(new ArgumentException("command");  
    // lazy evaluating return value
    mock.Setup(foo => foo.GetCount()).Returns(() => count);  
    // returning different values on each invocation var mock = new Mock<IFoo>();
    var calls = 0; mock.Setup(foo => foo.GetCountThing()).Returns(() => calls).Callback(() => calls++);
    // returns 0 on first invocation, 1 on the next, and so on
    Console.WriteLine(mock.Object.GetCountThing());

}

Monday, 26 September 2011 22:45:57 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Friday, 11 February 2011

After working with Privotal Tacker for some time the demands raised and a new tool was need, now I am using VersionOne that at the moment covers it all.

VersionOne

Privotal Tacker was excellent as starter of and agile project.

Pivotal Tracker

To manage your development process, use Pivotal Tracker, an agile planning tool that can be used on all of your projects. 

Friday, 11 February 2011 15:58:40 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Software Development
# Wednesday, 09 February 2011
# Sunday, 31 October 2010

I had the same problem and got it to work.

I first did the following:-

>Start>Settings>Control Panel>Administrative Tools>Services<

and stopp the ‘Nero Update Service’.
(This service might be renamed on some systems to
@C:\Programme\Nero\Update\NASvc.exe,-200)

Once the service is stopped open your internet browser and do the following:

1.) –> enter to the address field http://install10.nero.com/update10/content.xml
2.) –> refresh the Web Browser by holding the “SHIFT key” and using the “refresh page” function
3.) –> enter to the address field http://install10.nero.com/update10/content.md5
4.) –> again refresh the Web Browser by holding the “SHIFT key” and using the “refresh page” function
5.) –> restart Nero ControlCenter and check for updates again

The update should work as far as updates are available now.

Used internet explorer to to it (probably not important that it has to be that, just that sometime I've had to use it for things so tried it for that)

It allowed me to do a check for updates again.

I disabled the backitup agent

choose to update the control center by itself first. It installed. rebooted the computer.

Rechecked for updates, (disabled the agent again, as I forgot to stop it from launching at start up)

select backitup and let it go for a few minutes (about 2-3) and it downloads.

Sunday, 31 October 2010 12:24:19 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Software Development
# Wednesday, 25 August 2010

NUnit

// An STA thread will be created and used to run
// all the tests in the assembly
[assembly:RequiresSTA]

...

// TestFixture requiring a separate thread
[TestFixture, RequiresSTA]
public class FixtureRequiringSTA
{
  // An STA thread will be created and all
  // tests in the fixture will run on it
  // unless the containing assembly is
  // already running on an STA Thread
}

[TestFixture]
public class AnotherFixture
{
  [Test, RequiresSTA]
  public void TestRequiringSTA()
  {
    // A separate thread will be created for this test
// unless the containing fixture is already running
// in the STA.
  }
}

Wednesday, 25 August 2010 11:46:10 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Friday, 16 July 2010

An introduction to BDD can be found here.
A great tool for making BDD can be found at SpecFlow.

More will come later. 

Friday, 16 July 2010 08:22:18 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Link | Software Development
# Monday, 05 July 2010
<Style x:Key="HorizontalRadioButtonList" TargetType="{x:Type ListBox}">
    <Setter Property="Background" Value="Transparent"/>
    <Setter Property="ItemsPanel">
    <Setter.Value>
        <ItemsPanelTemplate>
        <VirtualizingStackPanel Background="Transparent" Orientation="Horizontal"/>
        </ItemsPanelTemplate>
    </Setter.Value>
    </Setter>
    <Setter Property="ItemContainerStyle">
    <Setter.Value>
        <Style TargetType="{x:Type ListBoxItem}" >
        <Setter Property="Margin" Value="5" />
        <Setter Property="Template">
            <Setter.Value>
            <ControlTemplate TargetType="{x:Type ListBoxItem}">
                <Border BorderThickness="0" Background="Transparent">
                <RadioButton Focusable="False"
                        IsHitTestVisible="False"
                        IsChecked="{TemplateBinding IsSelected}">
                    <ContentPresenter />
                </RadioButton>
                </Border>
            </ControlTemplate>
            </Setter.Value>
        </Setter>
        </Style>
    </Setter.Value>
    </Setter>
    <Setter Property="Control.Template">
    <Setter.Value>
        <ControlTemplate TargetType="{x:Type ListBox}">
        <Border BorderThickness="0" Padding="0" BorderBrush="Transparent" 
            
Background="Transparent" Name="Bd" SnapsToDevicePixels="True">          <ItemsPresenter SnapsToDevicePixels="{TemplateBinding
               UIElement.SnapsToDevicePixels}"
/>         </Border>      </ControlTemplate>     </Setter.Value> </Setter> </Style>
<ListBox Name="lbAchieved"
      Style="{StaticResource HorizontalRadioButtonList}"
      SelectedValue="{Binding Path=IsAchieved, Converter={StaticResource 
         nullableBooleanConverter}}"
     SelectedValuePath="Tag"> <ListBoxItem Tag="True">Yes</ListBoxItem> <ListBoxItem Tag="False">No</ListBoxItem> </ListBox>
Monday, 05 July 2010 23:05:16 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Wednesday, 30 June 2010

Now a new version for VS 2010 Snippet editor.

Export code as Code Snippet - Addin for Visual Studio 2008/2010 RC

The Snippet Designer is a plugin which enhances the Visual Studio 2008 IDE to allow a richer and more productive code snippet experience. Snippet Design

 

Wednesday, 30 June 2010 08:54:07 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Thursday, 03 June 2010
# Thursday, 06 May 2010

If you want to re-enable driver checking and remove the test mode message, just go into command prompt (run as administrator) and type the following:

bcdedit.exe -set loadoptions ENABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING OFF

Then reboot. :-)

Thursday, 06 May 2010 09:27:40 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Thursday, 22 April 2010

Pivotal Tracker

To manage your development process, use Pivotal Tracker, an agile planning tool that can be used on all of your projects. It is made publicly available at RailsConf 2008, try it :-) .

pivotaltracker

Thursday, 22 April 2010 09:23:49 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Monday, 28 September 2009

Description

The source code shows how to use Regular Expressions in C#. The code Functions written for Validation Alphabet, AlphaNumeric, Integer, Postive Integer, Floating point numbers. You just cut copy these functions and use in any program.

Explanation of Regular Expressions:

Regular expressions are used to search specified in the source string.

Examples:

Pattern#1
Regex objNotNaturalPattern=new Regex("[^0-9]");
Pattern#2 
Regex objNaturalPattern=new Regex("0*[1-9][0-9]*"); 

Pattern#1 will match for strings other than 0 to 9.^ symbol is used for Specifying not condition.[] brackets if we are to give range values such as 0 - 9 or a-z or A-Z 
eg. abc will return true

123 will return false.   

Pattern#2 will match for string which are Natural Numbers.Natural numbers Are numbers which are always greater than 0.The pattern 0* tells that a natural Number can be prefixed with any number of zero's or no zero's.the next [1-9] tells that it should contain atleast one number from 1 to 9 followed by any numbers of

0-9's 

Eg. 0007 returns true whereas 00 will return false. 

Basic things to be understood in RegEx: 

"*" matches 0 or more patterns
"?" matches single character
"^" for ignoring matches.
"[]" for searching range patterns.

More RegEx patterns in Next Article. 

Source Code:

// Source Code starts
using System.Text.RegularExpressions;
using System;

/*
<HowToCompile>
csc /r:System.Text.RegularExpressions.dll,System.dll Validation.cs
</HowToComplie>
*/
class Validation
{
    public static void Main()
    {
        String strToTest;
        Validation objValidate = new Validation();
        Console.Write("Enter a String to Test for Alphabets:");
        strToTest = Console.ReadLine();
        if (objValidate.IsAlpha(strToTest))
        {
            Console.WriteLine("{0} is Valid Alpha String", strToTest);
        }
        else
        {
            Console.WriteLine("{0} is not a Valid Alpha String", strToTest);
        }
    }
    // Function to test for Positive Integers.
    public bool IsNaturalNumber(String strNumber)
    {
        Regex objNotNaturalPattern = new Regex("[^0-9]");
        Regex objNaturalPattern = new Regex("0*[1-9][0-9]*");
        return !objNotNaturalPattern.IsMatch(strNumber) &&
        objNaturalPattern.IsMatch(strNumber);
    }
    // Function to test for Positive Integers with zero inclusive
    public bool IsWholeNumber(String strNumber)
    {
        Regex objNotWholePattern = new Regex("[^0-9]");
        return !objNotWholePattern.IsMatch(strNumber);
    }
    // Function to Test for Integers both Positive & Negative
    public bool IsInteger(String strNumber)
    {
        Regex objNotIntPattern = new Regex("[^0-9-]");
        Regex objIntPattern = new Regex("^-[0-9]+$|^[0-9]+$");
        return !objNotIntPattern.IsMatch(strNumber) && objIntPattern.IsMatch(strNumber);
    }
    // Function to Test for Positive Number both Integer & Real
    public bool IsPositiveNumber(String strNumber)
    {
        Regex objNotPositivePattern = new Regex("[^0-9.]");
        Regex objPositivePattern = new Regex("^[.][0-9]+$|[0-9]*[.]*[0-9]+$");
        Regex objTwoDotPattern = new Regex("[0-9]*[.][0-9]*[.][0-9]*");
        return !objNotPositivePattern.IsMatch(strNumber) &&
        objPositivePattern.IsMatch(strNumber) &&
        !objTwoDotPattern.IsMatch(strNumber);
    }
    // Function to test whether the string is valid number or not
    public bool IsNumber(String strNumber)
    {
        Regex objNotNumberPattern = new Regex("[^0-9.-]");
        Regex objTwoDotPattern = new Regex("[0-9]*[.][0-9]*[.][0-9]*");
        Regex objTwoMinusPattern = new Regex("[0-9]*[-][0-9]*[-][0-9]*");
        String strValidRealPattern = "^([-]|[.]|[-.]|[0-9])[0-9]*[.]*[0-9]+$";
        String strValidIntegerPattern = "^([-]|[0-9])[0-9]*$";
        Regex objNumberPattern = new Regex("(" + strValidRealPattern + ")|(" + strValidIntegerPattern + ")");
        return !objNotNumberPattern.IsMatch(strNumber) &&
        !objTwoDotPattern.IsMatch(strNumber) &&
        !objTwoMinusPattern.IsMatch(strNumber) &&
        objNumberPattern.IsMatch(strNumber);
    }
    // Function To test for Alphabets.
    public bool IsAlpha(String strToCheck)
    {
        Regex objAlphaPattern = new Regex("[^a-zA-Z]");
        return !objAlphaPattern.IsMatch(strToCheck);
    }
    // Function to Check for AlphaNumeric.
    public bool IsAlphaNumeric(String strToCheck)
    {
        Regex objAlphaNumericPattern = new Regex("[^a-zA-Z0-9]");
        return !objAlphaNumericPattern.IsMatch(strToCheck);
    }
}
// Source Code End

Monday, 28 September 2009 10:51:43 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Tuesday, 22 September 2009

TightVNC is a free remote control software package. With TightVNC, you can see the desktop of a remote machine and control it with your local mouse and keyboard, just like you would do it sitting in the front of that computer. TightVNC is: TightVNC 

RealVNC provides remote control software which lets you see and interact with desktop applications across any network. VNC

Tuesday, 22 September 2009 08:56:45 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Link | Software Development
# Thursday, 27 August 2009

Mail:

Resound WebMail

SurfTown

Google Mail

Cybercity

Forum Mail

 

NetWorking:

LinkedIn

Plaxo

Facebook

Ofir

 

 

Messinger:

MS Messenger

Yahoo

MSN

 

 

 

Ingeniør:

Ida

Iak

Lic

Ingeniøren

 Version2

 

MSDN:

MSDN DK

MSDN

VStudio

 

 

 

Blade:

FDM

 

 

 

 

 

Code:

Snippet Design

Power Commands

CodeProject

 

 

 

Transport:

Movia

ByensPuls

Metro

Rejseplanen

DSB

 

 

Trafikken

TrafikkenCar

 

 

 

 

 Div

Batterier 

 

 

 

 

 

Thursday, 27 August 2009 15:00:44 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Link | Software Development
# Monday, 17 August 2009
# Thursday, 16 July 2009
# Tuesday, 14 July 2009

Tired of querying in antiquated SQL?
Well, you don't have to!  LINQPad lets you interactively query SQL databases in a modern query language: LINQ.  Kiss goodbye to SQL Management Studio! Find LINQ her

Tuesday, 14 July 2009 09:33:12 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Monday, 13 July 2009

Watch these free Microsoft Expression videos whenever and from wherever you want. -> the site

Monday, 13 July 2009 14:40:32 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development | Video redigering
# Tuesday, 07 July 2009

Silverlight files on the server  – remember to add the MIME types in the controlpanel:

File Name      MIME type

  • .xap      application/x-silverlight-app
  • .xaml    application/xaml+xml
  • .xbap    application/x-ms-xbap
  • Tuesday, 07 July 2009 09:28:18 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Saturday, 20 June 2009

    Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5
    Pro C# 2008 and the .NET 3.5 Platform
    Pro ASP.NET 3.5 in C# 2008
    Pro LINQ: Language Integrated Query in C# 2008

    Windows Presentation Foundation Unleashed
    http://www.amazon.co.uk http://www.apress.com/ 

    Find books at bogpriser or e-lounge

    Other books at forlaget 

    Saturday, 20 June 2009 15:11:14 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Wednesday, 17 June 2009

    FxCop is a code analysis tool that checks .NET managed code assemblies for conformance to the Microsoft .NET Framework Design Guidelines. It uses MSIL parsing, and callgraph analysis to inspect assemblies for more than 200 defects in the following areas: download

    FxCop includes both GUI and command line versions of the tool and supports analyzing .NET 1.x, .NET 2.0 and .NET 3.x components.

    Wednesday, 17 June 2009 13:53:11 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Link | Software Development
    # Monday, 15 June 2009

    The Photo Browser can be found her server and client example.

    Monday, 15 June 2009 13:38:20 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development | Video redigering
    # Thursday, 11 June 2009

    Mbunit test from gallio a test framework for .Net

    Thursday, 11 June 2009 11:29:13 (Romance Daylight Time, UTC+02:00)  #    Comments [1] - Trackback
    Software Development
    # Wednesday, 03 June 2009

    You can install PowerCommands for Visual Studio 2008 her

    It gives you a lot of options:

    ·  Collapse Projects
    This command collapses a hierarchy in the solution explorer starting from the root selected node. It can be executed from three different places: solution, solution folders and project nodes respectively.

    ·  Copy References
    This command copies a reference or set of references to the clipboard. It can be executed from the references node, a single reference node or set of reference nodes.

    ·  Paste References
    This command pastes a reference or set of references from the clipboard. It can be executed from different places depending on the type of project. For CSharp projects it can be executed from the references node. For Visual Basic and Website projects it can be executed from the project node.

    ·  Copy As Project Reference
    This command copies a project as a project reference to the clipboard. It can be executed from a project node.

    ·  Edit Project File
    This command opens the MSBuild project file for a selected project inside Visual Studio. It can be executed from a project node.

    ·  Open Containing Folder
    This command opens a Windows Explorer window pointing to the physical path of a selected item. It can be executed from a project item node

    ·  Open Command Prompt
    This command opens a Visual Studio command prompt pointing to the physical path of a selected item. It can be executed from four different places: solution, project, folder and project item nodes respectively.

    ·  Remove and Sort Usings
    This command removes and sort using statements for all classes given a project. It can be executed from a solution node or a single project node.

    ...

    Wednesday, 03 June 2009 19:30:46 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Tuesday, 02 June 2009

    Linux When you develop a program, usually, one of the last steps is to make it as fast as possible (but still correct). You don't want to waste your time optimizing functions rarely used. So you need to know in which part of your program most of the time is spent. Kcachegrid

    Windows AQtime is AutomatedQA’s award-winning performance profiling and memory and resource debugging toolset for Microsoft, Borland, Intel, Compaq and GNU compilers. AutomatedQA

    Tuesday, 02 June 2009 10:44:56 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Friday, 29 May 2009

    GhostDoc GhostDoc is a free add-in for Visual Studio that automatically generates XML
    documentation comments for C#. Either by using existing documentation inherited
    from base classes or implemented interfaces, or by deducing comments from
    name and type of e.g. methods, properties or parameters.

    F#  is a functional programming language for the .NET Framework. It combines the succinct, expressive, and compositional style of functional programming with the runtime, libraries, interoperability, and object model of .NET

    CodeRush CodeRush Xpress is freely available to all Visual Studio 2008 developers and offers a comprehensive suite of tools that enable you and your team to simplify and shape complex code - making it easier to read and less costly to maintain.

    Friday, 29 May 2009 14:46:27 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Thursday, 28 May 2009

    dnAnalytics is an open source numerical library for the .NET Framework and Mono.

    An other matthlib is extremeoptimization her

    Mathematical software can be very expensive. Programs like Mathematica, Maple and Matlab are incredibly powerful, flexible and usually well documented and supported.

    Valuable mentions are:

    Thursday, 28 May 2009 11:20:49 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Tuesday, 05 May 2009

    Redistributable Primary Interop Assemblies for MS Office

    Office 2003 Office 2007 or Excel Programming or Visual Studio Tools for the Microsoft Office system

    Office Runtime System C# Code examples

    Tuesday, 05 May 2009 09:28:20 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Office tips | Software Development
    # Saturday, 02 May 2009
    Saturday, 02 May 2009 21:15:14 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development | Video redigering
    # Wednesday, 29 April 2009
    # Friday, 24 April 2009

    Stream video live from your mobile to the web at Bambuser.

    Friday, 24 April 2009 13:59:23 (Romance Daylight Time, UTC+02:00)  #    Comments [1] - Trackback
    Software Development | Video redigering
    # Friday, 17 April 2009

    Mr. Bool it’s a web site dedicated exclusively for software developers. Today
    most part of the content is focused to .Net.

    The freshness of Mr.Bool is that 90% of the content is in the form of video
    lessons. They already have more than 280 videos and every month we produce more 20 new videos.

    And this material is totally free at there website! This website is helping a lot
    of developers and they would like to help so much more.
    Take a look at Mr. Boo and know a little bit more about tour services. I am sure that you’re going to like it too!

    *281 video tutorials
    *4 online courses
    *44 articles

    http://www.mrbool.com

    Friday, 17 April 2009 09:10:43 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Monday, 16 March 2009

    Download this program to record streamed video with screen capture. CamStudio

    CamStudio is able to record all screen and audio activity on your computer and create industry-standard AVI video files and using its built-in SWF Producer can turn those AVIs into lean, mean, bandwidth-friendly Streaming Flash videos (SWFs).

    Monday, 16 March 2009 10:20:59 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development | Video redigering
    # Monday, 09 March 2009
    Monday, 09 March 2009 20:37:06 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development
    # Monday, 02 March 2009

    Run in the command to reset the windows/settings of VS2008:
    devenv.exe /ResetSettings
    devenv.exe /ResetSettings "C:\My Files\MySettings.vssettings"
    devenv.exe /resetuserdata

    MSDN

    In VS2008 you can use the menu: Tools / Import and Export Settings here you can also Reset,Export or Import enviroment settings.

    Monday, 02 March 2009 12:04:25 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development
    # Friday, 30 January 2009

    The articel and conde can be found her.

    Friday, 30 January 2009 08:52:03 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Link | Software Development
    # Thursday, 08 January 2009

    Use WinMerge as ClearCase diff-tool

    Are you tired of ClearCase' own XML diffing tool? It takes it 15 minutes to compute the differences for a Secura2 manifest file.
    You can install WinMerge from: http://winmerge.org/

    Then you can change ClearCase's mappings:
       
    Go to folder C:\Program Files\Rational\ClearCase\lib\mgrs

    Open the file map and change some lines:
    ;text_file_delta  compare    ..\..\bin\cleardiff.exe
    text_file_delta compare C:\Program Files\WinMerge\WinMergeU.exe
    ;text_file_delta  xcompare   ..\..\bin\cleardiffmrg.exe
    text_file_delta xcompare C:\Program Files\WinMerge\WinMergeU.exe

    ;_xml   compare    ..\..\bin\cleardiff.exe
    _xml   compare    C:\Program Files\WinMerge\WinMergeU.exe
    ;_xml   xcompare   ..\..\bin\xmldiffmrg.exe
    _xml   xcompare   C:\Program Files\WinMerge\WinMergeU.exe


    Then restart your PC.

    Thursday, 08 January 2009 10:14:08 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development
    # Saturday, 22 November 2008

    Udbyder

                                 SMTP server

                                  News server

    TeleDanmark

    mail.tele.dk

    news.tele.dk

    TeleDanmark

    smtp.mail.dk

    smtp.mail.dk

    DanBBS

    sendmail.danbbs.dk

    news.danbbs.dk

    WorldOnline/Tiscali

    smtp.worldonline.dk

    news.worldonline.dk

    CyberCity

    smtp.cybercity.dk

    news.cybercity.dk

    Wanadoo/Mobilix

    mail.mobilixnet.dk

    news.mobilixnet.dk

    Get2Net

    smtp.get2net.dk

    news.get2net.dk

    Saturday, 22 November 2008 07:36:14 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development | Link
    # Saturday, 18 October 2008
    # Friday, 12 September 2008
    # Monday, 19 May 2008

    Her kan man finde en beskrivelse af nyhederne i C#3.0 i forhold til C#2.0

    MSDN guide eller Winsmarts

    Monday, 19 May 2008 15:04:28 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Thursday, 15 May 2008

    Windows Presentation Foundation Unleashed

    Link to the Code in the book: http://www.adamnathan.net/wpf/

    Thursday, 15 May 2008 10:41:29 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Wednesday, 30 April 2008
    # Monday, 21 April 2008

    70-536 exam

    https://msevents.microsoft.com/cui/r.aspx?r=1296501042&c=en-US&t=2.

    Also wikibooks on 70-536
    http://en.wikibooks.org/wiki/.NET_Development_Foundation
    http://www.microsoft.com/learning/exams/70-536.

    Look at this page:

    http://www.microsoft.com/learning/exams/70-536.mspx

    Ranking the topics by the percentage a given subject is adressed in the exam:

    1. [20%] Improving the security of the .NET Framework applications by using the .NET Framework 2.0 security features
    2. [18%] Implementing serialization and input/output functionality in a .NET Framework application (18 percent)
    3. [15%] Developing applications that use system types and collections (15 percent)
    4. [14%] Embedding configuration, diagnostic, management, and installation features into a .NET Framework application (14 percent)
    5. [11%] Implementing service processes, threading, and application domains in a .NET Framework application (11 percent)
    6. [11%] Implementing interoperability, reflection, and mailing functionality in a .NET Framework application (11 percent)
    7. [11%] Implementing globalization, drawing, and text manipulation functionality in a .NET Framework application (11 percent)

    So security is very important.

    http://support.microsoft.com/kb/923018/en-us

    http://support.microsoft.com/kb/935218/en-us

    Monday, 21 April 2008 09:19:05 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Wednesday, 16 April 2008
    1) Never invoke any method or property on a control created on another thread other than Invoke, BeginInvoke, EndInvoke or CreateGraphics, and InvokeRequired.
    2) Never execute a long-running piece of code in the UI thread.

    Check this link http://www.yoda.arachsys.com/csharp/threads/winforms.shtml 

    Wednesday, 16 April 2008 11:13:59 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Monday, 14 April 2008

    There are many commonly performed operations that can take a long time to execute. For example:

    • Image downloads

    • Web service invocations

    • File downloads and uploads (including for peer-to-peer applications)

    • Complex local computations

    • Database transactions

    • Local disk access, given its slow speed relative to memory access

    On MSDN http://msdn2.microsoft.com/en-us/library/8xs8549b.aspx

    Monday, 14 April 2008 12:52:27 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Tuesday, 01 April 2008

    feature.xml

    <Feature  Id="{C37DAC81-90F4-4c5a-9CB3-B8A5F9923D6C}"
              Title="My First Feature"
              Description="My First Feature web"
           ImageUrl="MYX.jpg"
              Version="1.0.0.0"
              Scope="Web"
              DefaultResourceFile="core"
              Hidden="FALSE"
              xmlns="http://schemas.microsoft.com/sharepoint/">
        <ElementManifests>
            <ElementManifest Location="Elements.xml"/>
        </ElementManifests>
    </Feature>

    Elements.xml

    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
     <CustomAction
            Id="hvadsomhelst"
            Location="Microsoft.SharePoint.StandardMenu"
            GroupId="SiteActions"
            Title="Gaa til Tivoli"
         Description="Bimmelem"
            Sequence="10">
            <UrlAction
       Url="http://www.tivoli.dk" />
        </CustomAction>
     <CustomActionGroup
            Id="MyActionGroup"
            Location="Microsoft.SharePoint.SiteSettings"
            Title="MyActionGroup_Title"
            Sequence="60" />
     <CustomAction
            Id="ServiceAccount"
            GroupId="MyActionGroup"
            Location="Microsoft.SharePoint.SiteSettings"
            Sequence="10"
            Title="Gaa til Tivoli">
      <UrlAction
                Url="http://www.tivoli.dk" />
     </CustomAction>
    </Elements>

    kursus 31.doc (56 KB) kursus 31.htm (22,28 KB)
    Tuesday, 01 April 2008 12:04:04 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Monday, 31 March 2008

    Path der er vigtige:

    C:\Program Files\Microsoft Office Servers\EXE

    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12  “the 12 hive”

    C:\Program Files\Common Files\Microsoft Shared\web server extensions

    C:\Program Files\Microsoft Office Servers

     

    Brugere på en share point server:

    Alt på en maskine 50 – 100 brugere.

    WFE + SQL 100-500 brugere.

    Mere en 500 skal bruge en FARM….

     

     

    Host header name eks. = www.dr.dk  eller ”intranet.local”

    Applikation pool 8 til 12.

     

    SPFARM

    SPWebApplication

    SPSite  ”Collection”
       
    SPWeb “TopLevelWebSite” er den øverste på SPSide.

     

    SiteAdminstration                 SiteCollectionAdministration

        SiteFeatures                         SiteCollectionFeatures

     

     

    Root = Portalen = http://intranet.local

     

    TopLevelWebSite

    Manage path = http://intranet.local/salg eller http://intranet.local/kunder eller http://intranet.local/test

     

    SiteCollection = top level web side + flerer sup webs + sup webs

     

     

    SiteCollection kan være en DB.

     

    Ændringer i collection er til alle web i collection.

    SiteAdm. Ænder kun på de enkelte web.

     

    Scope kan værer Farm/ WebApp/side/web

     

    En feature består af en feature.xml fil og/eller et manifest:

    XML:

    <Feature  Id="43F41342-1A37-4372-8CA0-B44D881E4434"

              Title="SharePoint Portal Server Business Appications Content Type Definition"

              Description="SharePoint Portal Server Business Appication content type definitions"

              ImageUrl=”x.jpg”

              Version="12.0.0.0"

              Scope="Site"

              SolutionId="7ED6CD55-B479-4EB7-A529-E99A24C10BD3"

              DefaultResourceFile="core"

              Hidden="TRUE"

              ReceiverAssembly="Microsoft.Office.DocumentManagement.DocSite, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"

             ReceiverClass="Microsoft.Office.DocumentManagement.DocSite.SetupDocSiteFeatureReceiver"

              xmlns="http://schemas.microsoft.com/sharepoint/">

        <ElementManifests>

            <ElementManifest Location="ctypes_bizapps.xml"/>

        </ElementManifests>

        <ActivationDependencies>

            <ActivationDependency FeatureId="E978B1A6-8DE7-49d0-8600-09A250354E14" />  

            <ActivationDependency FeatureId="14AAFD3A-FCB9-4bb7-9AD7-D8E36B663BBD" />  

            <ActivationDependency FeatureId="5F3B0127-2F1D-4cfd-8DD2-85AD1FB00BFC" />  

            <ActivationDependency FeatureId="2ED1C45E-A73B-4779-AE81-1524E4DE467A" />  

            <ActivationDependency FeatureId="C88C4FF1-DBF5-4649-AD9F-C6C426EBCBF5" />

            <ActivationDependency FeatureId="4248E21F-A816-4c88-8CAB-79D82201DA7B" />

            <ActivationDependency FeatureId="43F41342-1A37-4372-8CA0-B44D881E4434" />

            <ActivationDependency FeatureId="5A979115-6B71-45a5-9881-CDC872051A69" />

            <ActivationDependency FeatureId="3CB475E7-4E87-45Eb-A1F3-DB96AD7CF313" />

        </ActivationDependencies>

    </Feature>

     

     

    Monday, 31 March 2008 22:40:12 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    # Thursday, 06 March 2008

    Creating Mathematics inside Microsoft Word
    http://spot.pcc.edu/~ssimonds/thisandthat/msword.htm

    SiteScape og Internet Explorer 7
    http://www.hd-fjern.dk/ie.htm

     

    Thursday, 06 March 2008 09:51:57 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development
    # Sunday, 02 March 2008
    # Thursday, 07 February 2008

    If you want to debug microsoft framework code: (Its interesting to see how they have implemented things)
    http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx

    Here is a debugging demo if you want to learn how to debug hangs (.net)
    http://blogs.msdn.com/tess/pages/net-debugging-demos-information-and-setup-instructions.aspx

    Thursday, 07 February 2008 09:16:55 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development
    # Monday, 19 November 2007
    # Friday, 02 November 2007

    Acropolis er ”composite application development” for WPF.
    Det er et Microsoft project som i øjeblikket er i Community Technology Preview.

    <http://windowsclient.net/Acropolis/Default.aspx >

    /Mads   

    Friday, 02 November 2007 13:21:42 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development

    I have collected the references to various tools mentioned on the extra day on our course on TI (Morten Mertner - http://codeworks.eu) October 30, 2007.
     
    Test framework
    Visual Studio Team Edition offers unit tests and build facilities
    Alternative packages for building:
    CruiseControl.NET (http://ccnet.thoughtworks.com/)
    Alternative packages for testing:
    MBUnit (http://www.mbunit.com/) (can declare test dependencies)
    NCover (http://ncover.org/)
    TestWin .Net
    MSTest
    XUnit
    "Rhino Mocks" is a framework for creating mock-up classes.
    http://www.ayende.com/projects/rhino-mocks.aspx

    Installation Tools
    WiX (Microsoft open source) (http://wix.sourceforge.net/)
    NSIS

    Windows Presentation Framework (WPF)
    Book chapter on WPF:
    http://www.theserverside.net/tt/articles/showarticle.tss?id=WPFUnleashedBook&id=DomainDrivenDesign
    Article on WPF:
    http://msdn2.microsoft.com/en-us/library/ms754130(VS.90).aspx
    Acropolis is ”composite application development” for WPF.
    It is a Microsoft project, which currentlu is in Community Technology Preview.
    http://windowsclient.net/Acropolis/Default.aspx
    WPF download (requires .NET 3.0):
    http://www.microsoft.com/downloads/details.aspx?familyid=f54f5537-cc86-4bf5-ae44-f5a1e805680d&displaylang=en

    Composite Application Block (CAB)
    It is a framework for decoupled application development.
    http://msdn2.microsoft.com/en-us/library/aa546409.aspx
    Smart Client Guidance Community Site
    http://www.codeplex.com/smartclient
    Code Generation Criticism
    http://andersnoras.com/blogs/anoras/archive/2007/02/24/software-factories-another-unlearned-ejb-lesson.aspx
     
    Code assistance
    ReSharper (Intelligent Add-In To Visual Studio)
    http://www.jetbrains.com/resharper/
    Company license: $349
     
    /Gorm

    Friday, 02 November 2007 12:36:20 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
    Software Development
    # Wednesday, 27 June 2007

    This is the place to blog about C#, C++, .Net, ASP and Web development.

    Wednesday, 27 June 2007 10:28:26 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Software Development
    Archive
    <2017 September>
    SunMonTueWedThuFriSat
    272829303112
    3456789
    10111213141516
    17181920212223
    24252627282930
    1234567
    About the author/Disclaimer

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright 2017
    Christian R. Glinnum
    Sign In
    Statistics
    Total Posts: 128
    This Year: 0
    This Month: 0
    This Week: 0
    Comments: 16
    Themes
    All Content © 2017, Christian R. Glinnum
    DasBlog theme 'Business' created by Christoph De Baene (delarou)