Has anyone worked in .Net to control another application process? I wonder if an application or service could be written that detects the closing of the Remedy User Tool, intercepts and prompts the user. If user does not want to exit then force the User Tool to cancel the App Exit. The trapping of the event would have to occur before the User Tool begins closing all its open forms.
I have worked with VB/VB.Net for years but have not tried to cross application boundaries, especially when you don't have the source code or access to the inner workings of the other application (in this case the User Tool). Before spending a lot of time on this, is this even possible? Stephen -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Heider, Stephen Sent: Monday, May 15, 2006 1:36 PM To: [email protected] Subject: Re: Get Confirmation on Application Exit It seems to me that the option to prompt for exiting an application should be a checkbox on the Tools->Options->Confirmation tab, by user. Sounds like a RFE. An even better solution would be to for BMC to enhance ARS to allow for Application-level Active Links. Instead of attaching an AL to a form you would attach it to the Remedy User Tool. Events such as Exit App and successful login could be detected and acted upon via workflow. The Exit App event to address this thread; and the Successful Login event to log the last login for the user. *The current workaround for the Successful Login event is to trap the Window Open event on your main control form. I have not tried using OLE for this. I will take a look at it. Thanks. Stephen -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black Sent: Monday, May 15, 2006 12:22 PM To: [email protected] Subject: Re: Get Confirmation on Application Exit Stephen, Since your question is specific to the User tool..... I have often wondered if an active link could use OLE to open a "Hidden form" and workflow on that hidden form could be used during "Window Close" logic to trap the User Tool closing. (Not that this would work on the Mid-tier, but it is a thought for your specific question.) -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. Never ascribe to malice, that which can be explained by incompetence. On 5/15/06, Heider, Stephen <[EMAIL PROTECTED]> wrote: > Is it possible to prompt the user for confirmation when they are > exiting the Remedy User Tool? > > At times when users think they are closing a ticket window (click X in > upper right corner of window) they are instead closing the application. > They then have to log back in to Remedy. After researching, here is > what I have tried so far: > > When the main control form is closing I send an event to all windows > with the string "AppClosing". An active link (that runs on this > event) pops up a confirmation window I created. When the user selects > No and the pop-up window returns the value to the main control window, > the next AL pops up a message of type Error letting them know that the > application will not close. However, the form still closes. > > As a variation, instead of displaying an error message I run Open > Window to reopen the main control form. This time when I select No > the Remedy application closes and another confirmation window (the one > I created) is displayed. Selecting Yes or No only causes the > confirmation window to close. *This is somewhat unexpected since the > Remedy User Tool is closed yet a window that only runs within the > Remedy User Tool is still active. > > ARS 6.3 p5 > User Tool 6.3 p16 > Windows XP SP2 w/all patches > > Thanks. > > Stephen > > ______________________________________________________________________ > _________ UNSUBSCRIBE or access ARSlist Archives at > http://www.wwrug.org > ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

