How to run .exe files in AX
Today I will demonstrate you that how to call .exe files in AX 2012 through code.
static void Job2(Args _args)
{
WinAPI::shellExecute("C:\\Users\\calc.exe");
}
static void Job2(Args _args)
{
WinAPI::shellExecute("C:\\Users\\calc.exe");
}
Note:- WinAPI::shellExecute() is the class and method through which we can execute any .exe file in AX.
Comments
Post a Comment