The text file was 4,200 bytes - must have been too large. 

This attachment is a Zip file. Rename it to .zip to open.
 

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

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

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
PK*Y5 
$e¸ÄStopRestartEmailEngine.txtíWQo›H~?©ÿa„NŠ‘(jâ^¯WéˆCKuaÜ{´0Œí½â%Ú]ûßwvÁ1`pHO}9uýÌ|;Ì|[EMAIL
 PROTECTED]<       —“‘K×;©pã·ßÔÂG—
¦~ðÕæ·ÞÄ×YS%_Áß`      Ü`²³Úrf”4_Õã¯p“uGß{Óé?wA#Gb,Pugy³ðÆ¿
Ç#/ßÝÖs)Kÿª™Ó|ŧ*{ð7K}¾b磔Åß—»¯Q
yRô§ìÌÝâ_Œ•Åc¬<ñ‘+O¬¤
7OR”-à®/ÊÐëŠmÀb"WGÕÖB¸»f+1¡Ø.ôš ›.Ò©ŠT.Ý·ª‘ ×x   
_2*jP™©³–SŸƒÓÖ`§,݆p¼^n0HöbÅ™ÚÑv´ß*À8ÉÀºYŒRÂ[Ð]Ó&(úd9ûw~i“η­Â™
0q­c?•ض(¦…'ô¾õûíÈ}Q›ˆ£HÅkÀ­&¿ñA±Œ¿<uܺjr´ª”¢¡
eN0ˆ†w›©ªIŒ¥¾³ÖìkÅ!Ö¥Ig¹ا‚¨¸¯Ç‹·¿¿ 
wj;@©"¡~š¼ñ)¼Uáe£~ªÈË=~Éüÿ/óëœÇº1%¿¹3…„˜·N¼ˆžÉþ±÷‘”OÄè¾ñ^®¨uŠÅ‘)²GV€Ëc›h¶Íq-ËRŒ*Ó9+Z*#裙›™TcT¹à’:›#°%È<Ö]æi5îõ,é1ïz>uŸ8ۉ¦mÌ\8ftÎóPœF»lÔùj÷3rä_Ÿgä½g’ƒHˆ3ÎÑÐË­CÝ3Í{•`µãRý>8¨ÔósÛ8˜™€ÁðÝ{ÛêÜ5”¿’
7׬MÉe1Ö¬¯³Æ½Mõ(äÃŰ³’ ûàO0ãÑ"E͹Ԑ5Ð,$Ô=“(•M;n7Ìgð6+k3ŒšCT^ý:zÆ×!{«¨œò}£rêVêÙ’…»|YÎ'W©õæ÷þ¿`õ󍓫ËT¼$‘0ÝЃ¦éÂ2žÖŒˆGDIYÜf©"vRВ
  tOø‰Öä5Ã4¡ææ”M{9Âáù&U=¿’ëŽ)[EMAIL PROTECTED]
³Ù˜«áÅà¶ëJמñZ?†>þùî¯ó̺L£øÛ%
±³~éý°@
råÙ臡Î
T™M½«µ¡àºy4°n®.>5hOg²J       ö«lîEô”ŽV•ñwPK*Y5 
$e¸Ä StopRestartEmailEngine.txtPKHð

Reply via email to