Blog

Name is Anant Dubey and the intent to create this blog is to discuss the problems and issues that developer face in the dynamics AX development and to share the new things that come up with the new version of AX.

Tuesday, 17 November 2015

How to call .exe (executable) file through code in ax 2012

Here I am calling .exe file through AX 2012. What I have done in this is created a Crystal report of AX and make it in .exe format. Now I am calling this through AX 2012 R3.

static void Callingcrystalreport(Args _args)
{
    WinAPI::shellExecute("D:\\BN\\WindowsFormsApplication2.exe");
}