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

file://localhost/c:/Program%20Files/

Thats what my browser opened if I pointed it to a local path, did you try "file://localhost/c:/Program%20Files/" ?

Thanks for reply, Ravenheart.

Basically it is not make any sense. I tried this way also. i copied the address to chrome\firefox\iexplorer, and it is still not working.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.