I have a customer that is using a Start Page for Rho and EB and they would like to have the ability to have one of the buttons on the start page to launch the RDP shortcut on VC70. They currently have two buttons. One that will launch the Wavelink TelnetCE client and one that will exit them out of the start page which prompts for password. Now they want to add a third button that will launch RDP. Has anyone done this on the start page to launch RDP with validations to make sure they are not opening more than one session?
Below is a snippet of code that they wrote for the Wavelink Telnet application. I'm assuming the same could be done for Remote Desktop (RDP);
//Start wavelink telnet (SAP)
//rho var wavelinkPath = gen.GetRegistrySetting(2, 'SOFTWARE\\Wavelink\\TelnetCE', 'FlashDir') + '\\TelnetCE.exe';
var wavelinkPath = EB.System.getRegistrySetting(2, 'SOFTWARE\\Wavelink\\TelnetCE', 'FlashDir') + '\\TelnetCE.exe';
var wavelinkCL = '';
//rho wavelinkID = gen.LaunchProcessNonBlocking(wavelinkPath, wavelinkCL);
wavelinkID = EB.System.runApplication(wavelinkPath, wavelinkCL, False);
//rho gen.InvokeMetaFunction('application', 'minimize');
if(gen.GetProcessExitCode(wavelinkID) == 0)
wavelinkID = -1;
//rho gen.InvokeMetaFunction('application', 'restore');
yes the code for RD would be the same.