Hi Wisej,
I am using WebBrowser showing htm file. It is not showing.
Thank you.
Hi Huỳnh,
Application.StartupPath simply returns the root file path of the app on the server (the client can’t load that file URL)., Something like:
C:\Users\MyUserName\MyProjects\WebBrowser\WebBrowser\ReadMe_001.htm
You need to load the url from the client’s perspective (include domain and relative path from the root)., ie.:
http://localhost/ReadMe_001.htm
Try Application.Url and Application.StartupUrl instead.
Let me know if you have any questions!
Best,
Levie
Please login first to submit.