The ZIP file contains the source code, but, it's missing the "1.html" file, the code I posted before should work as long as the HTML EXISTS on the device.
excuse me
this code is here :
This error is displayed when I compile the code with (( F5 or Ctrl+3 ))
but when I use (( Ctrl+2 )) to compile this code there isn't problem
Just to prove that the code I posted works, see the attached sample.
Note that if you want to use DirRootExternal, you have to copy the HTML to that location BEFORE you read it, the sample I attached just shows you how to read an HTML saved on the device and display it on a WebView.
If you comment the Do While True line and the Loop line, your code will work. I think the reason you are getting the 'Unreachable' statement is because when you issue the following command: FD.FilePath = InitialFilePath, it initially sets the chosen file name to a blank string, so the condition is never True.