Hello to every one,
I am writing a simple web browser on c# 2008 express edition using WPF. It is working fine with www websites and display all content correctly. But if I want to open some local webpage - for instance "file://C:1/1.htm", it is save the webpage instead of displaying it. Im using windows7 x64. I made my application default programm for *.htm files, but it didn`t help.
I will really appreciate any help.
Kind regards,
Pavel
Loading
hitesh maniyaPosted Mar 31, 2010, 12:25 AM
Sam HobbsPosted Mar 1, 2010, 7:40 PM
How do you try to open the page? Do you have a text box that you take the text from to use as the URL or do you have some other control? What function do you pass the URL to to open the page?
Pavel LajusPosted Mar 1, 2010, 3:27 PM
The browser application acts exactly if I need to download file.So, instead of opening 1.htm, it is suggest me to "open" or "save" this on my hard drive. If i choose to open it, file is opening in Chrome. I also tried to make my application default program to open *.htm file, but it is doesn`t help. This time it is want to find appropriate application in the web.
Sam HobbsPosted Mar 1, 2010, 3:05 PM