It's quite interesting to open calculator, notepad or any Executable file through Axapta try this.......
static void exicuteExcs(Args _args)
{
;
WINAPI::shellExecute("cmd.exe");
WINAPI::shellExecute("notepad.exe");
WINAPI::shellExecute("calc.exe");
WINAPI::shellExecute("chrome.exe",'www.axaptacorner.blogspot.com');
}
static void exicuteExcs(Args _args)
{
;
WINAPI::shellExecute("cmd.exe");
WINAPI::shellExecute("notepad.exe");
WINAPI::shellExecute("calc.exe");
WINAPI::shellExecute("chrome.exe",'www.axaptacorner.blogspot.com');
}
Thanks! But, how I can open a document?
ReplyDelete