Re: Queue of Threads




Jordi Rico wrote:
> Hi
> What I want to do is for using with a PDA, but I think it's a VB.NET
> related question, so I ask it here.
> It's simple, an user is working with the pda, and from while to while,
> has to send data to a server via webservice.
> As the process to the webservice can take many seconds, and the user
> has to continue working, I thought to send the process in a diferent
> thread, and warn the user when it has finished.

It would probably be easier to use the built-in asynchronous way of
calling webservices - this handles the necessary background threading
for you. There's a topic in the help titled "Accessing an XML Web
Service Asynchronously in Managed Code" which should take you through
how to do this.

--
Larry Lard
Replies to group please

.



Relevant Pages

  • Re: .net cf & webservices
    ... a webservice on the PDA it should have the same session id? ... the webservice instance is the same all thats ... > instance of Internet explorer from your start menu ie. Internet explorer ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: what happen if the url for webservice is wrong
    ... Subsequent requests are fast. ... > i am currently writing a small program in the pda. ... The problem if the url for the webservice is ... like if i let pda search ...
    (microsoft.public.dotnet.framework.compactframework)
  • Queue of Threads
    ... What I want to do is for using with a PDA, but I think it's a VB.NET ... related question, ... As the process to the webservice can take many seconds, ... don't let execute the next thread until the previous has finished. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: .net cf & webservices
    ... > pda. ... Everytime you call your webservice from the PDA, ... instance of Internet explorer from your start menu ie. Internet explorer ... will not get the same session as the other window. ...
    (microsoft.public.dotnet.framework.compactframework)
  • CF and webservice interaction question.
    ... I have written a C# form that will run on my PDA. ... communicating with my webservice running on a Windows 2000 server. ... The webservice needs to validate the user, then launch ... Ever since I removed anonymous access from IIS, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)

Loading