Hi, I have a small problem with the AOS run mode in Axapta 3.0 sp3. When i run axapta in direct mode there is no problem to launch WINAPI::shellExecute in all methods. But when i do the same action in AOS mode WINAPI::shellExecute don't start. HAve you got any idea to solve this problems? Thanks.
Hi all. There is up to your attention the fine method to define opened windows in Axapta. You can use it in other purposes. static void CountAxaptaWindows(Args _args) { DLL user32; DLLFunction AxaptaVisibleWindows; HWND MdiClient, child; str windowText; boolean isVisible(int _ind) { return AxaptaVisibleWindows.call(_ind)?…
Hi, You can use WinAPI::ShellExecute() again. Like - static void IExplore(Args _args) { #winAPI ; winAPI::shellExecute('C:\\WINDOWS\\ServicePackFiles\\i386\\iexplore.exe','http://www.mibuso.com'); } Regards, Harish Mohanbabu
Select a folder than instead (use Winapi::browseForPath(infolog.hWnd()) Then use WinAPI again to go through the files: (use \Classes\WinAPI\findFirstFile) Also, there is an example here: http://axgeek.spaces.live.com/Blog/cns!57DF4F2EA9FADB13!150.entry Good luck!