Is there a way to start an RDP connection from NAV2017?

StievenStieven Member Posts: 10
We want to start an RDP conection from NAV 2017. But we have no idea, if it is possible or what is the best way to do it.

Best Answers

Answers

  • StievenStieven Member Posts: 10
    So I can set this code under a page action and when I call the action the RDP will start?
  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    try it
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • StievenStieven Member Posts: 10
    edited 2018-06-20
    I want to create the local variable Process but when I want to select the dotnet assembly the typelist is empty.
    e26xq282vq6b.png

  • StievenStieven Member Posts: 10
    edited 2018-06-20
    I found a solution, I now start in the system assembly enselect then the right type in the type list.
    Selecting the full path of the assembly directly doesn't work for me.
  • StievenStieven Member Posts: 10
    edited 2018-06-20
    I tried your solution but the program crashes when I tried it. It looked like the program was in an infite loop. I tried to debug the code but when I jumped to the second line of code the debugger crashes.
  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    edited 2018-06-20
    Read the Process class documentation, learn what parameters do, play with them to get desired results. I am using this code to start various (command line) executables and scripts from NAV, it works for me.
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • StievenStieven Member Posts: 10
    edited 2018-06-20
    Do you call this code from a page action? Beceause we tried this code but we can not get it to work.
    It crashes on the first line of the code Process :=Process.Process .
Sign In or Register to comment.