Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
QuestionIs Regex faster? Pin
error14085-Nov-07 5:24
error14085-Nov-07 5:24 
AnswerRe: Is Regex faster? Pin
Ilya Verbitskiy5-Nov-07 5:29
Ilya Verbitskiy5-Nov-07 5:29 
AnswerRe: Is Regex faster? Pin
Colin Angus Mackay5-Nov-07 5:30
Colin Angus Mackay5-Nov-07 5:30 
AnswerRe: Is Regex faster? Pin
DavidNohejl5-Nov-07 5:48
DavidNohejl5-Nov-07 5:48 
AnswerRe: Is Regex faster? Pin
Pete O'Hanlon5-Nov-07 9:28
mvePete O'Hanlon5-Nov-07 9:28 
GeneralRe: Is Regex faster? Pin
error14085-Nov-07 21:53
error14085-Nov-07 21:53 
GeneralRe: Is Regex faster? Pin
Pete O'Hanlon5-Nov-07 23:16
mvePete O'Hanlon5-Nov-07 23:16 
QuestionWeb Service Client / Using Non-Passed In Parameters Pin
Jeremy A. Cunningham ~ AltTech5-Nov-07 5:18
Jeremy A. Cunningham ~ AltTech5-Nov-07 5:18 
I am writing some code which calls a web service that i wrote. Works just fine when i pass in all of the parameters via the method call (names have been changed, duh):
public void SetOption(string A, string B, int C)<br />
{<br />
  this.Invoke("SetOption", new object[] { A, B, C });<br />
}


However, when i try to set "A" from within the method:
public void SetOption(string B, int C)<br />
{<br />
  string A = (from global source which has been verified to be active);<br />
  this.Invoke("SetOption", new object[] { A, B, C });<br />
}


This sends a null object to the web service, which gives it a headache. Frown | :(

Has anyone run in to this problem before? (when i simply switch it back to the passed in parameter, it works fine again)

-Jeremy A. Cunningham

AnswerRe: Web Service Client / Using Non-Passed In Parameters Pin
RedPhoenix.net5-Nov-07 6:31
RedPhoenix.net5-Nov-07 6:31 
GeneralRe: Web Service Client / Using Non-Passed In Parameters Pin
Jeremy A. Cunningham ~ AltTech5-Nov-07 6:40
Jeremy A. Cunningham ~ AltTech5-Nov-07 6:40 
AnswerRe: Web Service Client / Using Non-Passed In Parameters Pin
Ennis Ray Lynch, Jr.5-Nov-07 10:00
Ennis Ray Lynch, Jr.5-Nov-07 10:00 
GeneralRe: Web Service Client / Using Non-Passed In Parameters Pin
Jeremy A. Cunningham ~ AltTech6-Nov-07 4:47
Jeremy A. Cunningham ~ AltTech6-Nov-07 4:47 
GeneralRe: Web Service Client / Using Non-Passed In Parameters Pin
Ennis Ray Lynch, Jr.6-Nov-07 4:58
Ennis Ray Lynch, Jr.6-Nov-07 4:58 
GeneralRe: Web Service Client / Using Non-Passed In Parameters Pin
Jeremy A. Cunningham ~ AltTech8-Nov-07 1:58
Jeremy A. Cunningham ~ AltTech8-Nov-07 1:58 
GeneralRe: Web Service Client / Using Non-Passed In Parameters Pin
Ennis Ray Lynch, Jr.8-Nov-07 3:15
Ennis Ray Lynch, Jr.8-Nov-07 3:15 
QuestionN-Grandparent-Parent-Child Algorithm Pin
VarChar2555-Nov-07 5:08
VarChar2555-Nov-07 5:08 
AnswerRe: N-Grandparent-Parent-Child Algorithm Pin
Paddy Boyd5-Nov-07 5:21
Paddy Boyd5-Nov-07 5:21 
AnswerRe: N-Grandparent-Parent-Child Algorithm Pin
led mike5-Nov-07 5:21
led mike5-Nov-07 5:21 
AnswerRe: N-Grandparent-Parent-Child Algorithm Pin
Pete O'Hanlon5-Nov-07 9:24
mvePete O'Hanlon5-Nov-07 9:24 
GeneralRe: N-Grandparent-Parent-Child Algorithm Pin
VarChar2555-Nov-07 5:42
VarChar2555-Nov-07 5:42 
GeneralRe: N-Grandparent-Parent-Child Algorithm Pin
J4amieC5-Nov-07 5:56
J4amieC5-Nov-07 5:56 
GeneralRe: N-Grandparent-Parent-Child Algorithm Pin
VarChar2555-Nov-07 6:25
VarChar2555-Nov-07 6:25 
QuestionCompare Static variable and Session variable Pin
P.Murugs5-Nov-07 5:07
P.Murugs5-Nov-07 5:07 
AnswerRe: Compare Static variable and Session variable Pin
led mike5-Nov-07 5:19
led mike5-Nov-07 5:19 
GeneralRe: Compare Static variable and Session variable Pin
P.Murugs5-Nov-07 5:46
P.Murugs5-Nov-07 5: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.