Add item in Menu

xcubeincxcubeinc Member Posts: 5
Hi,

Please help me on how to create a new link under the menu and call an external application after clicking the newly created menu.

thanks

Comments

  • matttraxmatttrax Member Posts: 2,309
    Are you talking about a MenuSuite or the old style Navision menus? i.e. what version are you using?
  • xcubeincxcubeinc Member Posts: 5
    Im refering to MenuSuite. Im using Nav 5.0.
  • xcubeincxcubeinc Member Posts: 5
    up
  • garakgarak Member Posts: 3,263
    a permanent Link or only a shortcut for some users?
    Do you make it right, it works too!
  • xcubeincxcubeinc Member Posts: 5
    Permanent link.
  • jolly_manjolly_man Member Posts: 12
    xcubeinc wrote:
    Hi,

    Please help me on how to create a new link under the menu and call an external application after clicking the newly created menu.

    thanks

    The answer is very easy.
    1. Create a new codeunit
    2. Put in the OnRun() trigger the following code:
    ReturnCode := SHELL(’cmd.exe’,'/c’,'c:\myprogram.exe’);
    3.Create a shortcut in the menu to the codeunit.
    4. Enjoy :)
    Have a nice day,
    Cosmin Poiana
    Microsoft Certified Business Management Solutions Professional


    do{
    repair_problem();
    optimize_code();
    }
    while (broken)
Sign In or Register to comment.