- David Motty
- PowerServer
- Wednesday, 1 February 2023 06:04 PM UTC
Hello Appeon Community,
I have a question regarding an older PB client sever application that I am trying to convert to PowerServer 2022 could app. The existing Client Server app is actually 5 different EXEs that all access the same database (Oracle). The main EXE has the login screen, and the other 4 EXEs are modules that are opened by the main EXE by executing the the "Run" command, and passing in an encrypted argument that contains the username/password info... Not pretty, but this is a very old system that evolved from 5 different systems from what I have been told...
So my question is; 1) what would be the PowerServer equilivant of the following peice of code:
******************************************************
// Execute EXE with ls_CommandLine (the username/password) as Parameter.
// Added executale relative path
if Run( "..\mars_wr\mars_wr " + ls_commandline ) = -1 then
messagebox( f_languagetext( "Error","Erreur" ), f_languagetext( 'WR Cases module not found.', 'Module WR non trouvé.' ) )
end if
******************************************************
Basically, I am asking if there is a way to launch one cloud app from another one? In PB you always had the good'ole "Run" function that you could use to run exe's on the device.
What is the equivalent for PowerServer and these cloud apps?
Followup Question: 2) if there is an equivalent function to the Run command (and it is possible for one cloud app to open another) can this work with a local development deploy, or would it need to be fully deployed first?
Thanks in advance for your time,
David Motty.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.