Click here to Skip to main content
15,904,023 members
Home / Discussions / C#
   

C#

 
GeneralHelp with XML Pin
dotnetquery9-Jan-05 18:54
dotnetquery9-Jan-05 18:54 
GeneralClose a web page Pin
itssuk9-Jan-05 18:37
itssuk9-Jan-05 18:37 
GeneralRe: Close a web page Pin
sreejith ss nair9-Jan-05 22:00
sreejith ss nair9-Jan-05 22:00 
GeneralRe: Close a web page Pin
Stefan Troschuetz9-Jan-05 23:19
Stefan Troschuetz9-Jan-05 23:19 
QuestionC# in Real Time ? Pin
jinbabaj9-Jan-05 18:10
jinbabaj9-Jan-05 18:10 
AnswerRe: C# in Real Time ? Pin
sreejith ss nair9-Jan-05 21:50
sreejith ss nair9-Jan-05 21:50 
GeneralWeb service instance Pin
HahnTech9-Jan-05 17:51
HahnTech9-Jan-05 17:51 
GeneralRe: Web service instance Pin
Looney Tunezez10-Jan-05 4:38
Looney Tunezez10-Jan-05 4:38 
My understanding of your problem is this:
in the first event, you are creating a webservice object wsA, whose string variable you set to a particular value.
But then when you call the function GetString() its on an entirely new object of the webservice class.So technically you should get " " back as the result.

You need to use the same instance of the class to persist the value.
So instead of creating a new object of webservice class, call the GetString() on wsA instead of wsB.

HTH

Cheers!
<bold>Looney Tunezez

"If you build it....
.....BUGS will come!" -JB


Application.Run(new Form1(this.Dispose())); <--WHAT :wtf::confused::eek:


"Stability. What an interesting concept" - Chris Maunder
<bold>

GeneralRe: Web service instance Pin
HahnTech10-Jan-05 5:53
HahnTech10-Jan-05 5:53 
GeneralRe: Web service instance Pin
Allan Eagle10-Jan-05 10:31
Allan Eagle10-Jan-05 10:31 
GeneralRe: Web service instance Pin
S. Senthil Kumar10-Jan-05 11:26
S. Senthil Kumar10-Jan-05 11:26 
GeneralRaising an Event Pin
JMichael24689-Jan-05 13:14
JMichael24689-Jan-05 13:14 
GeneralRe: Raising an Event Pin
Andy Brummer9-Jan-05 16:13
sitebuilderAndy Brummer9-Jan-05 16:13 
GeneralRe: Raising an Event Pin
JMichael246810-Jan-05 6:23
JMichael246810-Jan-05 6:23 
GeneralMTP over IP in C# (Windows Media Player Sync Protocol) Pin
Daniel Kirstenpfad9-Jan-05 12:18
Daniel Kirstenpfad9-Jan-05 12:18 
GeneralDrawing windows Form over DirectD app Pin
jtmtv189-Jan-05 7:55
jtmtv189-Jan-05 7:55 
GeneralRe: Drawing windows Form over DirectD app Pin
exhaulted9-Jan-05 20:56
exhaulted9-Jan-05 20:56 
GeneralRe: Drawing windows Form over DirectD app Pin
jtmtv189-Jan-05 21:02
jtmtv189-Jan-05 21:02 
GeneralRe: Drawing windows Form over DirectD app Pin
exhaulted9-Jan-05 21:28
exhaulted9-Jan-05 21:28 
QuestionHow and where to place returncode for a form or dialog ? Pin
fracalifa9-Jan-05 6:17
fracalifa9-Jan-05 6:17 
AnswerRe: How and where to place returncode for a form or dialog ? Pin
DougW489-Jan-05 10:30
DougW489-Jan-05 10:30 
GeneralConstructors and inheritance. Pin
johanhertz9-Jan-05 5:43
johanhertz9-Jan-05 5:43 
GeneralRe: Constructors and inheritance. Pin
Robert Rohde9-Jan-05 6:11
Robert Rohde9-Jan-05 6:11 
GeneralRe: Constructors and inheritance. Pin
johanhertz15-Jan-05 1:42
johanhertz15-Jan-05 1:42 
GeneralTreeView Question (Folder Browser) Pin
QzRz8-Jan-05 23:44
QzRz8-Jan-05 23: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.