Click here to Skip to main content
15,917,645 members
Home / Discussions / C#
   

C#

 
QuestionImagelist to file or- enable adding an image to the list Pin
ArGiLa16-Sep-08 9:50
ArGiLa16-Sep-08 9:50 
QuestionHelp creating DataTable filter Pin
Richard Blythe16-Sep-08 8:37
Richard Blythe16-Sep-08 8:37 
AnswerRe: Help creating DataTable filter Pin
Steve Echols16-Sep-08 19:25
Steve Echols16-Sep-08 19:25 
QuestionProblem With Windows Forms In Full Screen Pin
Morrizle16-Sep-08 7:47
Morrizle16-Sep-08 7:47 
Questionhow can i change (app.config) configuration in runtime Pin
ahmedhassan9616-Sep-08 6:28
ahmedhassan9616-Sep-08 6:28 
AnswerRe: how can i change (app.config) configuration in runtime Pin
Giorgi Dalakishvili16-Sep-08 6:59
mentorGiorgi Dalakishvili16-Sep-08 6:59 
AnswerRe: how can i change (app.config) configuration in runtime Pin
Mark Salsbery16-Sep-08 8:41
Mark Salsbery16-Sep-08 8:41 
QuestionC# web service callback method called multiple times Pin
Chazzysb16-Sep-08 5:35
Chazzysb16-Sep-08 5:35 
Hi,

.Net 2 VS2005

I have a button that triggers a web service... something like...

ServiceMethods.Method1 += new Services.Method1CompletedEventHandler(Method1Completed);
ServiceMethods.Method1Async(<parameters>);

and the callback method gets called fine...

private void Method1Completed(object sender, Services.Method1CompletedEventArgs e)
{

}

The problem is that the first time the button is pressed which calls the web service the call back method is called once, the second time the button is pressed the callback method is called twice consecutavely, and the third time it is called 3 times and so on...

Has anyone seen this behaviour before - i only want the call back method to be called once.

Many thanks,
Chas
AnswerRe: C# web service callback method called multiple times Pin
Simon P Stevens16-Sep-08 5:42
Simon P Stevens16-Sep-08 5:42 
GeneralRe: C# web service callback method called multiple times Pin
Chazzysb16-Sep-08 5:53
Chazzysb16-Sep-08 5:53 
Question[Message Deleted] Pin
dataminers16-Sep-08 4:56
dataminers16-Sep-08 4:56 
RantRe: Persistent object and Transient object ? Pin
Guffa16-Sep-08 5:32
Guffa16-Sep-08 5:32 
GeneralRe: Persistent object and Transient object ? Pin
Pete O'Hanlon16-Sep-08 8:49
mvePete O'Hanlon16-Sep-08 8:49 
GeneralRe: Persistent object and Transient object ? Pin
Dave Kreskowiak16-Sep-08 8:59
mveDave Kreskowiak16-Sep-08 8:59 
JokeRe: Persistent object and Transient object ? Pin
Guffa16-Sep-08 9:37
Guffa16-Sep-08 9:37 
GeneralRe: Persistent object and Transient object ? Pin
Pete O'Hanlon16-Sep-08 9:44
mvePete O'Hanlon16-Sep-08 9:44 
GeneralRe: Persistent object and Transient object ? Pin
Muammar©16-Sep-08 13:37
Muammar©16-Sep-08 13:37 
Question{"Invalid object name 'Table."} Pin
postonoh16-Sep-08 4:50
postonoh16-Sep-08 4:50 
AnswerRe: {"Invalid object name 'Table."} Pin
Richard Blythe16-Sep-08 5:16
Richard Blythe16-Sep-08 5:16 
GeneralRe: {"Invalid object name 'Table."} Pin
postonoh16-Sep-08 6:14
postonoh16-Sep-08 6:14 
GeneralRe: {"Invalid object name 'Table."} Pin
Richard Blythe16-Sep-08 7:15
Richard Blythe16-Sep-08 7:15 
QuestionNot Opening SQL Database file in Web applications: Pin
nkmnkmnkmnkm16-Sep-08 4:49
nkmnkmnkmnkm16-Sep-08 4:49 
Questionextracting sustrings from a string and store it in an array Pin
wajans16-Sep-08 3:56
wajans16-Sep-08 3:56 
AnswerRe: extracting sustrings from a string and store it in an array Pin
Alan Balkany16-Sep-08 4:04
Alan Balkany16-Sep-08 4:04 
AnswerRe: extracting sustrings from a string and store it in an array Pin
DaveyM6916-Sep-08 4:13
professionalDaveyM6916-Sep-08 4:13 

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.