I am using the following code to open a webpage
", "", bytePostData1, strHeaders)
because the page doesnt load in time to be used later on in the code i use the following code to wait until the page has finished loading
Do Until WebBrowser1.DocumentText <> ""
However for some reason this loop seems to go on forever (i.e. the page never finishes loading) unless i put a message box contatining the document text in the loop (i dont wnat to do this on the live program).
i ahve also tried putting application.doevents() in the lop but that doesnt work either.
Does anyone have any ideas?