Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: Handling Click and DoubleClick events differently Pin
Atif Ali Bhatti20-May-08 19:50
Atif Ali Bhatti20-May-08 19:50 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE21-May-08 2:02
professionalDr.Walt Fair, PE21-May-08 2:02 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE21-May-08 17:27
professionalDr.Walt Fair, PE21-May-08 17:27 
GeneralRe: Handling Click and DoubleClick events differently Pin
Atif Ali Bhatti21-May-08 18:29
Atif Ali Bhatti21-May-08 18:29 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE22-May-08 13:44
professionalDr.Walt Fair, PE22-May-08 13:44 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE21-May-08 1:47
professionalDr.Walt Fair, PE21-May-08 1:47 
QuestionSMTPServer and ProcessStartInfo Pin
versamps20-May-08 15:18
versamps20-May-08 15:18 
AnswerRe: SMTPServer and ProcessStartInfo Pin
Peter Josefsson Sweden21-May-08 13:56
Peter Josefsson Sweden21-May-08 13:56 
I found a Swedish article with someone running into a similar problem. I don't know the exact wording of the message - he only wrote something about the code "not being able to access the CDO.Message object" (in Swedish), which may or may not boil down to the same message.

In any case - he solved the problem by recursively looking at the InnerException of the exception thrown and so on. Turned out to be a really simple mistake (missing e-mail address), but the original exception was a bit misleading.

Try do something like this:

try
{
    // whatever you want to try...
}
catch (Exception ex)
{
    Response.Write(ex.ToString()); // shows inner exceptions as well
    Response.End();
}


(note: written as if it were a web app, which your exe probably isn't. Response.Write won't do you any good then, of course - use whatever's appropriate)

Later,

--
Peter

QuestionError message- Expected class delegate,enum,interface or struct Pin
Angelinna20-May-08 14:07
Angelinna20-May-08 14:07 
AnswerRe: Error message- Expected class delegate,enum,interface or struct Pin
carbon_golem20-May-08 14:19
carbon_golem20-May-08 14:19 
AnswerRe: Error message- Expected class delegate,enum,interface or struct Pin
Guffa20-May-08 14:20
Guffa20-May-08 14:20 
AnswerRe: Error message- Expected class delegate,enum,interface or struct Pin
Gareth H20-May-08 14:26
Gareth H20-May-08 14:26 
AnswerDid nobody spot the obvious? Pin
Anthony Mushrow20-May-08 14:34
professionalAnthony Mushrow20-May-08 14:34 
GeneralRe: Did nobody spot the obvious? Pin
Angelinna20-May-08 14:55
Angelinna20-May-08 14:55 
GeneralRe: Did nobody spot the obvious? Pin
Anthony Mushrow20-May-08 15:10
professionalAnthony Mushrow20-May-08 15:10 
QuestionRe: Did nobody spot the obvious? [modified] Pin
Angelinna20-May-08 15:49
Angelinna20-May-08 15:49 
AnswerRe: Did nobody spot the obvious? Pin
Christian Graus20-May-08 18:00
protectorChristian Graus20-May-08 18:00 
AnswerRe: Error message- Expected class delegate,enum,interface or struct Pin
Nouman Bhatti20-May-08 21:46
Nouman Bhatti20-May-08 21:46 
AnswerRe: Error message- Expected class delegate,enum,interface or struct Pin
DaveyM6921-May-08 0:11
professionalDaveyM6921-May-08 0:11 
GeneralRe: Error message- Expected class delegate,enum,interface or struct Pin
Angelinna21-May-08 2:24
Angelinna21-May-08 2:24 
GeneralRe: Error message- Expected class delegate,enum,interface or struct Pin
DaveyM6921-May-08 3:22
professionalDaveyM6921-May-08 3:22 
QuestionHow Can My Program Take StartUp Arguments? Pin
That Asian Guy20-May-08 13:35
That Asian Guy20-May-08 13:35 
AnswerRe: How Can My Program Take StartUp Arguments? Pin
Gareth H20-May-08 13:52
Gareth H20-May-08 13:52 
GeneralRe: How Can My Program Take StartUp Arguments? Pin
That Asian Guy20-May-08 14:09
That Asian Guy20-May-08 14:09 
AnswerRe: How Can My Program Take StartUp Arguments? Pin
PIEBALDconsult20-May-08 14:46
mvePIEBALDconsult20-May-08 14:46 

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.