How to open executable file in Microsoft dynamics axapta through code


How to open executable file from dynamics axapta through code
If you want to open exe file from dyanmics axapta application then you can write following line in your form on any event where you want. just put following code with correct path of exe file.

WinAPI::shellExecute(path of the file);