Hi,
When I execute from Navision 4.00
OK:=SHELL(MyApplication,Param1,Param2);
Navision waits 'till MyApplication ends and that's ok for me.
Otherwise, when I execute from Navision 4.00
OK:="Windows Script Host Object".WshShell.Run(myApplicationwithParameters)
I don't have the same behaviour because, during MyApplication execution, I'm able to use Navision... it doesn't seem to wait for MyApplication to end and I don't want this. :-k
Thanks in advance
Comments
Arhontis
https://forum.mibuso.com/search
I've just tried with the third parameter and Navision seems to wait, but I'm able to Navigate though the Navigation Pane at the same time.
I try to explain better:
I call My External Function from a menuitem, and the code in the "OnPush" Event just works fine: Navision waits My Application to end before execute next statement.
But meanwhile, I'm free to choose new forms from, for example, the Navigation pane.
This does'n happen with Navision Shell.
Thank you
I didn't find a method yet to block Navision while he is waiting for the Shell.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!