Click here to Skip to main content
15,893,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: Print by windows CE device Pin
Christian Graus28-Nov-09 7:42
protectorChristian Graus28-Nov-09 7:42 
GeneralRe: Print by windows CE device Pin
Sajjad Izadi28-Nov-09 7:45
Sajjad Izadi28-Nov-09 7:45 
QuestionPrinting a datagridview... Pin
JollyMansArt28-Nov-09 7:05
JollyMansArt28-Nov-09 7:05 
QuestionRe: Printing a datagridview... Please help Pin
JollyMansArt28-Nov-09 10:03
JollyMansArt28-Nov-09 10:03 
QuestionGetting Report from dataBase and showing it in Word. Pin
Said Ali Jalali28-Nov-09 6:18
Said Ali Jalali28-Nov-09 6:18 
AnswerRe: Getting Report from dataBase and showing it in Word. Pin
dan!sh 28-Nov-09 6:31
professional dan!sh 28-Nov-09 6:31 
AnswerRe: Getting Report from dataBase and showing it in Word. Pin
minnie mouse1-Dec-09 12:50
minnie mouse1-Dec-09 12:50 
QuestionWCF catching EndPointNotFoundException Pin
Ryan Minor28-Nov-09 6:00
Ryan Minor28-Nov-09 6:00 
I am trying to connect a client to server using WCF.

The following code works when the server code is loaded (named pipe, same machine).

m_app is initialized as follows:

const string address = @"net.pipe://localhost/Pipe";
EndpointAddress ep = new EndpointAddress(address);
m_app = ChannelFactory<iservicecontract>.CreateChannel(new NetNamedPipeBinding(), ep);

I am trying to catch the exception EndPointNotFoundException. The catch block below initially used EndPointNotFoundException but didn't work so I tried CommunicationException.

I want to catch the situation where the server is not present.

What am I missing?

try
{
LoginResult result = m_app.DoLogin(username, password);
return result;
}

catch (CommunicationException e)
{
}
AnswerRe: WCF catching EndPointNotFoundException Pin
Ravi Bhavnani28-Nov-09 7:51
professionalRavi Bhavnani28-Nov-09 7:51 
QuestionHow to decide whether a class is "internal" by .net reflection ? Pin
yoyota28-Nov-09 4:26
yoyota28-Nov-09 4:26 
AnswerCross Post Pin
dan!sh 28-Nov-09 5:50
professional dan!sh 28-Nov-09 5:50 
AnswerRe: How to decide whether a class is "internal" by .net reflection ? Pin
yoyota28-Nov-09 13:55
yoyota28-Nov-09 13:55 
QuestionHow to represent an image, voice & vedio trafic after we capture it from the app. layer at TCP ??? Pin
3bood.ghzawi28-Nov-09 4:20
3bood.ghzawi28-Nov-09 4:20 
AnswerRe: How to represent an image, voice & vedio trafic after we capture it from the app. layer at TCP ??? Pin
Christian Graus28-Nov-09 5:28
protectorChristian Graus28-Nov-09 5:28 
QuestionEditable data grid view? Pin
Emmet_Brown28-Nov-09 4:05
Emmet_Brown28-Nov-09 4:05 
AnswerRe: Editable data grid view? Pin
JollyMansArt28-Nov-09 8:51
JollyMansArt28-Nov-09 8:51 
GeneralRe: Editable data grid view? Pin
Emmet_Brown29-Nov-09 0:28
Emmet_Brown29-Nov-09 0:28 
QuestionReflected Assembly -&gt; Class Instance should have no Access to the System (Sandbox) Pin
softwarejaeger27-Nov-09 23:43
softwarejaeger27-Nov-09 23:43 
AnswerRe: Reflected Assembly -&gt; Class Instance should have no Access to the System (Sandbox) Pin
0x3c028-Nov-09 0:57
0x3c028-Nov-09 0:57 
AnswerRe: Reflected Assembly -&gt; Class Instance should have no Access to the System (Sandbox) Pin
PIEBALDconsult28-Nov-09 4:55
mvePIEBALDconsult28-Nov-09 4:55 
QuestionCryatal report error Pin
sachees12327-Nov-09 23:38
sachees12327-Nov-09 23:38 
AnswerRe: Cryatal report error Pin
Saksida Bojan28-Nov-09 0:17
Saksida Bojan28-Nov-09 0:17 
GeneralRe: Cryatal report error Pin
sachees12328-Nov-09 1:02
sachees12328-Nov-09 1:02 
GeneralRe: Cryatal report error Pin
c0ax_lx28-Nov-09 2:38
c0ax_lx28-Nov-09 2:38 
QuestionRetrieve the control's name Pin
Islorvat27-Nov-09 23:23
Islorvat27-Nov-09 23:23 

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.