Thursday, July 5, 2012

How to open Executed file through Axapta

It's quite interesting to open calculator, notepad or any Executable file through Axapta try this.......

static void exicuteExcs(Args _args)
{
    ;
    WINAPI::shellExecute("cmd.exe");
    WINAPI::shellExecute("notepad.exe");
    WINAPI::shellExecute("calc.exe");
    WINAPI::shellExecute("chrome.exe",'www.axaptacorner.blogspot.com');

}

1 comment:

  1. Thanks! But, how I can open a document?

    ReplyDelete