Click here to Skip to main content
15,892,290 members
Home / Discussions / WPF
   

WPF

 
QuestionWPF : What event will be triggered after window_loaded Pin
DavJes2-Mar-11 0:02
DavJes2-Mar-11 0:02 
AnswerRe: WPF : What event will be triggered after window_loaded Pin
parama_chakra3-Mar-11 20:34
parama_chakra3-Mar-11 20:34 
AnswerRe: WPF : What event will be triggered after window_loaded Pin
SledgeHammer014-Mar-11 8:39
SledgeHammer014-Mar-11 8:39 
QuestionLoad picture from resource file XAML Pin
Mc_Topaz1-Mar-11 21:40
Mc_Topaz1-Mar-11 21:40 
AnswerRe: Load picture from resource file XAML Pin
Pete O'Hanlon1-Mar-11 22:19
mvePete O'Hanlon1-Mar-11 22:19 
GeneralRe: Load picture from resource file XAML Pin
Mc_Topaz1-Mar-11 22:36
Mc_Topaz1-Mar-11 22:36 
AnswerRe: Load picture from resource file XAML Pin
Tarun.K.S2-Mar-11 2:51
Tarun.K.S2-Mar-11 2:51 
Questioncheck if windows service is stopped. Pin
arkiboys28-Feb-11 21:16
arkiboys28-Feb-11 21:16 
In one of the pages of the silverlight 4 application, I access the windows service to check for some data...
All works fine so far.
If the windows service has been stopped, I get an error when the code tries to access it.
I am using try catch but it seems the code gives error and does not go to the catch block if the windows service is stopped.

Question:
How can I check if the windows service is stopped so that then I do not have to call the method inside the windows service? I think this way, I will not get any errors?
Thanks
AnswerRe: check if windows service is stopped. Pin
Vimalsoft(Pty) Ltd28-Feb-11 21:34
professionalVimalsoft(Pty) Ltd28-Feb-11 21:34 
GeneralRe: check if windows service is stopped. Pin
arkiboys28-Feb-11 21:47
arkiboys28-Feb-11 21:47 
AnswerRe: check if windows service is stopped. Pin
RobCroll28-Feb-11 21:36
RobCroll28-Feb-11 21:36 
GeneralRe: check if windows service is stopped. Pin
arkiboys28-Feb-11 21:50
arkiboys28-Feb-11 21:50 
GeneralRe: check if windows service is stopped. Pin
Pete O'Hanlon28-Feb-11 23:10
mvePete O'Hanlon28-Feb-11 23:10 
GeneralRe: check if windows service is stopped. Pin
arkiboys1-Mar-11 0:15
arkiboys1-Mar-11 0:15 
GeneralRe: check if windows service is stopped. Pin
Pete O'Hanlon1-Mar-11 0:18
mvePete O'Hanlon1-Mar-11 0:18 
GeneralRe: check if windows service is stopped. Pin
arkiboys1-Mar-11 1:10
arkiboys1-Mar-11 1:10 
GeneralRe: check if windows service is stopped. Pin
Pete O'Hanlon1-Mar-11 1:19
mvePete O'Hanlon1-Mar-11 1:19 
GeneralRe: check if windows service is stopped. Pin
arkiboys1-Mar-11 1:59
arkiboys1-Mar-11 1:59 
GeneralRe: check if windows service is stopped. Pin
Pete O'Hanlon1-Mar-11 2:51
mvePete O'Hanlon1-Mar-11 2:51 
GeneralRe: check if windows service is stopped. Pin
arkiboys1-Mar-11 3:09
arkiboys1-Mar-11 3:09 
GeneralRe: check if windows service is stopped. Pin
Pete O'Hanlon1-Mar-11 3:28
mvePete O'Hanlon1-Mar-11 3:28 
GeneralRe: check if windows service is stopped. Pin
arkiboys1-Mar-11 6:15
arkiboys1-Mar-11 6:15 
GeneralRe: check if windows service is stopped. Pin
RobCroll1-Mar-11 13:25
RobCroll1-Mar-11 13:25 
GeneralRe: check if windows service is stopped. Pin
Mycroft Holmes1-Mar-11 19:53
professionalMycroft Holmes1-Mar-11 19:53 
GeneralRe: check if windows service is stopped. Pin
Pete O'Hanlon1-Mar-11 22:21
mvePete O'Hanlon1-Mar-11 22:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.