RMA - External Programs not visible

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
daseymour
Posts: 9
Joined: Fri Feb 17, 2006 10:36 am

RMA - External Programs not visible

Post by daseymour »

I have recently been attempting to execute an external program visibly via RMA. I have tried the "by External program" test as well as the "Execute External program" action. Either way, the same problem occurs. Anytime the RMA launches an external program, it runs in the background and is not displayed on the desktop. I tried installing RMA as a service with "Interact with Desktop" checked, as well as running RMA locally (not as a service)... neither worked. Using "C:\WINNT\NOTEPAD.EXE" as a test program, I can see notepad running in the Task Manager; however, it never appears on the desktop. BTW, I also made sure that I was using the SW_SHOWNORMAL window mode. Please help!

OS with RMA: Windows 2000 Server SP4
HM Version: 5.82 eval
RMA Version: 3.20 eval

Thanks,
- Derek
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Anytime the RMA launches an external program, it runs in the background and is not displayed on the desktop
That's correct behavior, RMA always uses SW_HIDE flag for launched applications

Regards
Alex
daseymour
Posts: 9
Joined: Fri Feb 17, 2006 10:36 am

RE:

Post by daseymour »

KS-Soft wrote:That's correct behavior, RMA always uses SW_HIDE flag for launched applications
Is there a way to get around this?

Also, is this behavior documented somewhere?

Thanks,
- Derek
daseymour
Posts: 9
Joined: Fri Feb 17, 2006 10:36 am

RE:

Post by daseymour »

Just figured out how to get around this... at least on Windows. Instead of running the program directly, I created a batch file with the following:

Code: Select all

start C:\WINNT\NOTEPAD.EXE
This opens Notepad on the local desktop. I can also use the "start" command's parameters to launch the program minimized, maximized, etc.

However, I still think that the SW_HIDE behavior needs to be documented somewhere (maybe it is???)


Thanks,
- Derek
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, you may use "start" command.
RMA uses SW_HIDE because we do not see any sense to start visible applications on remote systems. If that is workstation system, user will be surprised by popup applications. If that is autonomous server, application will be invisible anyway (no active desktop).
However, I still think that the SW_HIDE behavior needs to be documented somewhere (maybe it is???)
Not sure, we will check that

Regards
Alex
Post Reply