I’m starting to play with creating Web apps so this might not be done the same as a Desktop app.

I create a webpage and added a few controls. I also created an HTTPSocket object. I instantiate a new copy of the HTTPSocket in a button on my Webpage.

In the HTTPSocket ReceiveProgress event, I have a reference to a TextField from the Webpage (Webpage1.Textfield1.Text) to set the text that is received from the HTTPSocket request. This same code works perfectly fine in a Desktop app but throws a NilObjectException whenever I try to access a control on the Webpage from the HTTPSocket object.