Is it possible to call an exe from within X++? I need to print a barcode using an existing barcode print system which is probably best achieved by using a button and having the X++ Override method call the exe.
You can use shellExecute function in WinApi class. An example -
static void StartWinExplorer(Args _args)
Exe = “C:\WINDOWS\explorer.exe”;
DirOpen = “C:\Windows”;
WinApi::shellExecute( Exe, DirOpen );
Thanks. Easy really!