This seems really dumb. I\'ve tried a bunch of different ways and it\'s just not working. I have a WinForms app with a WebBrowser control. If I try with a raw html file on m
This is because of security reasons. You need a webserver to do that, else you can access any file on a system which would be a big security hole.
In developement mode, you can set e.g on chrome:
chrome.exe --allow-file-access-from-files
And you will be able to run your code.