Hi Cerebrus, thanks for your post.
I'll answer whitin.
On 31 Mar, 20:55, Cerebrus <[email protected]> wrote:
> I doubt if this is a "Webservice issue" per se. You haven't shown us
> the code or told us what the "attendi" function does with the
> reference to the WebBrowser, so I can only make a guess as to the
> possibilities -
Sorry, you are right, below is the code:
Private Sub attendi(ByRef f As WebBrowser)
While f.ReadyState <> WebBrowserReadyState.Complete
System.Windows.Forms.Application.DoEvents()
End While
End Sub
By this, I wait webbrowser as completed the loading of the webpage.
>
> It seems possible that the "attendi" function raises an unhandled
> exception which causes the value of b to be never set to 0. CUT
Maybe you are right.
> To be sure, why don't you debug the webservice app and find out where
> the code gets stuck and why?
The code is on a remote machine, how can I test it? On my local pc
code works good, but on remote machine protection is medium trust and
i don't know if link to external site are allowed. Unfortunately I
receive no errors
Any suggestion is welcome.