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

SQL code to upate one Legal entity banner to all the legal entity in D365

 Hi, update companyimage set  companyimage.Image  = companyimageA.Image  from  ( select Image from companyimage where dataAreaid = 'USF...