Re: 'Blocking = True' doesn't block user - WeOnlyDo Discussion board

Re: 'Blocking = True' doesn't block user (General questions)

by wodDrazen, Monday, January 30, 2006, 00:50 (6671 days ago) @ Paco

Hi Paco,

Here is example how you can disable all form until server returns some result:

Set wodHttp1 = New wodHttpDLXCom
wodHttp1.Blocking = True
wodHttp1.HostName = www.weonlydo.com
Form1.Enabled = False
wodHttp1.Get /
Debug.Print wodHttp1.Response.Body
Form1.Enabled = True

I used debug mode for this example.In example form is disabled until Debug.Print command is executed.
You can try in your code something like this.

Hope i helped.

Regards,
Drazen



Complete thread: