Pages

Wednesday, September 23, 2009

Implement WorkSheet.Copy in \Classes\SysExcelWorksheet

This is how the method should be implemented:
public void copy(SysExcelWorksheet _before = null, SysExcelWorksheet _after = null)
{
    anytype before, after;
    ;

    if (_before)
        before = _before.comObject();
    else
        before = COMArgument::NoValue;

    if (_after)
        after = _after.comObject();
    else
        after = COMArgument::NoValue;

    worksheet.copy(before, after);
}

Thursday, September 10, 2009

Getting "Runas" back into your life

When testing different uses scenarios on AX, I usually use "Run as..." to open a client as another user. That option is removed from a lot of programs in Windows 2008 (and Vista) and typically won't work on AX configuration files (axc).

I (or actually Google) found this tip on "Norm's PerformancePoint Server blog", on how to get RunAs back:
http://blogs.msdn.com/normbi/archive/2008/04/26/adding-runas-back-into-vista-and-windows-2008.aspx