Click here to Skip to main content
15,906,097 members
Home / Discussions / C#
   

C#

 
AnswerRe: XmlReader problem when XML has non foreign special characters [modified] Pin
eggie55-Aug-06 21:02
eggie55-Aug-06 21:02 
QuestionTo Add a User to Windows programtically Pin
Deepa N3-Aug-06 20:48
Deepa N3-Aug-06 20:48 
AnswerRe: To Add a User to Windows programtically Pin
Shajeel3-Aug-06 21:10
Shajeel3-Aug-06 21:10 
QuestionoledBconnection error Pin
skyeddie3-Aug-06 19:27
skyeddie3-Aug-06 19:27 
AnswerRe: oledBconnection error Pin
Expert Coming3-Aug-06 19:47
Expert Coming3-Aug-06 19:47 
GeneralRe: oledBconnection error Pin
skyeddie3-Aug-06 20:01
skyeddie3-Aug-06 20:01 
GeneralRe: oledBconnection error Pin
Expert Coming3-Aug-06 20:30
Expert Coming3-Aug-06 20:30 
Questionhi Pin
santhoshalakshmi3-Aug-06 18:42
santhoshalakshmi3-Aug-06 18:42 
AnswerRe: hi Pin
Expert Coming3-Aug-06 19:07
Expert Coming3-Aug-06 19:07 
QuestionMethod Returns Twice Pin
Expert Coming3-Aug-06 18:18
Expert Coming3-Aug-06 18:18 
AnswerRe: Method Returns Twice Pin
Guffa3-Aug-06 19:02
Guffa3-Aug-06 19:02 
GeneralRe: Method Returns Twice Pin
Expert Coming3-Aug-06 19:06
Expert Coming3-Aug-06 19:06 
GeneralRe: Method Returns Twice Pin
Daniel Turini3-Aug-06 20:21
Daniel Turini3-Aug-06 20:21 
AnswerRe: Method Returns Twice Pin
Guffa5-Aug-06 13:36
Guffa5-Aug-06 13:36 
QuestionRe: Method Returns Twice Pin
Shajeel3-Aug-06 20:20
Shajeel3-Aug-06 20:20 
AnswerRe: Method Returns Twice Pin
Expert Coming3-Aug-06 20:27
Expert Coming3-Aug-06 20:27 
GeneralRe: Method Returns Twice Pin
Shajeel3-Aug-06 20:38
Shajeel3-Aug-06 20:38 
GeneralRe: Method Returns Twice [modified] Pin
lmoelleb3-Aug-06 20:44
lmoelleb3-Aug-06 20:44 
AnswerRe: Method Returns Twice Pin
Christian Graus3-Aug-06 20:52
protectorChristian Graus3-Aug-06 20:52 
ExpertComing wrote:
foreach(Match m in matches)
{
szInformation = (szWhatFor + ": " + m.Groups["mmatch"]);
}


Why would you step through all the matches and not accumulate their contents ? Why not just ask for the last one in the group, it's the only one you're going to get.

You need to post the calling code. This code cannot return twice, no code can. You must be calling it twice. However, I do note that your return value is not created within the call, perhaps it's being a member variable is somehow contributing to the problem.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Method Returns Twice Pin
Expert Coming3-Aug-06 21:31
Expert Coming3-Aug-06 21:31 
GeneralRe: Method Returns Twice Pin
Guffa5-Aug-06 13:45
Guffa5-Aug-06 13:45 
AnswerRe: Method Returns Twice Pin
leppie3-Aug-06 21:30
leppie3-Aug-06 21:30 
QuestionProblem including C++ code in C# assembly Pin
OrcBighter23-Aug-06 15:49
OrcBighter23-Aug-06 15:49 
AnswerRe: Problem including C++ code in C# assembly Pin
Christian Graus3-Aug-06 16:31
protectorChristian Graus3-Aug-06 16:31 
QuestionCreate Combo Box In ListView in Pocket PC App. Pin
kakarato3-Aug-06 15:44
kakarato3-Aug-06 15:44 

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.