How to load local *.htm file to WPF WebBroswer with relative path [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Load local HTML file in a C# WebBrowser I´m creating program in C# (VS 2010), and I´d like to show help file. I created file help.htm. This file is included to solution in help directory. And I´d like this htm file load to webBroswer in Dialog. But there is a probelm, when I try to use relative path. HelpWindow helpwin = new HelpWindow(); //creating new window Uri helpUri = new Uri ("help\\pm_view.htm",UriKind