Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Tuesday, December 16, 2014

Code / Job to run any application from AX

Hi,

    static void AlfasithRunAnyApplication(Args _args)
    {
        WinAPI::shellExecute("D:\\Dynamic Netsoft Construction Suite V2.pptx");
        WinAPI::shellExecute("C:\\Users\\dns.amohamed\\Downloads\\Love Mash Up.mp3");
        // Here Application will wait till previous application opens / runs
    }

Regards,

No comments:

Post a Comment

How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...