I want to close Navision automatically, so I use the following sentences in a form:
CREATE(wscript);
wscript.SendKeys('%{F4}');
This executes ALT+F4 and close the aplication.
This is running ok, but the problem is the use of SendKeys. If the user it’s running another one aplication, the system close this aplication but not Navision.
How can I avoid this? I want to close Navision.
Thanks in advance
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.