how to Execute Application File In Dynamics Ax.

hi all,

how to Execute Exe File (Calc.exe and Other Program) In Dynamics Ax.

thanks all.

WinAPI::shellExecute() is the easiest way. You could also use System.Diagnostics.Process.Start() via .NET Interop.

thanks martin for help

void clicked() { FileName Exe; ; Exe =‘calc.exe’; WinApi::shellExecute(Exe); super(); }