Why not have it even more simple ?!?!?!
If you use a commandbutton, you can set its property "PushAction" to "RunSystem" and the property "RunCommand" to "calc.exe". You will get the same result without having one line of code !
Wonderful programming in Navision, isn't it ? <img border="0" title="" alt="" src="images/smiles/icon_cool.gif" />
Comments
It is so simple, and it works.
Thank you very much.
Scott
Example of call the calculator:
- Add a command button
- Add this code on the trigger on push()
SHELL('CALC.EXE');
Stone
If you use a commandbutton, you can set its property "PushAction" to "RunSystem" and the property "RunCommand" to "calc.exe". You will get the same result without having one line of code !
Wonderful programming in Navision, isn't it ? <img border="0" title="" alt="" src="images/smiles/icon_cool.gif" />
May the source be with you