Problem with WebView1.LoadUrl and DirInternal

cbanks

Active Member
Licensed User
Longtime User
Why won't the page with the following code load into the WebView without bringing up an error that it can't find the file? I've verified that indeed that file exists in that location. The error has to do with no such file or directory and web page not available. I've tried taking out one of the slashes after file: and I've tried just removing file:/// altogether. No luck.

WebView1.LoadUrl("file:///" & File.DirInternal & "/bk/index.html")
 
Last edited:
Top