Click here to Skip to main content
15,914,642 members
Home / Discussions / WPF
   

WPF

 
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 
GeneralRe: check if windows service is stopped. Pin
RobCroll2-Mar-11 2:32
RobCroll2-Mar-11 2:32 
GeneralRe: check if windows service is stopped. Pin
Pete O'Hanlon2-Mar-11 3:55
mvePete O'Hanlon2-Mar-11 3:55 
QuestionIs Custom ValueConverter class ,inside wpf userControl codebehind Proper. Pin
o1010wanabe28-Feb-11 5:37
o1010wanabe28-Feb-11 5:37 
AnswerRe: Is Custom ValueConverter class ,inside wpf userControl codebehind Proper. Pin
_Maxxx_28-Feb-11 13:59
professional_Maxxx_28-Feb-11 13:59 
AnswerRe: Is Custom ValueConverter class ,inside wpf userControl codebehind Proper. Pin
Abhinav S28-Feb-11 18:05
Abhinav S28-Feb-11 18:05 

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.