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.RelativeOrAbsolute); //setting path
helpwin.webBrowser.Navigate(helpUri); //navigating webBroswer
After that, i get error: Relative URIs are not allowed. Parameter name: source
There is my C# solution schema in picture:
Please can anyone help?!
Thanks a lot!