This is a multi-part message in MIME format.
Here is something to get you started. 

This app stops and restarts the Remedy Email Engine from a BlackBerry.
After you get this working on your computer you will likely want to
modify and enhance it to better suit your needs.  This is only a scaled
down version.

Environment:
Windows XP Pro
IIS 5.1 (comes with Windows XP Pro)
Visual Studio 2003


1. Start Visual Studio.
2. Create a new ASP.Net web application.
3. Add a reference to the latest ARS .Net API (BMC.ARSystem.dll).
4. Add two buttons to the form, one named btnStopEmailEngine and the
other named btnRestartEmailEngine.
5. Add one label to the form named lblStatus.
6. Paste in the text from the attached file (below the Web Form Designer
Generated Code section).
7. Set the constants at the top of the code to your server, user name,
password and authentication.
8. Optional: In IIS, add the name of your web page to the default
documents list (so you won't have to enter it on the BlackBerry).
9. Run it from within Visual Studio to test.

Once it works as expected in Visual Studio run it from your BlackBerry
using the BlackBerry Browser
(http://YourComputerName/YourApplicationName)


In the CreateActivityLoggingRecord function I am simply creating a new
record in a logging/command form to trigger a filter.  You will need to
change the form name and field Ids to match your form.  One filter is
used to stop the email engine, and another to restart the email engine.

In the filter to stop the email engine run this command: 
NET STOP "Remedy Email Engine"

In the filter to restart the email engine run these two commands:
NET STOP "Remedy Email Engine"
NET START "Remedy Email Engine"


Stephen
 

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Kirk Cassady
Sent: Friday, August 25, 2006 8:42 AM
To: [email protected]
Subject: Re: Attention Stephen Heider

I would also be interested in using my Blackberry to access Remedy this
way.
- Kirk

----- Original Message -----
From: Action Request System discussion list(ARSList)

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to