I'm fairly new at programming, so bear with me ;-)
I sometimes have a problem reading an internet page using the NMHTTP component. I use the following code fragment to read a page and output it to a text file:
link = "http://www.cnn.com
MyList = new TStringList;
MyList -> SaveToFile("test.txt");
This works most of the times. However, sometimes the program kind of "hangs". The cpu uses 100% but the page is not loaded. The page is accessible though when I use a normal web browser. So my question is if there is a way to check that the nmhttp component succesfully connects and loads the page or else have it retry the connection or...?