HTML - Relative path of HTML does not find the files

0

I have a desktop application with a installer , so the file paths are dynamic , I use a webBrowser in the application to simulate a protocol with HTML, CSS and JS files to be lighter than generating via WinForms . The problem is that HTML is not able to reach the folder inside the solution containing the CSS and JS files, follow the example below:

ErrorsappearintheWebBrowserwhenitlosesthesefiles:

HTMLloadingintheWebBrowserisgivenbytheselinesinVb.Net

    
asked by anonymous 28.06.2018 / 15:18

1 answer

0

I solved the problem just by not writing the HTML in the WebBrowser document, and also dropping the files into a solution folder to be built together with the executable. But still path errors persist in HTML but overall this problem is solved! Thank you all.

    
29.06.2018 / 21:33