21 October 2009

Extend "Team Members" features in Team Explorer - Visual Studio 2008

If you need more Information about Team Members and their activitys in TFS check the Team Foundation Server Power Tools. They contain enhancements, tools and command-line utilities to get more out of the TFS. A very nice Feature ist the Team Members Node where you can see what your Team is doing and what they have checked in. Check this Post for a detailed information.

Visual Studio 2010 - Beta 2

Visual Studio 2010 and .NET Framework 4 Beta 2 is ready for download:


09 October 2009

Create a new Numbersequence for an existing Module

Although there are some good post about this online I post another short instruction bout "How to create a NumberSequence" here:
  1. create an EDT - in this Example we call it MyNewNumberSeqId
  2. Edit the loadModule Method of the NumberSeqReference_... Class of your Module add this code
    numRef.DataTypeId              = typeId2ExtendedTypeId(typeid(MyNewNumberSeqId));
    numRef.configurationKeyId      = configurationkeynum(ABCBasic);
    numRef.ReferenceHelp           = literalstr("@ABC123");
    numRef.WizardContinuous        = true;
    numRef.WizardManual            = NoYes::No;
    numRef.WizardAllowChangeDown   = NoYes::No;
    numRef.WizardAllowChangeUp     = NoYes::No;
    numRef.SortField               = 1;
  3. create a new method in the ParametersTable of the Module - For Example SalesParameters
    public client server static NumberSequenceReference numRefMyNewNumberSeqId()
        return NumberSeqReference::findReference(typeId2ExtendedTypeId(typeid(MyNewNumberSeqId)));
  4. done
to use this NumberSequence create a numberSeq object and call its num method. I often call this method in the insert of the Datasource in which the NumberSequence is used:
public void insert()
    NumberSeq  numberSeq;
    if (this.MyNewNumberSeqId== "")
        numberSeq = NumberSeq::newGetNum(SalesParameters::numRefMyNewNumberSeqId());
        this.MyNewNumberSeqId= numberSeq.num();

Dynamics AX, BING & Language Translation from Arijit Basu

Found this interesting Post on Arijit Basus Blog:

Microsoft Dynamics AX: Dynamics AX, BING & Language Translation - Arijit Basu | Dynamics AX MVP

In this Post Arijit Basu describes how to interact with the BING Translation API to translate text in AX. Nice Idea :)

06 October 2009

View deleted Objects in Source Control Explorer of Team Foundation Server

If you need to undeleted an Item that has been deleted on TFS you need to enable the checkbox "Show deleted items in the Source Control Explorer" which can be found in the Options: Tools > Options > Source Control > Visual Studio Team Foundation.

Now you can see deleted Items in the Source Control Explorer. If you need to undelete one of them, just right click and selct undelete on this item. This change must be checked in than.